aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-07-21 12:21:41 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-07-21 12:22:34 +0000
commitec44223da422bdc7f86b56c4f262d0ff5f2e8fd8 (patch)
treed0ebe3c31d43aa894e8f10d57365d56dd52074fe
parent20bdbe43fb410adc8d0e1ed612a77675d1b38463 (diff)
devel/py-fsspec-xrootd: Add py-fsspec-xrootd 0.3.0
To allow fsspec to use XRootD accessible storage systems, install fsspec-xrootd alongside fsspec and have easy access to files stored on XRootD servers. Once installed, fsspec will be able to work with urls with the 'root' protocol.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-fsspec-xrootd/Makefile26
-rw-r--r--devel/py-fsspec-xrootd/distinfo3
-rw-r--r--devel/py-fsspec-xrootd/pkg-descr3
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2a3925928f01..7159a4cb0be1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4818,6 +4818,7 @@
SUBDIR += py-fs
SUBDIR += py-fs2
SUBDIR += py-fsspec
+ SUBDIR += py-fsspec-xrootd
SUBDIR += py-fudge
SUBDIR += py-funcparserlib
SUBDIR += py-funcsigs
diff --git a/devel/py-fsspec-xrootd/Makefile b/devel/py-fsspec-xrootd/Makefile
new file mode 100644
index 000000000000..69bd485fc355
--- /dev/null
+++ b/devel/py-fsspec-xrootd/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= fsspec-xrootd
+PORTVERSION= 0.3.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= fsspec_xrootd-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= XRootD implementation for fsspec
+WWW= https://coffeateam.github.io/fsspec-xrootd/ \
+ https://github.com/CoffeaTeam/fsspec-xrootd
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fsspec>=0:devel/py-fsspec@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-fsspec-xrootd/distinfo b/devel/py-fsspec-xrootd/distinfo
new file mode 100644
index 000000000000..101532ec62db
--- /dev/null
+++ b/devel/py-fsspec-xrootd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1721556666
+SHA256 (fsspec_xrootd-0.3.0.tar.gz) = 3a146f9c0784d21b5b269981cd394d3d521e273d50dbd71b8315d70bd6078ddd
+SIZE (fsspec_xrootd-0.3.0.tar.gz) = 22094
diff --git a/devel/py-fsspec-xrootd/pkg-descr b/devel/py-fsspec-xrootd/pkg-descr
new file mode 100644
index 000000000000..cd72b8510731
--- /dev/null
+++ b/devel/py-fsspec-xrootd/pkg-descr
@@ -0,0 +1,3 @@
+To allow fsspec to use XRootD accessible storage systems, install fsspec-xrootd
+alongside fsspec and have easy access to files stored on XRootD servers. Once
+installed, fsspec will be able to work with urls with the 'root' protocol.