diff options
Diffstat (limited to 'science/py-corner/Makefile')
-rw-r--r-- | science/py-corner/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/science/py-corner/Makefile b/science/py-corner/Makefile new file mode 100644 index 000000000000..fc69061b3a5b --- /dev/null +++ b/science/py-corner/Makefile @@ -0,0 +1,31 @@ +PORTNAME= corner +DISTVERSION= 2.2.3 +CATEGORIES= science graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Make some beautiful corner plots +WWW= https://github.com/dfm/corner.py + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1:math/py-matplotlib@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arviz>=0.9:math/py-arviz@${PY_FLAVOR} \ + nox>0:devel/nox \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/tests + +NO_ARCH= yes + +# tests as of 2.2.3: 12 failed, 49 passed in 174.75s (0:02:54) + +.include <bsd.port.mk> |