svn commit: r566726 - in head/astro: . py-spktype01 py-spktype21

Thierry Thomas thierry at FreeBSD.org
Sat Feb 27 18:27:28 UTC 2021


Author: thierry
Date: Sat Feb 27 18:27:26 2021
New Revision: 566726
URL: https://svnweb.freebsd.org/changeset/ports/566726

Log:
  Adding spktype01 and spktype21, two supporting modules for jplephem to handle data type 1 and 21.

Added:
  head/astro/py-spktype01/
  head/astro/py-spktype01/Makefile   (contents, props changed)
  head/astro/py-spktype01/distinfo   (contents, props changed)
  head/astro/py-spktype01/pkg-descr   (contents, props changed)
  head/astro/py-spktype21/
  head/astro/py-spktype21/Makefile   (contents, props changed)
  head/astro/py-spktype21/distinfo   (contents, props changed)
  head/astro/py-spktype21/pkg-descr   (contents, props changed)
Modified:
  head/astro/Makefile

Modified: head/astro/Makefile
==============================================================================
--- head/astro/Makefile	Sat Feb 27 18:26:39 2021	(r566725)
+++ head/astro/Makefile	Sat Feb 27 18:27:26 2021	(r566726)
@@ -93,6 +93,8 @@
     SUBDIR += py-ro
     SUBDIR += py-sgp4
     SUBDIR += py-spacetrack
+    SUBDIR += py-spktype01
+    SUBDIR += py-spktype21
     SUBDIR += pyweather
     SUBDIR += qmapshack
     SUBDIR += readosm

Added: head/astro/py-spktype01/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-spktype01/Makefile	Sat Feb 27 18:27:26 2021	(r566726)
@@ -0,0 +1,33 @@
+# Created by: thierry at pompo.net
+# $FreeBSD$
+
+PORTNAME=	spktype01
+PORTVERSION=	1.0.0
+CATEGORIES=	astro python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	thierry at FreeBSD.org
+COMMENT=	Supporting module for jplephem to handle data type 1
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${NUMPY}
+RUN_DEPENDS=	${NUMPY}	\
+		${PYTHON_PKGNAMEPREFIX}jplephem>0:astro/py-jplephem@${PY_FLAVOR}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	whiskie14142
+GH_TAGNAME=	964cc70
+
+USES=		python:3.7+
+USE_PYTHON=	distutils
+
+WRKSRC_SUBDIR=	package/${PORTNAME}
+TEST_WRKSRC=	${WRKSRC}/../../test
+NO_ARCH=	yes
+
+PLIST_FILES=	${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/__pycache__/spktype01.cpython-${PYTHON_SUFFIX}.opt-1.pyc \
+		${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/__pycache__/spktype01.cpython-${PYTHON_SUFFIX}.pyc \
+		${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/spktype01.py
+
+.include <bsd.port.mk>

Added: head/astro/py-spktype01/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-spktype01/distinfo	Sat Feb 27 18:27:26 2021	(r566726)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1613725418
+SHA256 (whiskie14142-spktype01-1.0.0-964cc70_GH0.tar.gz) = 4ca5ad6e18be4bd6558c33cda3685d9fb135c3a25de2a32ccfd67755c4972c8a
+SIZE (whiskie14142-spktype01-1.0.0-964cc70_GH0.tar.gz) = 2401389

Added: head/astro/py-spktype01/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-spktype01/pkg-descr	Sat Feb 27 18:27:26 2021	(r566726)
@@ -0,0 +1,15 @@
+This module computes positions and velocities of a celestial small body, from a
+NASA SPICE SPK ephemeris kernel file of data type 1 (Modified Difference
+Arrays).
+See http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/FORTRAN/req/spk.html
+
+You can get SPK files for many solar system small bodies from HORIZONS system of
+NASA/JPL.
+See https://ssd.jpl.nasa.gov/?horizons
+
+This module reads SPK files of data type 1, one of the types of binary SPK file.
+At the point of Oct. 2018, HORIZONS system provides files of type 21 as binary
+SPK files by default. You can get type 1 binary SPK file for celestial small
+bodies through TELNET interface by answering back '1' for 'SPK file format'.
+
+WWW: https://github.com/whiskie14142/spktype01

Added: head/astro/py-spktype21/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-spktype21/Makefile	Sat Feb 27 18:27:26 2021	(r566726)
@@ -0,0 +1,35 @@
+# Created by: thierry at pompo.net
+# $FreeBSD$
+
+PORTNAME=	spktype21
+PORTVERSION=	0.1.0
+CATEGORIES=	astro python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	thierry at FreeBSD.org
+COMMENT=	Supporting module for jplephem to handle data type 21
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${NUMPY}
+RUN_DEPENDS=	${NUMPY}	\
+		${PYTHON_PKGNAMEPREFIX}jplephem>0:astro/py-jplephem@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}spktype01>0:astro/py-spktype01@${PY_FLAVOR} \
+		py.test:devel/py-pytest@${PY_FLAVOR}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	whiskie14142
+GH_TAGNAME=	7ed2236
+
+USES=		python:3.7+
+USE_PYTHON=	distutils
+
+WRKSRC_SUBDIR=	package/${PORTNAME}
+TEST_WRKSRC=	${WRKSRC}/../../test
+NO_ARCH=	yes
+
+PLIST_FILES=	${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/__pycache__/spktype21.cpython-${PYTHON_SUFFIX}.opt-1.pyc \
+		${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/__pycache__/spktype21.cpython-${PYTHON_SUFFIX}.pyc \
+		${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/spktype21.py
+
+.include <bsd.port.mk>

Added: head/astro/py-spktype21/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-spktype21/distinfo	Sat Feb 27 18:27:26 2021	(r566726)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1613682458
+SHA256 (whiskie14142-spktype21-0.1.0-7ed2236_GH0.tar.gz) = 100dc47a9902ab2313bf9bb670f504866ba2824fb424398c01ddfca600bba077
+SIZE (whiskie14142-spktype21-0.1.0-7ed2236_GH0.tar.gz) = 2801513

Added: head/astro/py-spktype21/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-spktype21/pkg-descr	Sat Feb 27 18:27:26 2021	(r566726)
@@ -0,0 +1,17 @@
+This module computes positions and velocities of a celestial small body, from a
+NASA SPICE SPK ephemeris kernel file of data type 21 (Extended Modified
+Difference Arrays).
+See http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/FORTRAN/req/spk.html
+
+You can get SPK files for many solar system small bodies from HORIZONS system of
+NASA/JPL.
+See https://ssd.jpl.nasa.gov/?horizons
+
+This module reads SPK files of data type 21, one of the types of binary SPK
+file. At the point of Oct. 2018, HORIZONS system provides files of type 21 as
+binary SPK files by default. You can get type 21 binary SPK file for celestial
+small bodies through TELNET interface by answering back 'B' for 'SPK file
+format'. Also you can get type 21 binary SPK file from:
+https://ssd.jpl.nasa.gov/x/spk.html
+
+WWW: https://github.com/whiskie14142/spktype21


More information about the svn-ports-all mailing list