aboutsummaryrefslogtreecommitdiff
path: root/astro/py-skyfield-data/Makefile
blob: 18c0ccf2c429d3c760802a564c15d2122d7d38f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: thierry@pompo.net

PORTNAME=	skyfield-data
PORTVERSION=	3.0.0
PORTREVISION=	1
CATEGORIES=	astro python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	Minimal data files to work with py-skyfield

LICENSE=	MIT

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}skyfield>0:astro/py-skyfield@${PY_FLAVOR}
TEST_DEPENDS=	py.test:devel/py-pytest@${PY_FLAVOR}

USE_GITHUB=	yes
GH_ACCOUNT=	brunobord

USES=		python:3.7+
USE_PYTHON=	distutils

NO_ARCH=	yes

do-test: install
	(cd ${WRKSRC} && py.test)

.include <bsd.port.mk>