blob: 88e8b01c7dd283ff5d11e6a77a93c4b6ba4bf312 (
plain) (
blame)
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
|
# 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>
|