svn commit: r475344 - in head/astro: . py-pysofa
Yuri Victorovich
yuri at FreeBSD.org
Thu Jul 26 03:12:25 UTC 2018
Author: yuri
Date: Thu Jul 26 03:12:23 2018
New Revision: 475344
URL: https://svnweb.freebsd.org/changeset/ports/475344
Log:
New port: astro/py-pysofa: Python binding for SOFA, the fundamental astronomy library
Added:
head/astro/py-pysofa/
head/astro/py-pysofa/Makefile (contents, props changed)
head/astro/py-pysofa/distinfo (contents, props changed)
head/astro/py-pysofa/pkg-descr (contents, props changed)
Modified:
head/astro/Makefile
Modified: head/astro/Makefile
==============================================================================
--- head/astro/Makefile Thu Jul 26 02:40:15 2018 (r475343)
+++ head/astro/Makefile Thu Jul 26 03:12:23 2018 (r475344)
@@ -90,6 +90,7 @@
SUBDIR += py-metar
SUBDIR += py-metpy
SUBDIR += py-pymetar
+ SUBDIR += py-pysofa
SUBDIR += py-pywapi
SUBDIR += py-spacetrack
SUBDIR += pyephem
Added: head/astro/py-pysofa/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/astro/py-pysofa/Makefile Thu Jul 26 03:12:23 2018 (r475344)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= pysofa
+DISTVERSION= 0.1.1
+CATEGORIES= astro devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Python binding for SOFA, the fundamental astronomy library
+
+LICENSE= PD
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= ${LOCALBASE}/lib/libsofa_c.so:astro/sofa \
+ ${PYNUMPY}
+
+USES= python
+NO_ARCH= yes
+USE_PYTHON= distutils autoplist
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|find_library('sofa_c')|\"${LOCALBASE}/lib/libsofa_c.so\"|" \
+ ${WRKSRC}/pysofa/pysofa_ctypes.py
+
+.include <bsd.port.mk>
Added: head/astro/py-pysofa/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/astro/py-pysofa/distinfo Thu Jul 26 03:12:23 2018 (r475344)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1532573338
+SHA256 (pysofa-0.1.1.tar.gz) = 3bc309f5a43f44bd6d543ede054657dca9335b4e12726db0e929eb7f863a8f63
+SIZE (pysofa-0.1.1.tar.gz) = 44550
Added: head/astro/py-pysofa/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/astro/py-pysofa/pkg-descr Thu Jul 26 03:12:23 2018 (r475344)
@@ -0,0 +1,6 @@
+pysofa is a Python module for accessing International Astronomical Union's SOFA
+library from python. SOFA (Standards of Fundamental Astronomy) is a set of
+algorithms and procedures that implement standard models used in fundamental
+astronomy.
+
+WWW: https://code.google.com/archive/p/pysofa/
More information about the svn-ports-all
mailing list