git: 0177db4ceb34 - main - devel/py-cucumber-expressions: Add py-cucumber-expressions 18.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 07 Sep 2025 23:10:25 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0177db4ceb345185ef5e8a38f15675f596cb0f85

commit 0177db4ceb345185ef5e8a38f15675f596cb0f85
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-07 22:21:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-07 23:03:08 +0000

    devel/py-cucumber-expressions: Add py-cucumber-expressions 18.0.1
    
    Cucumber Expressions is an alternative to Regular Expressions with a more
    intuitive syntax.
    
    Cucumber supports both Cucumber Expressions and Regular Expressions for defining
    Step Definitions, but you cannot mix Cucumber Expression syntax with Regular
    Expression syntax in the same expression.
    
    On platforms that don't have a literal syntax for regular expressions (such as
    Java), Cucumber will create a Cucumber Expression by default. To use Regular
    Expressions, add anchors (starting with ^ and ending with $) or forward slashes
    (/). For more information, see Cucumber Expression - Java Heuristics.
---
 devel/Makefile                          |  1 +
 devel/py-cucumber-expressions/Makefile  | 22 ++++++++++++++++++++++
 devel/py-cucumber-expressions/distinfo  |  3 +++
 devel/py-cucumber-expressions/pkg-descr | 11 +++++++++++
 4 files changed, 37 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index e27903b78991..a7b414fcb045 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4740,6 +4740,7 @@
     SUBDIR += py-csv23
     SUBDIR += py-ctags
     SUBDIR += py-ctypesgen
+    SUBDIR += py-cucumber-expressions
     SUBDIR += py-curio
     SUBDIR += py-cursive
     SUBDIR += py-curtsies
diff --git a/devel/py-cucumber-expressions/Makefile b/devel/py-cucumber-expressions/Makefile
new file mode 100644
index 000000000000..49ddc65daa2b
--- /dev/null
+++ b/devel/py-cucumber-expressions/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	cucumber-expressions
+PORTVERSION=	18.0.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	cucumber_expressions-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Cucumber Expressions - a simpler alternative to Regular Expressions
+WWW=		https://github.com/cucumber/cucumber-expressions
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-cucumber-expressions/distinfo b/devel/py-cucumber-expressions/distinfo
new file mode 100644
index 000000000000..fad0eac91211
--- /dev/null
+++ b/devel/py-cucumber-expressions/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757120468
+SHA256 (cucumber_expressions-18.0.1.tar.gz) = 86ce41bf28ee520408416f38022e5a083d815edf04a0bd1dae46d474ca597c60
+SIZE (cucumber_expressions-18.0.1.tar.gz) = 22232
diff --git a/devel/py-cucumber-expressions/pkg-descr b/devel/py-cucumber-expressions/pkg-descr
new file mode 100644
index 000000000000..8667e9d18dcc
--- /dev/null
+++ b/devel/py-cucumber-expressions/pkg-descr
@@ -0,0 +1,11 @@
+Cucumber Expressions is an alternative to Regular Expressions with a more
+intuitive syntax.
+
+Cucumber supports both Cucumber Expressions and Regular Expressions for defining
+Step Definitions, but you cannot mix Cucumber Expression syntax with Regular
+Expression syntax in the same expression.
+
+On platforms that don't have a literal syntax for regular expressions (such as
+Java), Cucumber will create a Cucumber Expression by default. To use Regular
+Expressions, add anchors (starting with ^ and ending with $) or forward slashes
+(/). For more information, see Cucumber Expression - Java Heuristics.