Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-fontPens for openSUSE:Factory
checked in at 2024-02-29 21:49:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fontPens (Old)
and /work/SRC/openSUSE:Factory/.python-fontPens.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fontPens"
Thu Feb 29 21:49:49 2024 rev:6 rq:1153083 version:0.2.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fontPens/python-fontPens.changes
2021-12-17 23:55:00.503554330 +0100
+++
/work/SRC/openSUSE:Factory/.python-fontPens.new.1770/python-fontPens.changes
2024-02-29 21:50:04.989385447 +0100
@@ -1,0 +2,6 @@
+Thu Feb 29 04:27:13 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to autosetup and pyproject macros.
+- Remove out of date skips.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-fontPens.spec ++++++
--- /var/tmp/diff_new_pack.Vb2n5h/_old 2024-02-29 21:50:06.649446647 +0100
+++ /var/tmp/diff_new_pack.Vb2n5h/_new 2024-02-29 21:50:06.653446795 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-fontPens
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,6 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
-%define skip_python2 1
-%define skip_python36 1
Name: python-fontPens
Version: 0.2.4
Release: 0
@@ -27,7 +24,9 @@
URL: https://github.com/robotools/fontPens
Source:
https://files.pythonhosted.org/packages/source/f/fontPens/fontPens-%{version}.zip
Patch0: fix-fp-issue.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
@@ -44,14 +43,13 @@
A collection of classes implementing the pen protocol for manipulating glyphs.
%prep
-%setup -q -n fontPens-%{version}
-%patch0 -p1
+%autosetup -p1 -n fontPens-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -61,5 +59,5 @@
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/fontPens
-%{python_sitelib}/fontPens-%{version}*-info
+%{python_sitelib}/fontPens-%{version}.dist-info