[packages/python3] - up to 3.13.2
baggins
baggins at pld-linux.org
Sat Mar 8 14:45:11 CET 2025
commit 4dcc0060498f643c96260ed79330c93fa70eff48
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Mar 8 15:00:13 2025 +0100
- up to 3.13.2
python3-tests_with_pythonpath.patch | 2 +-
python3.spec | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index 8a6e260..8de330c 100644
--- a/python3.spec
+++ b/python3.spec
@@ -47,13 +47,13 @@ Summary(ru.UTF-8): Язык программирования очень высо
Summary(tr.UTF-8): X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
Name: python3
-Version: %{py_ver}.0
+Version: %{py_ver}.2
Release: 0.1
Epoch: 1
License: PSF
Group: Development/Languages/Python
Source0: https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
-# Source0-md5: 726e5b829fcf352326874c1ae599abaa
+# Source0-md5: 4c2d9202ab4db02c9d0999b14655dfe5
Source1: pyconfig.h.in
Patch2: %{name}-multilib.patch
@@ -754,7 +754,9 @@ rm -rf $RPM_BUILD_ROOT
%dir %{py_libdir}/config-%{py_platform}
%{py_libdir}/config-%{py_platform}/Makefile
%{py_libdir}/config-%{py_platform}/Setup
+%{py_libdir}/config-%{py_platform}/Setup.bootstrap
%{py_libdir}/config-%{py_platform}/Setup.local
+%{py_libdir}/config-%{py_platform}/Setup.stdlib
%{py_libdir}/config-%{py_platform}/pyconfig.h
%files modules
@@ -764,6 +766,7 @@ rm -rf $RPM_BUILD_ROOT
%{py_libdir}/__hello__.py
%{py_libdir}/_aix_support.py
%{py_libdir}/_android_support.py
+%{py_libdir}/_apple_support.py
%{py_libdir}/_colorize.py
%{py_libdir}/_compat_pickle.py
%{py_libdir}/_compression.py
@@ -884,6 +887,7 @@ rm -rf $RPM_BUILD_ROOT
%{py_libdir}/__pycache__/__hello__.cpython-*.py[co]
%{py_libdir}/__pycache__/_aix_support.cpython-*.py[co]
%{py_libdir}/__pycache__/_android_support.cpython-*.py[co]
+%{py_libdir}/__pycache__/_apple_support.cpython-*.py[co]
%{py_libdir}/__pycache__/_colorize.cpython-*.py[co]
%{py_libdir}/__pycache__/_compat_pickle.cpython-*.py[co]
%{py_libdir}/__pycache__/_compression.cpython-*.py[co]
diff --git a/python3-tests_with_pythonpath.patch b/python3-tests_with_pythonpath.patch
index 2492cae..c79f15a 100644
--- a/python3-tests_with_pythonpath.patch
+++ b/python3-tests_with_pythonpath.patch
@@ -94,7 +94,7 @@ diff -urNp -x '*.orig' Python-3.9.2.org/Lib/test/test_venv.py Python-3.9.2/Lib/t
"""
Test that the sys.executable value is as expected.
@@ -673,6 +673,7 @@ class BasicTest(BaseTest):
- self.assertFalse(same_path(path1, path2))
+
@requireVenvCreate
+ at unittest.skipIf("PYTHONPATH" in os.environ, "$PYTHONPATH set")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/4dcc0060498f643c96260ed79330c93fa70eff48
More information about the pld-cvs-commit
mailing list