Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-FormEncode for
openSUSE:Factory checked in at 2023-07-24 18:12:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-FormEncode (Old)
and /work/SRC/openSUSE:Factory/.python-FormEncode.new.1467 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-FormEncode"
Mon Jul 24 18:12:00 2023 rev:18 rq:1099155 version:2.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-FormEncode/python-FormEncode.changes
2023-04-22 22:03:32.786323453 +0200
+++
/work/SRC/openSUSE:Factory/.python-FormEncode.new.1467/python-FormEncode.changes
2023-07-24 18:12:16.505320365 +0200
@@ -1,0 +2,7 @@
+Tue Jul 18 02:48:07 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Clean up Python 2 leftovers.
+- Switch to pyproject macros.
+- Drop BuildRequires on setuptools_scm_git_archive
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-FormEncode.spec ++++++
--- /var/tmp/diff_new_pack.icQufW/_old 2023-07-24 18:12:17.197324438 +0200
+++ /var/tmp/diff_new_pack.icQufW/_new 2023-07-24 18:12:17.201324461 +0200
@@ -16,9 +16,6 @@
#
-%define oldpython python
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without python2
%{?sle15_python_module_pythons}
Name: python-FormEncode
Version: 2.0.1
@@ -29,20 +26,17 @@
URL: http://formencode.org
Source:
https://files.pythonhosted.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz
BuildRequires: %{python_module dnspython}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pycountry}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools_scm_git_archive}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
-%ifpython2
-Provides: %{oldpython}-formencode = %{version}
-Obsoletes: %{oldpython}-formencode < %{version}
-%endif
%python_subpackages
%description
@@ -54,10 +48,10 @@
%setup -q -n FormEncode-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
rm %{buildroot}%{_prefix}/LICENSE.txt
# trick find-lang.sh into finding the translation files
%python_expand mv %{buildroot}%{$python_sitelib}/formencode/{i18n,locale}