blob: 3d8992ab6ac71a46d4c85694f3b06adffa5588ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.13 2016/07/09 13:03:55 wiz Exp $
DISTNAME= pyephem-3.7.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/}
CATEGORIES= geography math
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyephem/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rhodesmill.org/brandon/projects/pyephem.html
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= 34 35
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_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"
|