summaryrefslogtreecommitdiff
path: root/astro/py-pytest-astropy-header
diff options
context:
space:
mode:
Diffstat (limited to 'astro/py-pytest-astropy-header')
-rw-r--r--astro/py-pytest-astropy-header/Makefile26
-rw-r--r--astro/py-pytest-astropy-header/distinfo3
-rw-r--r--astro/py-pytest-astropy-header/pkg-descr5
3 files changed, 34 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>
diff --git a/astro/py-pytest-astropy-header/distinfo b/astro/py-pytest-astropy-header/distinfo
new file mode 100644
index 000000000000..eef9528d96a7
--- /dev/null
+++ b/astro/py-pytest-astropy-header/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757239125
+SHA256 (pytest-astropy-header-0.2.2.tar.gz) = 77891101c94b75a8ca305453b879b318ab6001b370df02be2c0b6d1bb322db10
+SIZE (pytest-astropy-header-0.2.2.tar.gz) = 9914
diff --git a/astro/py-pytest-astropy-header/pkg-descr b/astro/py-pytest-astropy-header/pkg-descr
new file mode 100644
index 000000000000..2175c0a54b18
--- /dev/null
+++ b/astro/py-pytest-astropy-header/pkg-descr
@@ -0,0 +1,5 @@
+The pytest-astropy-header package provides a way to include information about
+the system, Python installation, and select dependencies in the header of the
+output when running pytest. It can be used with packages that are not
+affiliated with the Astropy project, but is optimized for use with
+Astropy-related projects.