astro/py-astroquery: Fix most of the tests

This commit is contained in:
Yuri Victorovich 2025-09-07 12:33:29 -07:00
parent 24e0f7b779
commit f0f0a1545a
1 changed files with 7 additions and 2 deletions

View File

@ -21,14 +21,19 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>=5.0:astro/py-astropy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.20:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyvo>=1.5:astro/py-pyvo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.19:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-astropy>=0:astro/py-pytest-astropy@${PY_FLAVOR} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-astropy>0:astro/py-pytest-astropy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-doctestplus>=0.13:devel/py-pytest-doctestplus@${PY_FLAVOR}
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fsspec>=0:filesystems/py-fsspec@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}moto>0:devel/py-moto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-dependency>0:devel/py-pytest-dependency@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>0:devel/py-pytest-rerunfailures@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist pytest
NO_ARCH= yes
# tests as of 0.4.10: 6 errors in 12.03s, see https://github.com/astropy/astroquery/issues/3402
# tests as of 0.4.10: 6 failed, 1701 passed, 744 skipped, 2 xfailed, 4 errors in 90.35s (0:01:30)
.include <bsd.port.mk>