freebsd-ports/science/py-molmod/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

28 lines
739 B
Makefile

# $FreeBSD$
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>