From nobody Sat Nov 29 23:53:18 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dJn6k2ybtz6JKpS for ; Sat, 29 Nov 2025 23:53:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dJn6k1JzQz3nK2 for ; Sat, 29 Nov 2025 23:53:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764460398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dHptHYDJaJsJz3AbFU0SLSG15XTydvFQ8UkVR496Xf0=; b=F7V7im13yTzJzFnP6a4/P2Y/ahMa6GjkpHFbf5sIwbPkVjuSs7UFbb7qN8FFdL5AEEzu3d NwPrJyDglsgK+ERnhFg6chCvjxQ4c5MW08uklWT5BYylFn0vDG7kLkCs9J62c+q2MfdGk+ 8Kohx90fZ5D2GNVJGCnNotscAtMyQdXQfhKZMiXIOOJ1PRO7ZFrwF3RZ+GNx/pwc511+JY ET51ijoj8tleicOlbBgtTQLzJJiYiXrxUv52rwboSIWih9hxnVhIkWj4hr6cv31v4xuNM3 ziP2kcdPeEjiC7geF6oDWUQBcyJyTrPnaqdWj+s0iR8Aimo2DWzUHjXmjSHYuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764460398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dHptHYDJaJsJz3AbFU0SLSG15XTydvFQ8UkVR496Xf0=; b=KYx5u2HT62HDUyocV5YH0rwBeDllQSlLQnZE436oYl62fKmu4IJYmaCzVIwebfSYPFizZ2 PrJpB7x66/QruhPowZYJJtYry0IXzkip7p2ynIaVSyqBYwYFqlBbWgNoAT2joI/SoQZ9W4 sIPo97qLl8ujTqhYu3j20OR1iUor7S28xalr4yBKO8u2IRjsz0SI2LVndv8N0Hz5hpZ6ec /ZVF+IKNFlAO0EyI0OVXBCvmEiTOoi7+f5gbhwLIwFAZ7KjOU+UM6vLpMxG5iONsRVsSmQ /NAKRumoxbqtYBDxIeDGF5qh0kq/oJIZri25EfPdfT7owKwtbG2nAfiXel98KA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764460398; a=rsa-sha256; cv=none; b=iVzahGctb6DU3KWYpfadHO2xrZOhDJmxM7BQbAeTcFFIUiVEQEZx/TpgVhbPqLxTAXgmKi 0a4LrxK5wPNOhWeAbrteSwOCO1cM9yjd0RdT6S1zzB00pMbtQMTQRIuoqvEYemHDm1bCsx mPxncAyH6kjD8VLuSCLhhZo0ye00VKPIqDK4RM3Ha7PoU8gcgGfPySqoi2PsnBgVKlkAIA EFrH3yDLIgsnvDw71befwsNZdx4pEX2d+/0pQM04xBqzEMsdUrm1GhqsmDLkG5UkmRYkQ/ 6BsEN9KZOK19kUB7gnDq8oBHJVO9dfBQr0LR3ToP+X5TluPM3WNRMJwTN6t2sQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dJn6k0pRpz17q3 for ; Sat, 29 Nov 2025 23:53:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id c2ce by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 29 Nov 2025 23:53:18 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2bb8adc55d8b - main - devel/py-cel-python: Add py-cel-python 0.2.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2bb8adc55d8b2de281c074d778da10638c6acf6d Auto-Submitted: auto-generated Date: Sat, 29 Nov 2025 23:53:18 +0000 Message-Id: <692b876e.c2ce.604daaa1@gitrepo.freebsd.org> The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bb8adc55d8b2de281c074d778da10638c6acf6d commit 2bb8adc55d8b2de281c074d778da10638c6acf6d Author: Po-Chuan Hsieh AuthorDate: 2025-11-29 23:20:26 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-11-29 23:20:26 +0000 devel/py-cel-python: Add py-cel-python 0.2.0 Pure Python implementation of Google Common Expression Language. This implementation has minimal dependencies, runs quickly, and can be embedded into Python-based applications. Specifically, the intent is to be part of Cloud Custodian, C7N, as part of the security policy filter. --- devel/Makefile | 1 + devel/py-cel-python/Makefile | 29 ++++++++++++++++++++++++++ devel/py-cel-python/distinfo | 3 +++ devel/py-cel-python/files/patch-pyproject.toml | 11 ++++++++++ devel/py-cel-python/pkg-descr | 5 +++++ 5 files changed, 49 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 6f6800a0bb8c..a66af92b1d0e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4645,6 +4645,7 @@ SUBDIR += py-cbor2 SUBDIR += py-cclib SUBDIR += py-cdg + SUBDIR += py-cel-python SUBDIR += py-celery SUBDIR += py-celery-progress SUBDIR += py-celery-singleton diff --git a/devel/py-cel-python/Makefile b/devel/py-cel-python/Makefile new file mode 100644 index 000000000000..12e933ad3a7a --- /dev/null +++ b/devel/py-cel-python/Makefile @@ -0,0 +1,29 @@ +PORTNAME= cel-python +PORTVERSION= 0.2.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= cel_python-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Pure Python implementation of Google Common Expression Language +WWW= https://cloud-custodian.github.io/cel-python/build/html/ \ + https://github.com/cloud-custodian/cel-python + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jmespath>=1.0.1<2:devel/py-jmespath@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lark>=0.12.0:devel/py-lark@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.9.0.post0<3:devel/py-python-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.1<7:devel/py-pyyaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}types-python-dateutil>=2.8.19<3:devel/py-types-python-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}types-pyyaml>=6.0.12.20240311<7:devel/py-types-pyyaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-cel-python/distinfo b/devel/py-cel-python/distinfo new file mode 100644 index 000000000000..2710c2362ba5 --- /dev/null +++ b/devel/py-cel-python/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1763853132 +SHA256 (cel_python-0.2.0.tar.gz) = 75de72a5cf223ec690b236f0cc24da267219e667bd3e7f8f4f20595fcc1c0c0f +SIZE (cel_python-0.2.0.tar.gz) = 67185 diff --git a/devel/py-cel-python/files/patch-pyproject.toml b/devel/py-cel-python/files/patch-pyproject.toml new file mode 100644 index 000000000000..71b2801e1e7c --- /dev/null +++ b/devel/py-cel-python/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2025-02-14 11:36:11 UTC ++++ pyproject.toml +@@ -45,7 +45,7 @@ types-pyyaml = "^6.0.12.20240311" + python-dateutil = "^2.9.0.post0" + pyyaml = "^6.0.1" + types-pyyaml = "^6.0.12.20240311" +-types-python-dateutil = "^2.9.0.20240316" ++types-python-dateutil = "^2.8.19" + + [tool.poetry.group.dev.dependencies] + behave = "^1.2.6" diff --git a/devel/py-cel-python/pkg-descr b/devel/py-cel-python/pkg-descr new file mode 100644 index 000000000000..ef391e5c3686 --- /dev/null +++ b/devel/py-cel-python/pkg-descr @@ -0,0 +1,5 @@ +Pure Python implementation of Google Common Expression Language. + +This implementation has minimal dependencies, runs quickly, and can be embedded +into Python-based applications. Specifically, the intent is to be part of Cloud +Custodian, C7N, as part of the security policy filter.