pkgsrc/devel/py-entrypoints/Makefile

27 lines
726 B
Makefile
Raw Normal View History

# $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"