[packages/python3] - up to 3.9.4

arekm arekm at pld-linux.org
Mon Apr 5 01:31:28 CEST 2021


commit 4c871dee7762ac78a9f7f544fd57e75dece96342
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Apr 5 01:31:16 2021 +0200

    - up to 3.9.4

 python3-tests.patch | 22 +---------------------
 python3.spec        |  6 +++---
 2 files changed, 4 insertions(+), 24 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index 13cb437..32ae98c 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}.2
-Release:	2
+Version:	%{py_ver}.4
+Release:	1
 Epoch:		1
 License:	PSF
 Group:		Development/Languages/Python
 Source0:	https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
-# Source0-md5:	f0dc9000312abeb16de4eccce9a870ab
+# Source0-md5:	2a3dba5fc75b695c45cf1806156e1a97
 Source1:	pyconfig.h.in
 Patch0:		%{name}-pythonpath.patch
 Patch1:		%{name}-ac_fixes.patch
diff --git a/python3-tests.patch b/python3-tests.patch
index 2ceb7f8..83f26ea 100644
--- a/python3-tests.patch
+++ b/python3-tests.patch
@@ -19,24 +19,4 @@ diff -urNp -x '*.orig' Python-3.9.2.org/Lib/test/test_imaplib.py Python-3.9.2/Li
          self.assertIn(cm.exception.errno, expected_errnos)
  
  
-diff -urNp -x '*.orig' Python-3.9.2.org/Lib/test/test_unicodedata.py Python-3.9.2/Lib/test/test_unicodedata.py
---- Python-3.9.2.org/Lib/test/test_unicodedata.py	2021-02-19 13:31:44.000000000 +0100
-+++ Python-3.9.2/Lib/test/test_unicodedata.py	2021-02-25 18:42:23.540101637 +0100
-@@ -11,7 +11,7 @@ from http.client import HTTPException
- import sys
- import unicodedata
- import unittest
--from test.support import open_urlresource, requires_resource, script_helper
-+from test.support import open_urlresource, requires_resource, script_helper, is_resource_enabled
- 
- 
- class UnicodeMethodsTest(unittest.TestCase):
-@@ -320,6 +320,8 @@ class NormalizationTest(unittest.TestCas
-         data = [int(x, 16) for x in data.split(" ")]
-         return "".join([chr(x) for x in data])
- 
-+    @unittest.skipUnless(is_resource_enabled('network'),
-+                         'network is not enabled')
-     def test_normalization(self):
-         TESTDATAFILE = "NormalizationTest.txt"
-         TESTDATAURL = f"http://www.pythontest.net/unicode/{unicodedata.unidata_version}/{TESTDATAFILE}"
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/4c871dee7762ac78a9f7f544fd57e75dece96342



More information about the pld-cvs-commit mailing list