Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2021 00:42:55 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 757fbeb1a668 - main - astro/py-pyerfa: New port
Message-ID:  <202110290042.19T0gt3j049121@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=757fbeb1a668ab6b9adb63514afd46be484af5e7

commit 757fbeb1a668ab6b9adb63514afd46be484af5e7
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2021-10-29 00:42:21 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2021-10-29 00:42:21 +0000

    astro/py-pyerfa: New port
    
    PyERFA is the Python wrapper for the ERFA library (Essential Routines for
    Fundamental Astronomy), a C library containing key algorithms for astronomy,
    which is based on the SOFA library published by the International Astronomical
    Union (IAU). All C routines are wrapped as Numpy universal functions, so
    that they can be called with scalar or array inputs.
    
    WWW: https://github.com/liberfa/pyerfa
---
 astro/Makefile            |  1 +
 astro/py-pyerfa/Makefile  | 22 ++++++++++++++++++++++
 astro/py-pyerfa/distinfo  |  3 +++
 astro/py-pyerfa/pkg-descr |  7 +++++++
 4 files changed, 33 insertions(+)

diff --git a/astro/Makefile b/astro/Makefile
index 3ff584319b84..4c814ac5ce37 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -89,6 +89,7 @@
     SUBDIR += py-kosmorrolib
     SUBDIR += py-metar
     SUBDIR += py-metpy
+    SUBDIR += py-pyerfa
     SUBDIR += py-pykep
     SUBDIR += py-pymeeus
     SUBDIR += py-pymetar
diff --git a/astro/py-pyerfa/Makefile b/astro/py-pyerfa/Makefile
new file mode 100644
index 000000000000..24fe4b943006
--- /dev/null
+++ b/astro/py-pyerfa/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	pyerfa
+DISTVERSION=	2.0.0
+CATEGORIES=	astro
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	Python wrapper for the ERFA library
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.rst
+
+BUILD_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYNUMPY}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/astro/py-pyerfa/distinfo b/astro/py-pyerfa/distinfo
new file mode 100644
index 000000000000..606dce41abcc
--- /dev/null
+++ b/astro/py-pyerfa/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635385118
+SHA256 (pyerfa-2.0.0.tar.gz) = f904231e1a570f94440e06140799590895107f942847b52a753ce81c9609162d
+SIZE (pyerfa-2.0.0.tar.gz) = 808283
diff --git a/astro/py-pyerfa/pkg-descr b/astro/py-pyerfa/pkg-descr
new file mode 100644
index 000000000000..e27adb7cd297
--- /dev/null
+++ b/astro/py-pyerfa/pkg-descr
@@ -0,0 +1,7 @@
+PyERFA is the Python wrapper for the ERFA library (Essential Routines for
+Fundamental Astronomy), a C library containing key algorithms for astronomy,
+which is based on the SOFA library published by the International Astronomical
+Union (IAU). All C routines are wrapped as Numpy universal functions, so
+that they can be called with scalar or array inputs.
+
+WWW: https://github.com/liberfa/pyerfa



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110290042.19T0gt3j049121>