pkgsrc/devel/py-curtsies/Makefile
adam e6e03ddda9 py-curtsies: updated to 0.3.5
0.3.5:
Drop supported for Python 2, 3.4 and 3.5.
Migrate to pytest.
Add new exmples.
Improve error messages.
Replace wcwidth with cwcwidth
2021-03-20 15:12:22 +00:00

27 lines
859 B
Makefile

# $NetBSD: Makefile,v 1.7 2021/03/20 15:12:22 adam Exp $
DISTNAME= curtsies-0.3.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/curtsies/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/bpython/curtsies
COMMENT= Curses-like terminal wrapper, with colored strings
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-blessings>=1.5:../../devel/py-blessings
DEPENDS+= ${PYPKGPREFIX}-cwcwidth-[0-9]*:../../devel/py-cwcwidth
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
TEST_DEPENDS+= ${PYPKGPREFIX}-pyte-[0-9]*:../../devel/py-pyte
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC}/tests && ${PYTHONBIN} -m unittest discover -v
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"