diff options
Diffstat (limited to 'astro/py-jplephem/Makefile')
-rw-r--r-- | astro/py-jplephem/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/astro/py-jplephem/Makefile b/astro/py-jplephem/Makefile new file mode 100644 index 000000000000..9382f89480cd --- /dev/null +++ b/astro/py-jplephem/Makefile @@ -0,0 +1,32 @@ +# Created by: thierry@pompo.net +# $FreeBSD$ + +PORTNAME= jplephem +PORTVERSION= 2.15 +DISTVERSIONPREFIX= v +CATEGORIES= astro python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Python version of NASA DE4xx ephemerides + +LICENSE= MIT + +BUILD_DEPENDS= ${NUMPY} +RUN_DEPENDS= ${NUMPY} +TEST_DEPENDS= bash:shells/bash \ + ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2@${PY_FLAVOR} + +USE_GITHUB= yes +GH_ACCOUNT= brandon-rhodes +GH_PROJECT= python-jplephem + +USES= python:3.7+ shebangfix +USE_PYTHON= distutils +SHEBANG_FILES= test.sh bin/doctest.sh bin/parse_zzidmap.sh bin/benchmark.py +NO_ARCH= yes + +do-test: install + (cd ${WRKSRC} && ./test.sh) + +.include <bsd.port.mk> |