summaryrefslogtreecommitdiff
path: root/astro/py-pytest-astropy
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
-rw-r--r--astro/py-pytest-astropy/Makefile33
-rw-r--r--astro/py-pytest-astropy/distinfo3
-rw-r--r--astro/py-pytest-astropy/pkg-descr3
6 files changed, 73 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.
diff --git a/astro/py-pytest-astropy/Makefile b/astro/py-pytest-astropy/Makefile
new file mode 100644
index 000000000000..83a43a87cfa6
--- /dev/null
+++ b/astro/py-pytest-astropy/Makefile
@@ -0,0 +1,33 @@
+PORTNAME= pytest-astropy
+PORTVERSION= 0.11.0
+CATEGORIES= astro python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Meta-package containing dependencies for testing
+WWW= https://github.com/astropy/pytest-astropy
+
+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}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hypothesis>=5.1:devel/py-hypothesis@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-arraydiff>=0.5:devel/py-pytest-arraydiff@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-astropy-header>=0.2.2:astro/py-pytest-astropy-header@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.3.1:devel/py-pytest-cov@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-doctestplus>=1.0.0:devel/py-pytest-doctestplus@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-filter-subpackage>=0.1.2:devel/py-pytest-filter-subpackage@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=2.0:devel/py-pytest-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-remotedata>=0.4.1:devel/py-pytest-remotedata@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=4.6:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/astro/py-pytest-astropy/distinfo b/astro/py-pytest-astropy/distinfo
new file mode 100644
index 000000000000..b0acac8e14a5
--- /dev/null
+++ b/astro/py-pytest-astropy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757240001
+SHA256 (pytest-astropy-0.11.0.tar.gz) = 4eaeaa99ed91163ed8f9aac132c70a81f25bc4c12f3cd54dba329fc26c6739b5
+SIZE (pytest-astropy-0.11.0.tar.gz) = 6336
diff --git a/astro/py-pytest-astropy/pkg-descr b/astro/py-pytest-astropy/pkg-descr
new file mode 100644
index 000000000000..9f720e8590ea
--- /dev/null
+++ b/astro/py-pytest-astropy/pkg-descr
@@ -0,0 +1,3 @@
+pytest-astropy is a meta-package that pulls in the dependencies that are used by
+astropy and some affiliated packages for testing. It can also be used for
+testing packages that are not affiliated with the Astropy project.