blob: 8e07a6f72ee8a779346a11f683acfb696d3253a0 (
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
|
PORTNAME= molmod
DISTVERSION= 1.4.8
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Collection of molecular modelling tools for python
WWW= https://github.com/molmod/molmod
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>
|