summaryrefslogtreecommitdiff
path: root/astro/py-pysolar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/py-pysolar/Makefile')
-rw-r--r--astro/py-pysolar/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/astro/py-pysolar/Makefile b/astro/py-pysolar/Makefile
new file mode 100644
index 000000000000..e69454ea562b
--- /dev/null
+++ b/astro/py-pysolar/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= pysolar
+DISTVERSION= 0.13
+CATEGORIES= astro science python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Simulate solar irradiation at any point on Earth
+WWW= https://pysolar.org/ \
+ https://github.com/pingswept/pysolar
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= ${PYNUMPY}
+
+USES= python
+USE_PYTHON= distutils autoplist pytest
+
+NO_ARCH= yes
+
+# tests as of 0.13: 84 passed, 343 warnings, 1 error in 14.47s
+
+.include <bsd.port.mk>