From d1bd781b070e69b06a34cba80a58ca55e1d5f508 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 7 Sep 2025 11:00:09 -0700 Subject: [PATCH] astro/py-pytest-astropy: New port: Meta-package containing dependencies for testing --- astro/Makefile | 1 + astro/py-pytest-astropy/Makefile | 33 +++++++++++++++++++++++++++++++ astro/py-pytest-astropy/distinfo | 3 +++ astro/py-pytest-astropy/pkg-descr | 3 +++ 4 files changed, 40 insertions(+) create mode 100644 astro/py-pytest-astropy/Makefile create mode 100644 astro/py-pytest-astropy/distinfo create mode 100644 astro/py-pytest-astropy/pkg-descr diff --git a/astro/Makefile b/astro/Makefile index 3b67c31befbc..c2d402e00eb8 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -101,6 +101,7 @@ SUBDIR += py-pymeeus SUBDIR += py-pymetar SUBDIR += py-pysofa + SUBDIR += py-pytest-astropy SUBDIR += py-pytest-astropy-header SUBDIR += py-pywapi SUBDIR += py-ro 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 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.