astro/py-pytest-astropy-header: New port: Pytest plugin to add diagnostic information to header of test output

This commit is contained in:
Yuri Victorovich 2025-09-07 03:06:43 -07:00
parent d380a58512
commit da5362a499
4 changed files with 35 additions and 0 deletions

View File

@ -101,6 +101,7 @@
SUBDIR += py-pymeeus
SUBDIR += py-pymetar
SUBDIR += py-pysofa
SUBDIR += py-pytest-astropy-header
SUBDIR += py-pywapi
SUBDIR += py-ro
SUBDIR += py-sgp4

View File

@ -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>

View File

@ -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

View File

@ -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.