[packages/python3-cucumber-expressions] - new
qboosh
qboosh at pld-linux.org
Mon Mar 9 18:21:28 CET 2026
commit c37f73378577b53e3c3b7690a55b7eaad885ec76
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Mar 9 18:21:18 2026 +0100
- new
cucumber_expressions-requires.patch | 10 ++++++
python3-cucumber-expressions.spec | 66 +++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
---
diff --git a/python3-cucumber-expressions.spec b/python3-cucumber-expressions.spec
new file mode 100644
index 0000000..7668046
--- /dev/null
+++ b/python3-cucumber-expressions.spec
@@ -0,0 +1,66 @@
+#
+# Conditional build:
+%bcond_with tests # unit tests (not included in sdist)
+
+Summary: Cucumber Expressions - a simpler alternative to Regular Expressions
+Summary(pl.UTF-8): Wyrażenia ogórkowe - prostsza alternatywa dla wyrażeń regularnych
+Name: python3-cucumber-expressions
+Version: 19.0.0
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/cucumber-expressions/
+Source0: https://files.pythonhosted.org/packages/source/c/cucumber-expressions/cucumber_expressions-%{version}.tar.gz
+# Source0-md5: 03929113ea5ce6fbb9356a6fbf8b3934
+Patch0: cucumber_expressions-requires.patch
+URL: https://pypi.org/project/cucumber-expressions/
+BuildRequires: python3-build
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.10
+BuildRequires: python3-uv-build >= 0.9.0
+BuildRequires: python3-uv-build < 0.11
+%if %{with tests}
+BuildRequires: python3-PyYAML >= 6.0.3
+BuildRequires: python3-pytest >= 8.4.2
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.10
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Cucumber Expressions for Python.
+
+Cucumber tag-expressions provide readable boolean expressions to
+select features and scenarios marked with tags in Gherkin files in an
+easy way.
+
+%description -l pl.UTF-8
+Cucumber Expressions ("wyrażenia ogórkowe") dla Pythona.
+
+%prep
+%setup -q -n cucumber_expressions-%{version}
+%patch -P0 -p1
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{py3_sitescriptdir}/cucumber_expressions
+%{py3_sitescriptdir}/cucumber_expressions-%{version}.dist-info
diff --git a/cucumber_expressions-requires.patch b/cucumber_expressions-requires.patch
new file mode 100644
index 0000000..8cd65a1
--- /dev/null
+++ b/cucumber_expressions-requires.patch
@@ -0,0 +1,10 @@
+--- cucumber_expressions-19.0.0/pyproject.toml.orig 1970-01-01 01:00:00.000000000 +0100
++++ cucumber_expressions-19.0.0/pyproject.toml 2026-03-09 18:07:09.856442632 +0100
+@@ -1,6 +1,6 @@
+ [build-system]
+ build-backend = "uv_build"
+-requires = ["uv_build>=0.9.0,<0.10.0"]
++requires = ["uv_build>=0.9.0,<0.11.0"]
+
+ [project]
+ name = "cucumber-expressions"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-cucumber-expressions.git/commitdiff/c37f73378577b53e3c3b7690a55b7eaad885ec76
More information about the pld-cvs-commit
mailing list