summaryrefslogtreecommitdiff
path: root/astro/py-pyvo
diff options
context:
space:
mode:
Diffstat (limited to 'astro/py-pyvo')
-rw-r--r--astro/py-pyvo/Makefile34
-rw-r--r--astro/py-pyvo/distinfo3
-rw-r--r--astro/py-pyvo/pkg-descr2
3 files changed, 39 insertions, 0 deletions
diff --git a/astro/py-pyvo/Makefile b/astro/py-pyvo/Makefile
new file mode 100644
index 000000000000..e9ba736cd104
--- /dev/null
+++ b/astro/py-pyvo/Makefile
@@ -0,0 +1,34 @@
+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
+
+TEST_ARGS= --remote-data
+
+# tests as of 1.7: 462 passed, 1 xfailed, 1 xpassed in 146.52s (0:02:26)
+
+.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.