Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cchardet for openSUSE:Factory
checked in at 2023-02-27 12:55:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cchardet (Old)
and /work/SRC/openSUSE:Factory/.python-cchardet.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cchardet"
Mon Feb 27 12:55:29 2023 rev:6 rq:1067843 version:2.1.18
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cchardet/python-cchardet.changes
2023-02-19 18:19:57.405860299 +0100
+++
/work/SRC/openSUSE:Factory/.python-cchardet.new.31432/python-cchardet.changes
2023-02-27 12:55:30.595474837 +0100
@@ -1,0 +2,28 @@
+Sun Feb 26 19:06:23 UTC 2023 - Matej Cepl <[email protected]>
+
+- Upstream became stale, switching to the fork
+ https://github.com/faust-streaming/cChardet
+- Update to 2.1.18:
+ - Fix building source distribution
+ - Fix pep517 builds
+ - Time to continue off where the original project left off!
+ - Support Python 3.10 + 3.11
+ - Add linux aarch64 wheel support
+- Removed upstreamed denose.patch
+
+-------------------------------------------------------------------
+Tue Feb 21 07:47:56 UTC 2023 - Matej Cepl <[email protected]>
+
+- Add denose.patch (gh#PyYoshi/cChardet!87) and enable tests.
+
+-------------------------------------------------------------------
+Tue Feb 21 07:27:48 UTC 2023 - Matej Cepl <[email protected]>
+
+- Clean up SPEC file
+
+-------------------------------------------------------------------
+Mon Feb 20 13:12:19 UTC 2023 - ecsos <[email protected]>
+
+- To fix build error correct capitalization of python modul Cython.
+
+-------------------------------------------------------------------
Old:
----
cchardet-2.1.7.tar.gz
New:
----
faust-cchardet-2.1.18.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cchardet.spec ++++++
--- /var/tmp/diff_new_pack.dIecqA/_old 2023-02-27 12:55:31.047477623 +0100
+++ /var/tmp/diff_new_pack.dIecqA/_new 2023-02-27 12:55:31.051477648 +0100
@@ -16,18 +16,20 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
+%define modname faust-cchardet
Name: python-cchardet
-Version: 2.1.7
+Version: 2.1.18
Release: 0
Summary: CChardet is high speed universal character encoding detector
License: GPL-2.0-or-later OR LGPL-2.1-or-later OR MPL-1.1
-URL: https://github.com/PyYoshi/cChardet
-Source:
https://files.pythonhosted.org/packages/source/c/cchardet/cchardet-%{version}.tar.gz
-BuildRequires: %{python_module cython}
+URL: https://github.com/faust-streaming/cChardet
+Source:
https://files.pythonhosted.org/packages/source/f/%{modname}/%{modname}-%{version}.tar.gz
+BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@@ -41,16 +43,19 @@
cChardet is high speed universal character encoding detector. - binding to
`uchardet`_.
%prep
-%setup -q -n cchardet-%{version}
+%autosetup -p1 -n %{modname}-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/cchardetect
%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%check
+%pytest_arch src/tests
+
%post
%python_install_alternative cchardetect
@@ -61,6 +66,7 @@
%license COPYING
%doc README.rst
%python_alternative %{_bindir}/cchardetect
-%{python_sitearch}/*
+%{python_sitearch}/cchardet
+%{python_sitearch}/%(echo %{modname}|tr '-' '_')-%{version}*-info
%changelog