diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-12-03 00:14:52 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-12-03 00:20:48 +0000 |
| commit | f8e917621dd78cbbe7586b941366e72d8f30aa94 (patch) | |
| tree | 015d9db04fa2261d3f342e28db5ed5cf1f4a97db | |
| parent | c5dc7be9e456ea96f63191699f1881866358c49e (diff) | |
devel/py-aioboto3: New port: Async boto3 wrapper
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-aioboto3/Makefile | 25 | ||||
| -rw-r--r-- | devel/py-aioboto3/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-aioboto3/files/patch-pyproject.toml | 20 | ||||
| -rw-r--r-- | devel/py-aioboto3/pkg-descr | 2 |
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 283162556353..99a7f52b685c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4392,6 +4392,7 @@ SUBDIR += py-addict SUBDIR += py-aenum SUBDIR += py-aioapns + SUBDIR += py-aioboto3 SUBDIR += py-aiobotocore SUBDIR += py-aiofiles SUBDIR += py-aiohttp-apispec diff --git a/devel/py-aioboto3/Makefile b/devel/py-aioboto3/Makefile new file mode 100644 index 000000000000..5c84aaae00f1 --- /dev/null +++ b/devel/py-aioboto3/Makefile @@ -0,0 +1,25 @@ +PORTNAME= aioboto3 +PORTVERSION= 15.5.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Async boto3 wrapper +WWW= https://github.com/terricain/aioboto3 + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiobotocore>=0:devel/py-aiobotocore@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}aiofiles>=23.2.1:devel/py-aiofiles@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 concurrent autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-aioboto3/distinfo b/devel/py-aioboto3/distinfo new file mode 100644 index 000000000000..3034decd6c29 --- /dev/null +++ b/devel/py-aioboto3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1733176900 +SHA256 (aioboto3-15.5.0.tar.gz) = ea8d8787d315594842fbfcf2c4dce3bac2ad61be275bc8584b2ce9a3402a6979 +SIZE (aioboto3-15.5.0.tar.gz) = 255069 diff --git a/devel/py-aioboto3/files/patch-pyproject.toml b/devel/py-aioboto3/files/patch-pyproject.toml new file mode 100644 index 000000000000..c4720c400a96 --- /dev/null +++ b/devel/py-aioboto3/files/patch-pyproject.toml @@ -0,0 +1,20 @@ +--- pyproject.toml.orig 2025-10-30 13:36:21 UTC ++++ pyproject.toml +@@ -7,7 +7,7 @@ dependencies = [ + license = {text = "Apache-2.0"} + requires-python = ">=3.9" + dependencies = [ +- "aiobotocore[boto3]==2.25.1", ++ "aiobotocore[boto3]", + "aiofiles>=23.2.1", + ] + +@@ -73,7 +73,7 @@ cache-keys = [{ file = "pyproject.toml" }, { git = { c + cache-keys = [{ file = "pyproject.toml" }, { git = { commit = true, tags = true } }] + + [build-system] +-requires = ["setuptools>=68.2.0", "setuptools-scm>=8"] ++requires = ["setuptools", "setuptools-scm"] + build-backend = "setuptools.build_meta" + + [tool.setuptools.dynamic] diff --git a/devel/py-aioboto3/pkg-descr b/devel/py-aioboto3/pkg-descr new file mode 100644 index 000000000000..21d2e813fe9b --- /dev/null +++ b/devel/py-aioboto3/pkg-descr @@ -0,0 +1,2 @@ +aioboto3 is an async wrapper around boto3, allowing you to use boto3 with +async/await syntax for non-blocking AWS API calls. |
