Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-colorclass for
openSUSE:Factory checked in at 2022-01-14 23:13:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-colorclass (Old)
and /work/SRC/openSUSE:Factory/.python-colorclass.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-colorclass"
Fri Jan 14 23:13:17 2022 rev:3 rq:946358 version:2.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-colorclass/python-colorclass.changes
2019-06-06 18:19:26.436648810 +0200
+++
/work/SRC/openSUSE:Factory/.python-colorclass.new.1892/python-colorclass.changes
2022-01-14 23:14:44.114689601 +0100
@@ -1,0 +2,9 @@
+Thu Jan 13 22:29:37 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 2.2.2
+ * no release notes
+ * new maintainer, new Github repository
+ * PEP517 style build with poetry backend
+ * Python 3.10 support by collections.abc import fix
+
+-------------------------------------------------------------------
Old:
----
v2.2.0.tar.gz
New:
----
colorclass-2.2.2-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-colorclass.spec ++++++
--- /var/tmp/diff_new_pack.M7Ar8X/_old 2022-01-14 23:14:44.526689867 +0100
+++ /var/tmp/diff_new_pack.M7Ar8X/_new 2022-01-14 23:14:44.530689870 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-colorclass
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-colorclass
-Version: 2.2.0
+Version: 2.2.2
Release: 0
Summary: ANSI text color library for Python
License: MIT
Group: Development/Languages/Python
-Url: https://github.com/Robpol86/colorclass
-# https://github.com/Robpol86/colorclass/issues/25
-Source:
https://github.com/Robpol86/colorclass/archive/v%{version}.tar.gz
+URL: https://github.com/matthewdeanmartin/colorclass/
+Source:
https://github.com/matthewdeanmartin/colorclass/archive/refs/tags/v%{version}.tar.gz#/colorclass-%{version}-gh.tar.gz
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module poetry}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -41,22 +41,26 @@
In Python 2.x, this library subclasses `unicode`, while on
Python 3.x, it subclasses `str`.
-* Python 2.6, 2.7, PyPy, PyPy3, 3.3, 3.4, and 3.5 are supported
-
%prep
%setup -q -n colorclass-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%pyproject_install
+%{python_expand #
+# show rpmlint a non-empty metadata file (poetry creates those)
+echo " " >>
%{buildroot}%{$python_sitelib}/colorclass-%{version}.dist-info/entry_points.txt
+# standard dedup
+%fdupes %{buildroot}%{$python_sitelib}
+}
%check
%pytest -k 'not test_piped'
%files %{python_files}
-%{python_sitelib}/*
+%{python_sitelib}/colorclass
+%{python_sitelib}/colorclass-%{version}.dist-info
%changelog