| @@ -1,17 +1,21 @@ | | | @@ -1,17 +1,21 @@ |
1 | # $NetBSD: Makefile,v 1.15 2017/09/26 17:32:26 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.16 2018/01/11 14:31:20 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= pyephem-3.7.6.0 | | 3 | DISTNAME= ephem-3.7.6.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/} | | 4 | PKGREVISION= 1 |
| | | 5 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= math geography python | | 6 | CATEGORIES= math geography python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyephem/} | | 7 | MASTER_SITES= ${MASTER_SITE_PYPI:=e/ephem/} |
7 | | | 8 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.rhodesmill.org/brandon/projects/pyephem.html | | 10 | HOMEPAGE= http://rhodesmill.org/pyephem/ |
10 | COMMENT= Scientific-grade astronomical computations for Python | | 11 | COMMENT= Scientific-grade astronomical computations for Python |
11 | LICENSE= gnu-lgpl-v3 OR gnu-gpl-v3 | | 12 | LICENSE= gnu-lgpl-v3 OR gnu-gpl-v3 |
12 | | | 13 | |
13 | REPLACE_PYTHON+= ephem/tests/test_*.py | | 14 | REPLACE_PYTHON+= ephem/tests/test_*.py |
14 | | | 15 | |
| | | 16 | do-test: |
| | | 17 | cd ${WRKSRC}/ephem && ${PYTHONBIN} -m unittest discover |
| | | 18 | |
15 | .include "../../lang/python/application.mk" | | 19 | .include "../../lang/python/application.mk" |
16 | .include "../../lang/python/distutils.mk" | | 20 | .include "../../lang/python/distutils.mk" |
17 | .include "../../mk/bsd.pkg.mk" | | 21 | .include "../../mk/bsd.pkg.mk" |