2018-09-19 23:33:18 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= chempy
|
2020-07-06 19:14:00 +02:00
|
|
|
DISTVERSION= 0.7.12
|
2018-09-19 23:33:18 +02:00
|
|
|
CATEGORIES= science python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
2018-09-20 01:50:31 +02:00
|
|
|
COMMENT= Package useful for solving problems in chemistry
|
2018-09-19 23:33:18 +02:00
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2020-03-07 21:47:22 +01:00
|
|
|
PY_DEPENDS= \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}dot2tex>=2.11.3:print/dot2tex@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
|
2018-09-19 23:33:18 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}PuLP>=1.6.8:math/py-PuLP@${PY_FLAVOR} \
|
2020-03-07 21:47:22 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}pyneqsys>=0.5.5:math/py-pyneqsys@${PY_FLAVOR} \
|
2020-07-06 19:14:00 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}pyodesys>=0.13.1:math/py-pyodesys@${PY_FLAVOR} \
|
2018-09-19 23:33:18 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.3:devel/py-pyparsing@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}quantities>=0.12.1:science/py-quantities@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}scipy>=1.0.1:science/py-scipy@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}sym>=0.3.4:math/py-sym@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}sympy>=1.1.1:math/py-sympy@${PY_FLAVOR} \
|
|
|
|
${NUMPY}
|
2020-03-07 21:47:22 +01:00
|
|
|
BUILD_DEPENDS= ${PY_DEPENDS}
|
|
|
|
RUN_DEPENDS= ${PY_DEPENDS}
|
2018-10-29 05:31:09 +01:00
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pytest-flakes>0:devel/py-pytest-flakes@${PY_FLAVOR}
|
2018-09-19 23:33:18 +02:00
|
|
|
|
2018-09-21 19:59:14 +02:00
|
|
|
USES= python:3.5+
|
2018-09-19 23:33:18 +02:00
|
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
2020-05-21 09:17:55 +02:00
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pymol # https://github.com/schrodinger/pymol-open-source/issues/100
|
|
|
|
|
2018-09-21 09:53:46 +02:00
|
|
|
OPTIONS_DEFINE= EXTRAS
|
|
|
|
OPTIONS_DEFAULT= EXTRAS
|
|
|
|
|
|
|
|
EXTRAS_DESC= Install optional dependencies for additional functionality
|
|
|
|
EXTRAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \
|
2018-10-29 05:31:09 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}bokeh>=0.11.1:www/py-bokeh@${PY_FLAVOR} \
|
2018-09-21 09:53:46 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}pycodeexport>=0.1.2:devel/py-pycodeexport@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pycompilation>=0.4.3:devel/py-pycompilation@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pygslodeiv2>=0.9.1:math/py-pygslodeiv2@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pyodeint>=0.10.1:math/py-pyodeint@${PY_FLAVOR}
|
|
|
|
|
|
|
|
do-test:
|
|
|
|
@cd ${WRKSRC} && pytest -rs --pyargs chempy
|
|
|
|
|
2018-09-19 23:33:18 +02:00
|
|
|
.include <bsd.port.mk>
|