pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

I would like to add new package "py-pyerfa" to pkgsrc-wip.



Module Name:	pkgsrc-wip
Committed By:	Kinoshita Daisuke <kinoshita%astro.ncu.edu.tw@localhost>
Pushed By:	daisuke
Date:		Sun Dec 13 16:34:58 2020 +0800
Changeset:	e7bf792e072aebb04677a12fd942f1a3ba41d58a

Added Files:
	py-pyerfa/DESCR
	py-pyerfa/Makefile
	py-pyerfa/PLIST
	py-pyerfa/distinfo

Log Message:
I would like to add new package "py-pyerfa" to pkgsrc-wip.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e7bf792e072aebb04677a12fd942f1a3ba41d58a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pyerfa/DESCR    |  2 ++
 py-pyerfa/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++
 py-pyerfa/PLIST    | 32 ++++++++++++++++++++++++++++++++
 py-pyerfa/distinfo |  6 ++++++
 4 files changed, 80 insertions(+)

diffs:
diff --git a/py-pyerfa/DESCR b/py-pyerfa/DESCR
new file mode 100644
index 0000000000..0af91ff0be
--- /dev/null
+++ b/py-pyerfa/DESCR
@@ -0,0 +1,2 @@
+PyERFA is a Python wrapper for ERFA (Essential Routines for Fundamental
+Astronomy) library.
diff --git a/py-pyerfa/Makefile b/py-pyerfa/Makefile
new file mode 100644
index 0000000000..e425c853dd
--- /dev/null
+++ b/py-pyerfa/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD$
+
+DISTNAME=	pyerfa-1.7.1.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	math
+MASTER_SITES=	${MASTER_SITE_GITHUB:=liberfa/}
+GITHUB_PROJECT=	pyerfa
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	kinoshita%astro.ncu.edu.tw@localhost
+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+=	git>=2:../../devel/git
+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:../../wip/erfa
+
+pre-configure:
+	set -e; cd ${WRKSRC}; \
+	git init; \
+	cd liberfa; \
+	git config --global http.sslVerify false; \
+	git clone https://github.com/liberfa/erfa.git;
+
+.include "../../lang/python/egg.mk"
+.include "../../math/py-numpy/buildlink3.mk"
+.include "../../math/erfa/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pyerfa/PLIST b/py-pyerfa/PLIST
new file mode 100644
index 0000000000..b44fb8709e
--- /dev/null
+++ b/py-pyerfa/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD$
+${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}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/PKG-INFO
+${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
+${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
+${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/not-zip-safe
+${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/requires.txt
+${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/top_level.txt
diff --git a/py-pyerfa/distinfo b/py-pyerfa/distinfo
new file mode 100644
index 0000000000..162fca03e2
--- /dev/null
+++ b/py-pyerfa/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (pyerfa-1.7.1.1.tar.gz) = 035624ca20f45265642d82a9cd819ae35efadbeb
+RMD160 (pyerfa-1.7.1.1.tar.gz) = 4eadf73d29cc60615ee647fc6f87ad4c61220828
+SHA512 (pyerfa-1.7.1.1.tar.gz) = 720d5c9810cf1d04bcd674be6efdaed9838acd5356286294e5192e63625176d5efabd1498170a7217ba62cb727ec9e381a45b9ff4bcc76abdc7a9328ca3d6424
+Size (pyerfa-1.7.1.1.tar.gz) = 46212 bytes


Home | Main Index | Thread Index | Old Index