Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ptpython for openSUSE:Factory checked in at 2025-06-11 16:25:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ptpython (Old) and /work/SRC/openSUSE:Factory/.python-ptpython.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ptpython" Wed Jun 11 16:25:41 2025 rev:16 rq:1284625 version:3.0.29 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ptpython/python-ptpython.changes 2024-09-02 13:14:19.946057907 +0200 +++ /work/SRC/openSUSE:Factory/.python-ptpython.new.19631/python-ptpython.changes 2025-06-11 16:27:32.411011883 +0200 @@ -1,0 +2,6 @@ +Wed Jun 11 05:51:31 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ptpython.spec ++++++ --- /var/tmp/diff_new_pack.jXMXuk/_old 2025-06-11 16:27:33.215045423 +0200 +++ /var/tmp/diff_new_pack.jXMXuk/_new 2025-06-11 16:27:33.219045590 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-ptpython # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,9 @@ URL: https://github.com/jonathanslenders/ptpython Source: https://files.pythonhosted.org/packages/source/p/ptpython/ptpython-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Pygments @@ -47,7 +49,7 @@ %python_subpackages %description -Ptpython is an advanced Python REPL. +Ptpython is an advanced Python REPL, built using prompt_toolkit. %package ptipython Summary: Python REPL build on top of prompt_toolkit - IPython support @@ -65,10 +67,10 @@ sed -i -e '/^#!\//, 1d' ptpython/entry_points/run_*.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} rm %{buildroot}%{_bindir}/pt{,i}python?* %python_clone -a %{buildroot}%{_bindir}/ptpython @@ -92,7 +94,8 @@ %files %{python_files} %doc CHANGELOG README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/ptpython +%{python_sitelib}/ptpython-%{version}.dist-info %python_alternative %{_bindir}/ptpython %files %{python_files ptipython}