aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-01-15 11:34:59 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-01-15 11:53:03 +0000
commit7d618207e7be47e5830ac9a7c88c7021094ca9a1 (patch)
treec0f6a8833bd1c92ae1bce0b6d241063683abffd9
parent5c60e91502fb8617f011bf8a335d449960ca6410 (diff)
devel/py-localstack-core: Add py-localstack-core 4.12.0
LocalStack is a cloud service emulator that runs in a single container on your laptop or in your CI environment. With LocalStack, you can run your AWS applications or Lambdas entirely on your local machine without connecting to a remote cloud provider! Whether you are testing complex CDK applications or Terraform configurations, or just beginning to learn about AWS services, LocalStack helps speed up and simplify your testing and development workflow. LocalStack supports a growing number of AWS services, like AWS Lambda, S3, DynamoDB, Kinesis, SQS, SNS, and many more! The Pro version of LocalStack supports additional APIs and advanced features. You can find a comprehensive list of supported APIs on our Feature Coverage page. LocalStack also provides additional features to make your life as a cloud developer easier! Check out LocalStack's User Guides for more information.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-localstack-core/Makefile40
-rw-r--r--devel/py-localstack-core/distinfo3
-rw-r--r--devel/py-localstack-core/files/patch-pyproject.toml40
-rw-r--r--devel/py-localstack-core/pkg-descr14
5 files changed, 98 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e85c6d83767b..bb09b8e0385a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5240,6 +5240,7 @@
SUBDIR += py-lml
SUBDIR += py-localstack
SUBDIR += py-localstack-client
+ SUBDIR += py-localstack-core
SUBDIR += py-locket
SUBDIR += py-lockfile
SUBDIR += py-logan
diff --git a/devel/py-localstack-core/Makefile b/devel/py-localstack-core/Makefile
new file mode 100644
index 000000000000..9c5a67520448
--- /dev/null
+++ b/devel/py-localstack-core/Makefile
@@ -0,0 +1,40 @@
+PORTNAME= localstack-core
+PORTVERSION= 4.12.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= localstack_core-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Core library and runtime of LocalStack
+WWW= https://www.localstack.cloud/ \
+ https://docs.localstack.cloud/ \
+ https://github.com/localstack/localstack/tree/main/localstack-core \
+ https://github.com/localstack/localstack
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plux>=1.12:devel/py-plux@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cachetools>=5.0:devel/py-cachetools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}click>=8.1.0:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dill>=0.3.6:devel/py-dill@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dnslib>=0.9.10:dns/py-dnslib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dnspython>=1.16.0,1:dns/py-dnspython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}plux>=1.10:devel/py-plux@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}psutil>=5.4.8:sysutils/py-psutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.19.1:www/py-python-dotenv@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.20.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rich>=12.3.0:textproc/py-rich@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}semver>=2.10:devel/py-semver@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent cryptography pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-localstack-core/distinfo b/devel/py-localstack-core/distinfo
new file mode 100644
index 000000000000..bd8d0187299a
--- /dev/null
+++ b/devel/py-localstack-core/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1767157565
+SHA256 (localstack_core-4.12.0.tar.gz) = 893359fb2392b95a1587e109120904dd4001e640238a2d4a87f8b46c6cb67ba6
+SIZE (localstack_core-4.12.0.tar.gz) = 3619879
diff --git a/devel/py-localstack-core/files/patch-pyproject.toml b/devel/py-localstack-core/files/patch-pyproject.toml
new file mode 100644
index 000000000000..e34e8c75f676
--- /dev/null
+++ b/devel/py-localstack-core/files/patch-pyproject.toml
@@ -0,0 +1,40 @@
+--- pyproject.toml.orig 2025-12-11 12:56:23 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@
+ # LocalStack project configuration
+ [build-system]
+-requires = ['setuptools>=64', 'wheel', 'plux>=1.12', "setuptools_scm>=8.1"]
++requires = ['setuptools>=61', 'wheel', 'plux>=1.12', "setuptools_scm>=8"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+@@ -9,14 +9,14 @@ description = "The core library and runtime of LocalSt
+ { name = "LocalStack Contributors", email = "info@localstack.cloud" }
+ ]
+ description = "The core library and runtime of LocalStack"
+-license = "Apache-2.0"
++license = { text = "Apache-2.0" }
+ requires-python = ">=3.10"
+ dependencies = [
+ "asn1crypto>=1.5.1",
+- "click>=8.2.0",
++ "click>=8.1.0",
+ "cachetools>=5.0",
+ "cryptography",
+- "dill==0.3.6",
++ "dill>=0.3.6",
+ "dnslib>=0.9.10",
+ "dnspython>=1.16.0",
+ "plux>=1.10",
+@@ -52,9 +52,9 @@ base-runtime = [
+ # minimal required to actually run localstack on the host for services natively implemented in python
+ base-runtime = [
+ # pinned / updated by ASF update action
+- "boto3==1.42.4",
++ "boto3>=1.42.4",
+ # pinned / updated by ASF update action
+- "botocore==1.42.4",
++ "botocore>=1.42.4",
+ # transitive dependency of botocore, added to avoid specific version
+ "awscrt>=0.13.14,!=0.27.1",
+ "cbor2>=5.5.0",
diff --git a/devel/py-localstack-core/pkg-descr b/devel/py-localstack-core/pkg-descr
new file mode 100644
index 000000000000..d5a903318292
--- /dev/null
+++ b/devel/py-localstack-core/pkg-descr
@@ -0,0 +1,14 @@
+LocalStack is a cloud service emulator that runs in a single container on your
+laptop or in your CI environment. With LocalStack, you can run your AWS
+applications or Lambdas entirely on your local machine without connecting to a
+remote cloud provider! Whether you are testing complex CDK applications or
+Terraform configurations, or just beginning to learn about AWS services,
+LocalStack helps speed up and simplify your testing and development workflow.
+
+LocalStack supports a growing number of AWS services, like AWS Lambda, S3,
+DynamoDB, Kinesis, SQS, SNS, and many more! The Pro version of LocalStack
+supports additional APIs and advanced features. You can find a comprehensive
+list of supported APIs on our Feature Coverage page.
+
+LocalStack also provides additional features to make your life as a cloud
+developer easier! Check out LocalStack's User Guides for more information.