git: f0f0a1545a6a - main - astro/py-astroquery: Fix most of the tests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 07 Sep 2025 19:57:43 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f0f0a1545a6abf6fa626fee430028f10c3045421

commit f0f0a1545a6abf6fa626fee430028f10c3045421
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-09-07 19:33:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-09-07 19:57:39 +0000

    astro/py-astroquery: Fix most of the tests
---
 astro/py-astroquery/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/astro/py-astroquery/Makefile b/astro/py-astroquery/Makefile
index a3c8f46e5396..2fc1d0dc7223 100644
--- a/astro/py-astroquery/Makefile
+++ b/astro/py-astroquery/Makefile
@@ -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>