diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2021-02-27 18:26:39 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2021-02-27 18:26:39 +0000 |
commit | 0385ff5febb381c31267c9a57dfd8478b9600b78 (patch) | |
tree | 44f91702d978dcb36c7a6b43231110df0e4d0862 /astro/py-jplephem/Makefile | |
parent | 36e9ddcbb356aa265bd1452d723f31b90ca7834b (diff) | |
download | ports-0385ff5febb381c31267c9a57dfd8478b9600b78.tar.gz ports-0385ff5febb381c31267c9a57dfd8478b9600b78.zip |
Adding jplephem, Python version of NASA DE4xx ephemerides.
Notes
Notes:
svn path=/head/; revision=566725
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> |