mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
31 lines
669 B
Makefile
31 lines
669 B
Makefile
# Created by: thierry@pompo.net
|
|
|
|
PORTNAME= jplephem
|
|
PORTVERSION= 2.16
|
|
CATEGORIES= astro python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= Python version of NASA DE4xx ephemerides
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
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>
|