summaryrefslogtreecommitdiff
path: root/astro/py-pytest-astropy-header/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/py-pytest-astropy-header/Makefile')
-rw-r--r--astro/py-pytest-astropy-header/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/astro/py-pytest-astropy-header/Makefile b/astro/py-pytest-astropy-header/Makefile
new file mode 100644
index 000000000000..eca1932fc089
--- /dev/null
+++ b/astro/py-pytest-astropy-header/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= pytest-astropy-header
+PORTVERSION= 0.2.2
+CATEGORIES= astro python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Pytest plugin to add diagnostic information to header of test output
+WWW= https://github.com/astropy/pytest-astropy-header
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+
+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= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist pytest
+
+NO_ARCH= yes
+
+# tests as of 0.2.2: 19 passed in 8.69s
+
+.include <bsd.port.mk>