summaryrefslogtreecommitdiff
path: root/devel/py-pytest-arraydiff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pytest-arraydiff/Makefile')
-rw-r--r--devel/py-pytest-arraydiff/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/py-pytest-arraydiff/Makefile b/devel/py-pytest-arraydiff/Makefile
new file mode 100644
index 000000000000..f827c3f124b1
--- /dev/null
+++ b/devel/py-pytest-arraydiff/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= pytest-arraydiff
+DISTVERSION= 0.6.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Pytest plugin to help with comparing array output from tests
+WWW= https://github.com/astropy/pytest-arraydiff
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=4.6:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+NO_ARCH= yes
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+# tests as of 0.6.1: 18 passed in 32.31s
+
+.include <bsd.port.mk>