summaryrefslogtreecommitdiff
path: root/astro/py-pymeeus/Makefile
blob: 2871a0e906a572b0e31cf9c89d3a87f393dd51e3 (plain)
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

PORTNAME=	pymeeus
PORTVERSION=	0.3.6
CATEGORIES=	astro science python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	PyMeeus-${DISTVERSION}

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Python implementation of Jean Meeus astronomical routines

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/COPYING.LESSER

TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}

USES=		python:3.6+
USE_PYTHON=	autoplist distutils

NO_ARCH=	yes

do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=

.include <bsd.port.mk>