git: da56aeb3bfa8 - main - astro/py-pyvo: New port: Package for accessing Virtual Observatory data and services
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Sep 2025 18:29:48 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=da56aeb3bfa8648a906f574986e452c24d8a1ba5
commit da56aeb3bfa8648a906f574986e452c24d8a1ba5
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-09-07 18:12:22 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-09-07 18:29:40 +0000
astro/py-pyvo: New port: Package for accessing Virtual Observatory data and services
---
astro/Makefile | 1 +
astro/py-pyvo/Makefile | 32 ++++++++++++++++++++++++++++++++
astro/py-pyvo/distinfo | 3 +++
astro/py-pyvo/pkg-descr | 2 ++
4 files changed, 38 insertions(+)
diff --git a/astro/Makefile b/astro/Makefile
index c2d402e00eb8..bdf1cc1a3662 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -103,6 +103,7 @@
SUBDIR += py-pysofa
SUBDIR += py-pytest-astropy
SUBDIR += py-pytest-astropy-header
+ SUBDIR += py-pyvo
SUBDIR += py-pywapi
SUBDIR += py-ro
SUBDIR += py-sgp4
diff --git a/astro/py-pyvo/Makefile b/astro/py-pyvo/Makefile
new file mode 100644
index 000000000000..9af48cc92144
--- /dev/null
+++ b/astro/py-pyvo/Makefile
@@ -0,0 +1,32 @@
+PORTNAME= pyvo
+PORTVERSION= 1.7
+CATEGORIES= astro python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Package for accessing Virtual Observatory data and services
+WWW= https://pyvo.readthedocs.io/en/latest/ \
+ https://github.com/astropy/pyvo
+
+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}astropy>=4.2:astro/py-astropy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-astropy>0:astro/py-pytest-astropy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-astropy-header>0:astro/py-pytest-astropy-header@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-doctestplus>=0.13:devel/py-pytest-doctestplus@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist pytest
+
+NO_ARCH= yes
+
+# tests as of 1.7: 2 failed, 398 passed, 63 skipped, 1 xfailed in 11.41s, see https://github.com/astropy/pyvo/issues/701
+
+.include <bsd.port.mk>
diff --git a/astro/py-pyvo/distinfo b/astro/py-pyvo/distinfo
new file mode 100644
index 000000000000..f9fd9d1a7cd8
--- /dev/null
+++ b/astro/py-pyvo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757238061
+SHA256 (pyvo-1.7.tar.gz) = a6fad9efd410732d113e55df43b0201c9acb2e29f27532c71bda56f38ce62320
+SIZE (pyvo-1.7.tar.gz) = 2095584
diff --git a/astro/py-pyvo/pkg-descr b/astro/py-pyvo/pkg-descr
new file mode 100644
index 000000000000..d835e80c210e
--- /dev/null
+++ b/astro/py-pyvo/pkg-descr
@@ -0,0 +1,2 @@
+PyVO is a package providing access to remote data and services of the Virtual
+observatory (VO) using Python.