summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2020-12-19 14:26:57 +0000
committermef <mef@pkgsrc.org>2020-12-19 14:26:57 +0000
commitf691c955b855d42adf82bde928db17ac8b9d8b4e (patch)
treed03fa1669c9f8ddc48e80d318e51827c0c3d7585 /math
parent95f7d5d8ab231ca3b620db573dac413b058bcdfd (diff)
downloadpkgsrc-f691c955b855d42adf82bde928db17ac8b9d8b4e.tar.gz
(math/py-pyerfa) import py38-pyerfa-1.7.1.1
Based on PR pkg/55867 by Daisuke Kinoshita: PyERFA is a Python wrapper for ERFA (Essential Routines for Fundamental Astronomy) library.
Diffstat (limited to 'math')
-rw-r--r--math/py-pyerfa/DESCR2
-rw-r--r--math/py-pyerfa/Makefile30
-rw-r--r--math/py-pyerfa/PLIST32
-rw-r--r--math/py-pyerfa/distinfo6
4 files changed, 70 insertions, 0 deletions
diff --git a/math/py-pyerfa/DESCR b/math/py-pyerfa/DESCR
new file mode 100644
index 00000000000..0af91ff0bef
--- /dev/null
+++ b/math/py-pyerfa/DESCR
@@ -0,0 +1,2 @@
+PyERFA is a Python wrapper for ERFA (Essential Routines for Fundamental
+Astronomy) library.
diff --git a/math/py-pyerfa/Makefile b/math/py-pyerfa/Makefile
new file mode 100644
index 00000000000..b1f4fae931c
--- /dev/null
+++ b/math/py-pyerfa/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2020/12/19 14:26:57 mef Exp $
+
+DISTNAME= pyerfa-1.7.1.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= math python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyerfa/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/liberfa/pyerfa/
+COMMENT= Python wrapper for ERFA library
+LICENSE= modified-bsd
+
+MAKE_ENV+= PYERFA_USE_SYSTEM_LIBERFA=1
+
+USE_LIBTOOL= yes
+USE_LANGUAGES= c
+
+PYTHON_VERSIONS_INCOMPATIBLE+= 27
+PYTHON_VERSIONS_INCOMPATIBLE+= 36
+
+DEPENDS+= ${PYPKGPREFIX}-numpy>=1.17.0:../../math/py-numpy
+DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.10.3:../../textproc/py-jinja2
+DEPENDS+= ${PYPKGPREFIX}-packaging>=20.4:../../devel/py-packaging
+DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=4.1.2:../../devel/py-setuptools_scm
+DEPENDS+= erfa>=1.7.1:../../math/erfa
+
+.include "../../lang/python/egg.mk"
+.include "../../math/py-numpy/buildlink3.mk"
+.include "../../math/erfa/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-pyerfa/PLIST b/math/py-pyerfa/PLIST
new file mode 100644
index 00000000000..c0f1da17244
--- /dev/null
+++ b/math/py-pyerfa/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/19 14:26:57 mef Exp $
+${PYSITELIB}/erfa/__init__.py
+${PYSITELIB}/erfa/__init__.pyc
+${PYSITELIB}/erfa/__init__.pyo
+${PYSITELIB}/erfa/_version.py
+${PYSITELIB}/erfa/_version.pyc
+${PYSITELIB}/erfa/_version.pyo
+${PYSITELIB}/erfa/core.py
+${PYSITELIB}/erfa/core.pyc
+${PYSITELIB}/erfa/core.pyo
+${PYSITELIB}/erfa/helpers.py
+${PYSITELIB}/erfa/helpers.pyc
+${PYSITELIB}/erfa/helpers.pyo
+${PYSITELIB}/erfa/tests/__init__.py
+${PYSITELIB}/erfa/tests/__init__.pyc
+${PYSITELIB}/erfa/tests/__init__.pyo
+${PYSITELIB}/erfa/tests/helper.py
+${PYSITELIB}/erfa/tests/helper.pyc
+${PYSITELIB}/erfa/tests/helper.pyo
+${PYSITELIB}/erfa/tests/test_erfa.py
+${PYSITELIB}/erfa/tests/test_erfa.pyc
+${PYSITELIB}/erfa/tests/test_erfa.pyo
+${PYSITELIB}/erfa/ufunc.so
+${PYSITELIB}/erfa/version.py
+${PYSITELIB}/erfa/version.pyc
+${PYSITELIB}/erfa/version.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/math/py-pyerfa/distinfo b/math/py-pyerfa/distinfo
new file mode 100644
index 00000000000..edea86010a5
--- /dev/null
+++ b/math/py-pyerfa/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/19 14:26:57 mef Exp $
+
+SHA1 (pyerfa-1.7.1.1.tar.gz) = 6395a58c8a3ce2c521e2ab1fdc0ea55655fe466b
+RMD160 (pyerfa-1.7.1.1.tar.gz) = 51d7dd200ea2b59832d9b65b8102e1ab60ac0904
+SHA512 (pyerfa-1.7.1.1.tar.gz) = 59c2dceed6ef5b1ece618742dd0084b729cce8eb52f903dff2aad009fa0f495defb4511688da0a5203ed5900d041a552fbe50668ddac0c3a6bb3fd6d34d089bb
+Size (pyerfa-1.7.1.1.tar.gz) = 1322843 bytes