forked from pool/python-cchardet
Accepting request 1067843 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1067843 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cchardet?expand=0&rev=6
This commit is contained in:
commit
75b3af7be2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf
|
||||
size 653617
|
3
faust-cchardet-2.1.18.tar.gz
Normal file
3
faust-cchardet-2.1.18.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d374eecad23c68383e549c83e90b16788bde6b0354fd5ece4020b046df5a7c7e
|
||||
size 655620
|
@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 26 19:06:23 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
- Add denose.patch (gh#PyYoshi/cChardet!87) and enable tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 07:27:48 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Clean up SPEC file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 20 13:12:19 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- To fix build error correct capitalization of python modul Cython.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 19 12:37:25 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -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 @@ Requires(postun):update-alternatives
|
||||
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 @@ cChardet is high speed universal character encoding detector. - binding to `ucha
|
||||
%license COPYING
|
||||
%doc README.rst
|
||||
%python_alternative %{_bindir}/cchardetect
|
||||
%{python_sitearch}/*
|
||||
%{python_sitearch}/cchardet
|
||||
%{python_sitearch}/%(echo %{modname}|tr '-' '_')-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user