diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2024-09-27 12:48:46 +0200 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2024-11-06 16:17:35 +0100 |
commit | 6e2da9672f79f44048d597f0f61e4646cdeade9d (patch) | |
tree | c92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/py-s3fs | |
parent | math/sdpa: speed up build (diff) |
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.
Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.
Approved by: portmgr (rene)
Reviewed by: mat
Pull Request: https://github.com/freebsd/freebsd-ports/pull/302
PR: 281988
Diffstat (limited to 'filesystems/py-s3fs')
-rw-r--r-- | filesystems/py-s3fs/Makefile | 33 | ||||
-rw-r--r-- | filesystems/py-s3fs/distinfo | 3 | ||||
-rw-r--r-- | filesystems/py-s3fs/pkg-descr | 2 |
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. |