summaryrefslogtreecommitdiff
path: root/filesystems/py-fsspec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/py-fsspec/Makefile')
-rw-r--r--filesystems/py-fsspec/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/filesystems/py-fsspec/Makefile b/filesystems/py-fsspec/Makefile
new file mode 100644
index 000000000000..13612b3d29ca
--- /dev/null
+++ b/filesystems/py-fsspec/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= fsspec
+PORTVERSION= 2024.10.0
+CATEGORIES= filesystems devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= File-system specification
+WWW= https://filesystem-spec.readthedocs.io/en/latest/ \
+ https://github.com/fsspec/filesystem_spec
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= GITHUB
+GITHUB_DESC= GitHub file system
+
+GITHUB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+
+.include <bsd.port.mk>