Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ply for openSUSE:Factory 
checked in at 2023-12-14 22:02:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ply (Old)
 and      /work/SRC/openSUSE:Factory/.python-ply.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ply"

Thu Dec 14 22:02:24 2023 rev:32 rq:1132798 version:3.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ply/python-ply.changes    2023-05-05 
15:56:47.635916285 +0200
+++ /work/SRC/openSUSE:Factory/.python-ply.new.25432/python-ply.changes 
2023-12-14 22:02:26.106540649 +0100
@@ -1,0 +2,8 @@
+Wed Dec 13 06:30:27 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Add patch fix-assert-methods.patch:
+  * Support Python 3.12 by not using removed assertion methods.
+- Switch to autosetup and pyproject macros.
+- Stop using greedy globs in %files.
+
+-------------------------------------------------------------------

New:
----
  fix-assert-methods.patch

BETA DEBUG BEGIN:
  New:
- Add patch fix-assert-methods.patch:
  * Support Python 3.12 by not using removed assertion methods.
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-ply.spec ++++++
--- /var/tmp/diff_new_pack.Ggaulm/_old  2023-12-14 22:02:26.678561281 +0100
+++ /var/tmp/diff_new_pack.Ggaulm/_new  2023-12-14 22:02:26.678561281 +0100
@@ -22,11 +22,13 @@
 Release:        0
 Summary:        Python Lex & Yacc
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            http://www.dabeaz.com/ply/
 Source:         
https://files.pythonhosted.org/packages/source/p/ply/ply-%{version}.tar.gz
 Patch0:         python-ply-shebangs.patch
+Patch1:         fix-assert-methods.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -62,8 +64,7 @@
 %endif
 
 %prep
-%setup -q -n ply-%{version}
-%patch0 -p1
+%autosetup -p1 -n ply-%{version}
 # remove unneeded executable bit
 chmod -x test/testlex.py
 
@@ -74,10 +75,10 @@
 %fdupes example
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -92,7 +93,8 @@
 # yay for upstream that puts the license to readme
 %license README.md
 %doc ANNOUNCE CHANGES README.md TODO
-%{python_sitelib}/*
+%{python_sitelib}/ply
+%{python_sitelib}/ply-%{version}.dist-info
 
 %if 0%{?suse_version} > 1500
 %files -n %{name}-doc

++++++ fix-assert-methods.patch ++++++
++++ 802 lines (skipped)

Reply via email to