Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2018 03:12:23 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475344 - in head/astro: . py-pysofa
Message-ID:  <201807260312.w6Q3CNfB008086@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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/



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