Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pprintpp for openSUSE:Factory 
checked in at 2023-03-03 22:28:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pprintpp (Old)
 and      /work/SRC/openSUSE:Factory/.python-pprintpp.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pprintpp"

Fri Mar  3 22:28:36 2023 rev:6 rq:1069144 version:0.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pprintpp/python-pprintpp.changes  
2022-02-09 22:04:15.597619925 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pprintpp.new.31432/python-pprintpp.changes   
    2023-03-03 22:31:44.996118936 +0100
@@ -1,0 +2,5 @@
+Fri Feb 24 11:29:28 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Add python-311.patch to support python 3.11
+
+-------------------------------------------------------------------

New:
----
  python-311.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pprintpp.spec ++++++
--- /var/tmp/diff_new_pack.eRTyME/_old  2023-03-03 22:31:45.612121563 +0100
+++ /var/tmp/diff_new_pack.eRTyME/_new  2023-03-03 22:31:45.616121579 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pprintpp
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pprintpp
 Version:        0.4.0
 Release:        0
@@ -29,6 +28,8 @@
 Patch0:         3a35e815.patch
 # gh#wolever/pprintpp#28
 Patch1:         python-pprintpp-remove-nose.patch
+# PATCH-FIX-OPENSUSE python-311.patch small fix to support python 3.11
+Patch2:         python-311.patch
 BuildRequires:  %{python_module parameterized}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -43,9 +44,7 @@
 A drop-in replacement for pprint that is arguably prettier.
 
 %prep
-%setup -q -n pprintpp-%{version}
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1 -n pprintpp-%{version}
 
 %build
 export LANG=en_US.utf-8
@@ -71,6 +70,7 @@
 %doc CHANGELOG.txt README.rst
 %license LICENSE.txt
 %python_alternative %{_bindir}/pypprint
-%{python_sitelib}/*
+%{python_sitelib}/pprintpp
+%{python_sitelib}/pprintpp-%{version}*-info
 
 %changelog

++++++ python-311.patch ++++++
Index: pprintpp-0.4.0/setup.py
===================================================================
--- pprintpp-0.4.0.orig/setup.py
+++ pprintpp-0.4.0/setup.py
@@ -8,7 +8,7 @@ from setuptools import setup
 os.chdir(os.path.dirname(sys.argv[0]) or ".")
 
 try:
-    long_description = open("README.rst", "U").read()
+    long_description = open("README.rst").read()
 except IOError:
     long_description = "See https://github.com/wolever/pprintpp";
 

Reply via email to