mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
New port: astro/py-pysofa: Python binding for SOFA, the fundamental astronomy library
This commit is contained in:
parent
7c7f0b8241
commit
82a23f7884
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475344
@ -90,6 +90,7 @@
|
||||
SUBDIR += py-metar
|
||||
SUBDIR += py-metpy
|
||||
SUBDIR += py-pymetar
|
||||
SUBDIR += py-pysofa
|
||||
SUBDIR += py-pywapi
|
||||
SUBDIR += py-spacetrack
|
||||
SUBDIR += pyephem
|
||||
|
26
astro/py-pysofa/Makefile
Normal file
26
astro/py-pysofa/Makefile
Normal file
@ -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>
|
3
astro/py-pysofa/distinfo
Normal file
3
astro/py-pysofa/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1532573338
|
||||
SHA256 (pysofa-0.1.1.tar.gz) = 3bc309f5a43f44bd6d543ede054657dca9335b4e12726db0e929eb7f863a8f63
|
||||
SIZE (pysofa-0.1.1.tar.gz) = 44550
|
6
astro/py-pysofa/pkg-descr
Normal file
6
astro/py-pysofa/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user