2021-07-23 04:21:17 +00:00
|
|
|
Name: python-charset-normalizer
|
2023-01-19 21:50:38 +00:00
|
|
|
Version: 3.0.1
|
|
|
|
Release: 1%{?dist}
|
2021-07-23 04:21:17 +00:00
|
|
|
Summary: The Real First Universal Charset Detector
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/ousret/charset_normalizer
|
|
|
|
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
A library that helps you read text from an unknown charset encoding.
|
|
|
|
Motivated by chardet, trying to resolve the issue by taking
|
|
|
|
a new approach. All IANA character set names for which the Python core
|
|
|
|
library provides codecs are supported.
|
|
|
|
|
|
|
|
%package -n python3-charset-normalizer
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
%description -n python3-charset-normalizer
|
|
|
|
A library that helps you read text from an unknown charset encoding.
|
|
|
|
Motivated by chardet, trying to resolve the issue by taking
|
|
|
|
a new approach. All IANA character set names for which the Python core
|
|
|
|
library provides codecs are supported.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n charset_normalizer-%{version}
|
|
|
|
# Remove pytest-cov settings from setup.cfg
|
|
|
|
sed -i "/addopts = --cov/d" setup.cfg
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires -r
|
|
|
|
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
%install
|
|
|
|
%pyproject_install
|
|
|
|
%pyproject_save_files charset_normalizer
|
|
|
|
|
|
|
|
%check
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
%files -n python3-charset-normalizer -f %{pyproject_files}
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/normalizer
|
|
|
|
|
|
|
|
%changelog
|
2023-01-19 21:50:38 +00:00
|
|
|
* Tue Feb 14 2023 Lumír Balhar <lbalhar@redhat.com> - 3.0.1-1
|
|
|
|
- Update to 3.0.1 (rhbz#2118769)
|
|
|
|
|
2023-01-20 12:03:21 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-22 17:16:04 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-20 06:41:03 +00:00
|
|
|
* Mon Jun 20 2022 Lumír Balhar <lbalhar@redhat.com> - 2.1.0-1
|
|
|
|
- Update to 2.1.0
|
|
|
|
Resolves: rhbz#2098481
|
|
|
|
|
2022-06-13 15:09:19 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.12-2
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-02-15 11:25:56 +00:00
|
|
|
* Mon Feb 14 2022 Lumír Balhar <lbalhar@redhat.com> - 2.0.12-1
|
|
|
|
- Update to 2.0.12
|
|
|
|
Resolves: rhbz#2053838
|
|
|
|
|
2022-01-31 06:12:58 +00:00
|
|
|
* Mon Jan 31 2022 Lumír Balhar <lbalhar@redhat.com> - 2.0.11-1
|
|
|
|
- Update to 2.0.11
|
|
|
|
Resolves: rhbz#2048279
|
|
|
|
|
2022-01-21 11:05:41 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-05 06:20:57 +00:00
|
|
|
* Wed Jan 05 2022 Lumír Balhar <lbalhar@redhat.com> - 2.0.10-1
|
|
|
|
- Update to 2.0.10
|
|
|
|
Resolves: rhbz#2037079
|
|
|
|
|
2021-12-17 23:54:05 +00:00
|
|
|
* Fri Dec 17 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.9-1
|
|
|
|
- Update to 2.0.9
|
|
|
|
Resolves: rhbz#2028947
|
|
|
|
|
2021-11-29 08:26:37 +00:00
|
|
|
* Mon Nov 29 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.8-1
|
|
|
|
- Update to 2.0.8
|
|
|
|
Resolves: rhbz#2026482
|
|
|
|
|
2021-10-14 12:14:54 +00:00
|
|
|
* Thu Oct 14 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.7-1
|
|
|
|
- Update to 2.0.7
|
|
|
|
Resolves: rhbz#2013031
|
|
|
|
|
2021-09-20 11:23:41 +00:00
|
|
|
* Mon Sep 20 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.6-1
|
|
|
|
- Update to 2.0.6
|
|
|
|
Resolves: rhbz#2004262
|
|
|
|
|
2021-08-02 06:31:22 +00:00
|
|
|
* Mon Aug 02 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.4-1
|
|
|
|
- Update to 2.0.4
|
|
|
|
Resolves: rhbz#1988575
|
|
|
|
|
2021-07-23 04:21:17 +00:00
|
|
|
* Wed Jul 21 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.3-1
|
|
|
|
- Initial package
|