Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyenchant for
openSUSE:Factory checked in at 2023-10-02 20:04:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyenchant (Old)
and /work/SRC/openSUSE:Factory/.python-pyenchant.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyenchant"
Mon Oct 2 20:04:04 2023 rev:21 rq:1114536 version:3.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyenchant/python-pyenchant.changes
2021-12-09 19:45:10.777120845 +0100
+++
/work/SRC/openSUSE:Factory/.python-pyenchant.new.28202/python-pyenchant.changes
2023-10-02 20:04:14.357998847 +0200
@@ -1,0 +2,6 @@
+Sat Sep 30 09:49:17 UTC 2023 - Ben Greiner <[email protected]>
+
+- Move to PEP517
+- Add sle15_python_module_pythons (for mygnuhealth)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyenchant.spec ++++++
--- /var/tmp/diff_new_pack.Ly8dCa/_old 2023-10-02 20:04:15.478039127 +0200
+++ /var/tmp/diff_new_pack.Ly8dCa/_new 2023-10-02 20:04:15.478039127 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pyenchant
#
-# Copyright (c) 2021 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,8 +16,7 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-pyenchant
Version: 3.2.2
Release: 0
@@ -25,8 +24,10 @@
License: LGPL-2.1-or-later
URL: https://pyenchant.github.io/pyenchant
Source:
https://github.com/pyenchant/pyenchant/archive/v%{version}.tar.gz#/pyenchant-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
%if 0%{?suse_version} > 1500
BuildRequires: enchant-2-backend-hunspell
%else
@@ -56,10 +57,10 @@
rm -rf website .github archive tools
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -71,5 +72,5 @@
%license LICENSE.txt
%doc README.rst TODO.txt
%{python_sitelib}/enchant
-%{python_sitelib}/pyenchant-%{version}-py*.egg-info
+%{python_sitelib}/pyenchant-%{version}.dist-info