From owner-svn-ports-all@freebsd.org Sat Feb 27 18:27:28 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2293454FDB1; Sat, 27 Feb 2021 18:27:28 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dnw400Q95z3kbs; Sat, 27 Feb 2021 18:27:28 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EAD6722175; Sat, 27 Feb 2021 18:27:27 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11RIRRIL036883; Sat, 27 Feb 2021 18:27:27 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11RIRQLP036877; Sat, 27 Feb 2021 18:27:26 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <202102271827.11RIRQLP036877@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sat, 27 Feb 2021 18:27:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566726 - in head/astro: . py-spktype01 py-spktype21 X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: in head/astro: . py-spktype01 py-spktype21 X-SVN-Commit-Revision: 566726 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 18:27:28 -0000 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@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 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@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 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