[packages/python3-regex] Up to 2026.11.9

arekm arekm at pld-linux.org
Thu Nov 12 09:54:21 CET 2026


commit bac5c25d2148634ebf7600270ff40b16c55244c5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 12 03:09:58 2026 +0100

    Up to 2026.11.9

 python3-regex.spec | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/python3-regex.spec b/python3-regex.spec
index 4299a40..c92c91b 100644
--- a/python3-regex.spec
+++ b/python3-regex.spec
@@ -6,19 +6,19 @@
 Summary:	Alternative regular expression module, to replace re
 Summary(pl.UTF-8):	Moduł wyrażeń regularnych alternatywny dla oryginalnego re
 Name:		python3-%{module}
-Version:	2024.11.6
+Version:	2026.11.9
 Release:	1
 License:	PSF, Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/regex/
 Source0:	https://files.pythonhosted.org/packages/source/r/regex/%{module}-%{version}.tar.gz
-# Source0-md5:	02b86394591ba39d34bc35d11e9e7d96
-URL:		https://bitbucket.org/mrabarnett/mrab-regex
-BuildRequires:	python3-devel >= 1:3.8
-BuildRequires:	python3-setuptools
+# Source0-md5:	797a31e5ab7e8a1b51688cab626c978d
+URL:		https://github.com/mrabarnett/mrab-regex
+BuildRequires:	python3-devel >= 1:3.11
+BuildRequires:	python3-setuptools > 1:77.0.3
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.8
+Requires:	python3-modules >= 1:3.11
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,11 +34,8 @@ Moduł wyrażeń regularnych alternatywny dla oryginalnego re.
 %py3_build
 
 %if %{with tests}
-# directory with test_regex.py must not contain regex*
-install -d tests_3
-ln regex_3/test_regex.py tests_3/test_regex.py
 PYTHONPATH=$(echo $(pwd)/build-3/lib.*) \
-%{__python3} tests_3/test_regex.py
+%{__python3} build-3/lib.*/regex/tests/test_regex.py
 %endif
 
 %install
@@ -46,8 +43,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %py3_install
 
-%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/regex/test_regex.py \
-	$RPM_BUILD_ROOT%{py3_sitedir}/regex/__pycache__/test_regex.*
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/regex/tests
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-regex.git/commitdiff/bac5c25d2148634ebf7600270ff40b16c55244c5



More information about the pld-cvs-commit mailing list