pkgsrc/devel/py-entrypoints/Makefile
adam ae99a032f8 py-entrypoints: updated to 0.3
0.3:
Unknown changes
2019-01-22 10:48:14 +00:00

26 lines
726 B
Makefile

# $NetBSD: Makefile,v 1.3 2019/01/22 10:48:14 adam Exp $
DISTNAME= entrypoints-0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=e/entrypoints/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/takluyver/entrypoints
COMMENT= Discover and load entry points from installed packages
LICENSE= mit
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-configparser>=3.5:../../devel/py-configparser
.endif
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"