Accepting request 998013 from home:bnavigator:branches:devel:languages:python
- Clean requirements: We don't need anything OBS-URL: https://build.opensuse.org/request/show/998013 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=27
This commit is contained in:
parent
8dca1a6616
commit
eac72ae8c5
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 18 15:34:14 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Clean requirements: We don't need anything
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 19 11:38:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Tue Jul 19 11:38:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-charset-normalizer
|
Name: python-charset-normalizer
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
@ -28,25 +28,12 @@ Source: https://github.com/Ousret/charset_normalizer/archive/refs/tags/%
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cached-property >= 1.5
|
|
||||||
Requires: python-dragonmapper >= 0.2
|
|
||||||
Requires: python-loguru >= 0.5
|
|
||||||
Requires: python-prettytable
|
|
||||||
Requires: python-zhon
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
Suggests: python-requests
|
|
||||||
Suggests: python-requests-html
|
|
||||||
Suggests: python-unicodedata2
|
Suggests: python-unicodedata2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module prettytable}
|
|
||||||
BuildRequires: %{python_module cached-property >= 1.5}
|
|
||||||
BuildRequires: %{python_module dragonmapper >= 0.2}
|
|
||||||
BuildRequires: %{python_module loguru >= 0.5}
|
|
||||||
BuildRequires: %{python_module pytest-cov}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module zhon}
|
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -55,6 +42,8 @@ Python Universal Charset detector.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n charset_normalizer-%{version}
|
%setup -q -n charset_normalizer-%{version}
|
||||||
|
# remove code coverage flags from pytest
|
||||||
|
sed -i '/addopts/d' setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -77,6 +66,7 @@ Python Universal Charset detector.
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/normalizer
|
%python_alternative %{_bindir}/normalizer
|
||||||
%{python_sitelib}/charset_normalizer*
|
%{python_sitelib}/charset_normalizer
|
||||||
|
%{python_sitelib}/charset_normalizer-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user