36 lines
1.3 KiB
Makefile
36 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2016/06/08 17:43:34 wiz Exp $
|
|
|
|
DISTNAME= ephem-3.7.5.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/}
|
|
CATEGORIES= geography math
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=e/ephem/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pypi.python.org/pypi/ephem/
|
|
COMMENT= Scientific-grade astronomical computations for Python
|
|
LICENSE= gnu-lgpl-v3 OR gnu-gpl-v3
|
|
|
|
do-test:
|
|
(cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${TEST_ENV} ${MAKE_ENV} \
|
|
${PYTHONBIN} ${PYSETUP} ${PYSETUPARGS} "test")
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
REPLACE_PYTHON+= src/ephem/tests/test_angles.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_bodies.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_cities.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_constants.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_dates.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_jpl.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_launchpad_236872.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_launchpad_244811.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_locales.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_observers.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_rst.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_stars.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_usno.py
|
|
REPLACE_PYTHON+= src/ephem/tests/test_usno_equinoxes.py
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|