Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2018 20:08:28 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473219 - in head/astro: . py-spacetrack
Message-ID:  <201806242008.w5OK8SHJ043968@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jun 24 20:08:27 2018
New Revision: 473219
URL: https://svnweb.freebsd.org/changeset/ports/473219

Log:
  Add py-spacetrack 0.13.1
  
  spacetrack is a python module for Space-Track.
  
  WWW: https://github.com/python-astrodynamics/spacetrack

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

Modified: head/astro/Makefile
==============================================================================
--- head/astro/Makefile	Sun Jun 24 20:08:21 2018	(r473218)
+++ head/astro/Makefile	Sun Jun 24 20:08:27 2018	(r473219)
@@ -85,6 +85,7 @@
     SUBDIR += py-RO
     SUBDIR += py-aipy
     SUBDIR += py-astLib
+    SUBDIR += py-astro
     SUBDIR += py-astropy
     SUBDIR += py-horoscopegenerator
     SUBDIR += py-metar

Added: head/astro/py-spacetrack/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-spacetrack/Makefile	Sun Jun 24 20:08:27 2018	(r473219)
@@ -0,0 +1,39 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	spacetrack
+PORTVERSION=	0.13.1
+CATEGORIES=	astro python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python client for space-track.org
+
+LICENSE=	MIT
+#LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}logbook>=0.12.3:devel/py-logbook@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ratelimiter>=1.2.0:devel/py-ratelimiter@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}represent>=1.4.0:devel/py-represent@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR}
+
+NO_ARCH=	yes
+USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3300
+TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
+.endif
+
+.if ${PYTHON_REL} >= 3500
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}aiohttp>=2.0:www/py-aiohttp@${PY_FLAVOR}
+TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>

Added: head/astro/py-spacetrack/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-spacetrack/distinfo	Sun Jun 24 20:08:27 2018	(r473219)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529857820
+SHA256 (spacetrack-0.13.1.tar.gz) = 41038c8d4fd28861cdd5e2d9afa7dede76ff381b69cb6957770c1ff146377f0a
+SIZE (spacetrack-0.13.1.tar.gz) = 28193

Added: head/astro/py-spacetrack/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-spacetrack/pkg-descr	Sun Jun 24 20:08:27 2018	(r473219)
@@ -0,0 +1,3 @@
+spacetrack is a python module for Space-Track.
+
+WWW: https://github.com/python-astrodynamics/spacetrack



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