summaryrefslogtreecommitdiff
path: root/science/py-molmod/Makefile
blob: b3d6dbb964416e9187c441446dc165b2c7b84d6f (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
26
27

PORTNAME=	molmod
DISTVERSION=	1.4.8
CATEGORIES=	science python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Collection of molecular modelling tools for python

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

BUILD_DEPENDS=	${PYNUMPY}
RUN_DEPENDS=	${PYNUMPY} \
		${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}

USES=		python:3.6+ shebangfix
SHEBANG_GLOB=	*.py
USE_PYTHON=	distutils cython cython_run autoplist

do-test: # Tests fail: https://github.com/molmod/molmod/issues/27
	@cd ${WRKSRC} && \
		${SETENV} ${MAKE_ENV} nosetests-${PYTHON_VER} -v molmod

.include <bsd.port.mk>