1
0

9 Commits

Author SHA256 Message Date
9111c79b08 Accepting request 1288521 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1288521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cchardet?expand=0&rev=9
2025-06-26 09:34:32 +00:00
8f4c912082 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cchardet?expand=0&rev=21
2025-06-25 11:45:23 +00:00
107e60a378 Accepting request 1114692 from devel:languages:python
- update to 2.1.19:
  * Update pyproject.toml to try building wheels for every Python
    implementation

- build with cythonize to have working code for python 3.11
- initial commit

OBS-URL: https://build.opensuse.org/request/show/1114692
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cchardet?expand=0&rev=8
2023-10-02 18:07:01 +00:00
bab67adcfe Accepting request 1094472 from devel:languages:python
Forwarded request #1094349 from ecsos

- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1094472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cchardet?expand=0&rev=7
2023-06-21 20:40:32 +00:00
75b3af7be2 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
2023-02-27 11:55:29 +00:00
38b70f0aeb Accepting request 1066619 from devel:languages:python
- build with cythonize to have working code for python 3.11

OBS-URL: https://build.opensuse.org/request/show/1066619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cchardet?expand=0&rev=5
2023-02-19 17:19:56 +00:00
Richard Brown
f0a644e8f6 Accepting request 875285 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/875285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cchardet?expand=0&rev=4
2021-03-05 12:44:11 +00:00
3d7b976fbc Accepting request 834516 from devel:languages:python
- Update to 2.1.6:
  * drop support for Python 2.7
  * support Github Actions
  * update dev-dependencies

OBS-URL: https://build.opensuse.org/request/show/834516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cchardet?expand=0&rev=3
2020-09-15 14:29:23 +00:00
07903b2425 Accepting request 809825 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/809825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cchardet?expand=0&rev=2
2020-06-09 22:44:29 +00:00
2 changed files with 12 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 25 11:45:06 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Mon Oct 2 07:16:32 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cchardet
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,7 @@
%define skip_python2 1
%define modname faust-cchardet
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-cchardet
Version: 2.1.19
@@ -25,19 +26,19 @@ 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/faust-streaming/cChardet
Source: https://files.pythonhosted.org/packages/source/f/%{modname}/%{modname}-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/f/faust-cchardet/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(uchardet)
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires: alts
%python_subpackages
%description
@@ -57,11 +58,8 @@ cChardet is high speed universal character encoding detector. - binding to `ucha
%check
%pytest_arch src/tests
%post
%python_install_alternative cchardetect
%postun
%python_uninstall_alternative cchardetect
%pre
%python_libalternatives_reset_alternative cchardetect
%files %{python_files}
%license COPYING