summaryrefslogtreecommitdiff
path: root/astro/py-pymeeus/Makefile
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2019-12-15 08:24:50 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2019-12-15 08:24:50 +0000
commitfadfd4aba2c8b8edf49dce4e6fa9979dd9691b56 (patch)
tree43a740d8e9b80750f619079229ce4e3f60353b00 /astro/py-pymeeus/Makefile
parent- Pin to python 3.6 (diff)
[NEW PORT] astro/py-pymeeus: Python implementation of Jean Meeus astronomical routines
PyMeeus is a Python implementation of the astronomical algorithms described in the classical book "Astronomical Algorithms, 2nd Edition, Willmann-Bell Inc. (1998)" by Jean Meeus. WWW: https://github.com/architest/pymeeus MFH: 2019Q3 (required to fix broken py-convertdate)
Notes
Notes: svn path=/head/; revision=520157
Diffstat (limited to 'astro/py-pymeeus/Makefile')
-rw-r--r--astro/py-pymeeus/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/astro/py-pymeeus/Makefile b/astro/py-pymeeus/Makefile
new file mode 100644
index 000000000000..0001e0177e86
--- /dev/null
+++ b/astro/py-pymeeus/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= pymeeus
+PORTVERSION= 0.3.6
+CATEGORIES= astro science python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= PyMeeus-${DISTVERSION}
+
+MAINTAINER= koobs@FreeBSD.org
+COMMENT= Python implementation of Jean Meeus astronomical routines
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
+
+.include <bsd.port.mk>