git: ec44223da422 - main - devel/py-fsspec-xrootd: Add py-fsspec-xrootd 0.3.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 21 Jul 2024 12:22:51 UTC
The branch main has been updated by sunpoet:

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

commit ec44223da422bdc7f86b56c4f262d0ff5f2e8fd8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-21 12:21:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-21 12:22:34 +0000

    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.
---
 devel/Makefile                   |  1 +
 devel/py-fsspec-xrootd/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-fsspec-xrootd/distinfo  |  3 +++
 devel/py-fsspec-xrootd/pkg-descr |  3 +++
 4 files changed, 33 insertions(+)

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.