1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Add py-spacetrack 0.13.1

spacetrack is a python module for Space-Track.

WWW: https://github.com/python-astrodynamics/spacetrack
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-06-24 20:08:27 +00:00
parent 69f855e4f5
commit b8082f8e02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473219
4 changed files with 46 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1529857820
SHA256 (spacetrack-0.13.1.tar.gz) = 41038c8d4fd28861cdd5e2d9afa7dede76ff381b69cb6957770c1ff146377f0a
SIZE (spacetrack-0.13.1.tar.gz) = 28193

View File

@ -0,0 +1,3 @@
spacetrack is a python module for Space-Track.
WWW: https://github.com/python-astrodynamics/spacetrack