summaryrefslogtreecommitdiff
path: root/filesystems/py-s3fs
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/py-s3fs')
-rw-r--r--filesystems/py-s3fs/Makefile33
-rw-r--r--filesystems/py-s3fs/distinfo3
-rw-r--r--filesystems/py-s3fs/pkg-descr2
3 files changed, 38 insertions, 0 deletions
diff --git a/filesystems/py-s3fs/Makefile b/filesystems/py-s3fs/Makefile
new file mode 100644
index 000000000000..055547d3f385
--- /dev/null
+++ b/filesystems/py-s3fs/Makefile
@@ -0,0 +1,33 @@
+PORTNAME= s3fs
+PORTVERSION= 2024.10.0
+CATEGORIES= filesystems devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Convenient Filesystem interface over S3
+WWW= https://s3fs.readthedocs.io/en/latest/ \
+ https://github.com/fsspec/s3fs
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiobotocore>=2.5.4<3.0.0:devel/py-aiobotocore@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}fsspec>=${PORTVERSION}<${PORTVERSION}_99:filesystems/py-fsspec@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= AWSCLI BOTO3
+AWSCLI_DESC= Use awscli
+BOTO3_DESC= Use boto3
+
+AWSCLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}awscli>=1.29.17:devel/py-awscli@${PY_FLAVOR}
+BOTO3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.28.17:www/py-boto3@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/filesystems/py-s3fs/distinfo b/filesystems/py-s3fs/distinfo
new file mode 100644
index 000000000000..e12bca6c5c7a
--- /dev/null
+++ b/filesystems/py-s3fs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729653364
+SHA256 (s3fs-2024.10.0.tar.gz) = 58b8c3650f8b99dbedf361543da3533aac8707035a104db5d80b094617ad4a3f
+SIZE (s3fs-2024.10.0.tar.gz) = 75916
diff --git a/filesystems/py-s3fs/pkg-descr b/filesystems/py-s3fs/pkg-descr
new file mode 100644
index 000000000000..ba62075e68c6
--- /dev/null
+++ b/filesystems/py-s3fs/pkg-descr
@@ -0,0 +1,2 @@
+S3FS builds on aiobotocore to provide a convenient Python filesystem interface
+for S3.