| @@ -1,25 +1,26 @@ | | | @@ -1,25 +1,26 @@ |
1 | # $NetBSD: Makefile,v 1.3 2020/04/06 09:14:03 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2020/05/16 09:10:42 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= distro-1.5.0 | | 3 | DISTNAME= distro-1.5.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= devel python | | 5 | CATEGORIES= devel python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/distro/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/distro/} |
7 | | | 7 | |
8 | MAINTAINER= root@zta.lk | | 8 | MAINTAINER= root@zta.lk |
9 | HOMEPAGE= https://github.com/nir0s/distro | | 9 | HOMEPAGE= https://github.com/nir0s/distro |
10 | COMMENT= OS platform information API | | 10 | COMMENT= OS platform information API |
11 | LICENSE= apache-2.0 | | 11 | LICENSE= apache-2.0 |
12 | | | 12 | |
13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | | 13 | PYTHON_VERSIONED_DEPENDENCIES= test:test |
14 | | | 14 | |
15 | USE_LANGUAGES= # none | | 15 | USE_LANGUAGES= # none |
16 | | | 16 | |
17 | post-install: | | 17 | post-install: |
18 | cd ${DESTDIR}${PREFIX}/bin && \ | | 18 | cd ${DESTDIR}${PREFIX}/bin && \ |
19 | ${MV} distro distro-${PYVERSSUFFIX} || ${TRUE} | | 19 | ${MV} distro distro-${PYVERSSUFFIX} || ${TRUE} |
20 | | | 20 | |
21 | do-test: | | 21 | do-test: |
22 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX} | | 22 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} |
23 | | | 23 | |
24 | .include "../../lang/python/egg.mk" | | 24 | .include "../../lang/python/egg.mk" |
| | | 25 | .include "../../lang/python/versioned_dependencies.mk" |
25 | .include "../../mk/bsd.pkg.mk" | | 26 | .include "../../mk/bsd.pkg.mk" |