aboutsummaryrefslogtreecommitdiff
path: root/science/py-pyberny/Makefile
blob: 269fc2c16839aceb21ad64f890ad832b4de15d9c (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
PORTNAME=	pyberny
DISTVERSION=	0.6.3
CATEGORIES=	science # chemistry
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Optimizer of molecular geometries with respect to the total energy
WWW=		https://github.com/jhrmnn/pyberny

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/LICENSE

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

USES=		python:3.5+
USE_PYTHON=	distutils concurrent autoplist

NO_ARCH=	yes

do-test: install # no tests run, see https://github.com/jhrmnn/pyberny/issues/36
	@cd ${WRKSRC} && pytest -rs --pyargs berny

.include <bsd.port.mk>