| @@ -1,27 +1,28 @@ | | | @@ -1,27 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.4 2020/05/16 17:13:40 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2022/01/01 16:19:25 ryoon Exp $ |
2 | | | 2 | |
3 | DISTNAME= entrypoints-0.3 | | 3 | DISTNAME= entrypoints-0.3 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= devel python | | 6 | CATEGORIES= devel python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=e/entrypoints/} | | 7 | MASTER_SITES= ${MASTER_SITE_PYPI:=e/entrypoints/} |
7 | | | 8 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/takluyver/entrypoints | | 10 | HOMEPAGE= https://github.com/takluyver/entrypoints |
10 | COMMENT= Discover and load entry points from installed packages | | 11 | COMMENT= Discover and load entry points from installed packages |
11 | LICENSE= mit | | 12 | LICENSE= mit |
12 | | | 13 | |
13 | PYTHON_VERSIONED_DEPENDENCIES= test:test | | 14 | PYTHON_VERSIONED_DEPENDENCIES= test:test |
14 | | | 15 | |
15 | .include "../../lang/python/pyversion.mk" | | 16 | .include "../../lang/python/pyversion.mk" |
16 | .if ${_PYTHON_VERSION} == 27 | | 17 | .if ${_PYTHON_VERSION} == 27 |
17 | DEPENDS+= ${PYPKGPREFIX}-configparser>=3.5:../../devel/py-configparser | | 18 | DEPENDS+= ${PYPKGPREFIX}-configparser>=3.5:../../devel/py-configparser |
18 | .endif | | 19 | .endif |
19 | | | 20 | |
20 | USE_LANGUAGES= # none | | 21 | USE_LANGUAGES= # none |
21 | | | 22 | |
22 | do-test: | | 23 | do-test: |
23 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests | | 24 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests |
24 | | | 25 | |
25 | .include "../../lang/python/distutils.mk" | | 26 | .include "../../lang/python/egg.mk" |
26 | .include "../../lang/python/versioned_dependencies.mk" | | 27 | .include "../../lang/python/versioned_dependencies.mk" |
27 | .include "../../mk/bsd.pkg.mk" | | 28 | .include "../../mk/bsd.pkg.mk" |