opnsense-ports/science/py-molmod/Makefile
Franco Fichtner 2f03c0cf40 */*: sync with upstream
Taken from: FreeBSD
2023-06-28 09:14:20 +02:00

28 lines
770 B
Makefile

PORTNAME= molmod
DISTVERSION= 1.4.8
PORTREVISION= 1
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 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>