mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
Adding spktype01 and spktype21, two supporting modules for jplephem to handle data type 1 and 21.
This commit is contained in:
parent
0385ff5feb
commit
94dbf3b119
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566726
@ -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
|
||||
|
33
astro/py-spktype01/Makefile
Normal file
33
astro/py-spktype01/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# Created by: thierry@pompo.net
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= spktype01
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= astro python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= thierry@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>
|
3
astro/py-spktype01/distinfo
Normal file
3
astro/py-spktype01/distinfo
Normal file
@ -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
|
15
astro/py-spktype01/pkg-descr
Normal file
15
astro/py-spktype01/pkg-descr
Normal file
@ -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
|
35
astro/py-spktype21/Makefile
Normal file
35
astro/py-spktype21/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# Created by: thierry@pompo.net
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= spktype21
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= astro python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= thierry@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>
|
3
astro/py-spktype21/distinfo
Normal file
3
astro/py-spktype21/distinfo
Normal file
@ -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
|
17
astro/py-spktype21/pkg-descr
Normal file
17
astro/py-spktype21/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user