blob: b22df3b8a921d8e1dc3a79acaa6da4aa6a150826 (
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
|
PORTNAME= ephem
PORTVERSION= 4.2
PORTREVISION= 1
CATEGORIES= astro math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Compute positions of the planets and stars
WWW= https://pypi.org/project/ephem/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= autoplist distutils
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ephem/_libastro${PYTHON_TAG}.so
do-test:
# WARNING: Testing via this command is deprecated and will be
# removed in a future version. Users looking for a generic test
# entry point independent of test runner are encouraged to use tox.
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
|