From e6ec9602255a40e5908d676b0e604a19542aaa73 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 08 2021 07:37:40 +0000 Subject: Import python-webencodings-0.5.1-15.el9 in CloudSIG xena --- diff --git a/.python-webencodings.metadata b/.python-webencodings.metadata index e8b96ff..97f5472 100644 --- a/.python-webencodings.metadata +++ b/.python-webencodings.metadata @@ -1 +1 @@ -115be70cfe16f4d538f9de4f0f6296ff6fdd082e SOURCES/webencodings-0.5.1.tar.gz +115be70cfe16f4d538f9de4f0f6296ff6fdd082e SOURCES/webencodings-0.5.1.tar.gz diff --git a/SPECS/python-webencodings.spec b/SPECS/python-webencodings.spec index cee9a38..84d1074 100644 --- a/SPECS/python-webencodings.spec +++ b/SPECS/python-webencodings.spec @@ -1,16 +1,10 @@ %global srcname webencodings %global desc This is a Python implementation of the WHATWG Encoding standard. -%if 0%{?rhel} > 7 -# Disable python2 build by default -%bcond_with python2 -%else -%bcond_without python2 -%endif Name: python-%{srcname} Version: 0.5.1 -Release: 6%{?dist} +Release: 15%{?dist} BuildArch: noarch License: BSD @@ -18,11 +12,8 @@ Summary: Character encoding for the web URL: https://github.com/gsnedders/python-%{srcname} Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz -%if %{with python2} -BuildRequires: python2-devel -BuildRequires: python2-pytest -%endif # with python2 BuildRequires: python3-devel +BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-sphinx @@ -38,26 +29,13 @@ Summary: Documentation for python-webencodings %description doc Documentation for python-webencodings. -%if %{with python2} -%package -n python2-%{srcname} -Summary: %{summary} - -%{?python_provide:%python_provide python2-%{srcname}} - -Requires: python2 - - -%description -n python2-%{srcname} -%{desc} -%endif # with python2 - %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} -%{?__python3:Requires: %{__python3}} +Requires: python3 %description -n python3-%{srcname} @@ -69,9 +47,6 @@ Summary: %{summary} %build -%if %{with python2} -%py2_build -%endif # with python2 %py3_build PYTHONPATH=. sphinx-build-3 docs docs/_build @@ -82,16 +57,10 @@ rm -rf docs/_build/.doctrees %install -%if %{with python2} -%py2_install -%endif # with python2 %py3_install %check -%if %{with python2} -py.test-2 -%endif # with python2 py.test-3 @@ -99,13 +68,6 @@ py.test-3 %license LICENSE %doc docs/_build -%if %{with python2} -%files -n python2-%{srcname} -%license LICENSE -%doc README.rst -%{python2_sitelib}/%{srcname} -%{python2_sitelib}/*.egg-info -%endif # with python2 %files -n python3-%{srcname} %license LICENSE @@ -115,21 +77,38 @@ py.test-3 %changelog -* Tue Sep 25 2018 Tomas Orsava - 0.5.1-6 -- Require the Python interpreter directly instead of using the package name -- Resolves: rhbz#1633609 +* Thu Jun 03 2021 Python Maint - 0.5.1-15 +- Rebuilt for Python 3.10 -* Fri Jun 22 2018 Charalampos Stratakis - 0.5.1-5 -- Conditionalize the python2 subpackage +* Wed Jan 27 2021 Fedora Release Engineering - 0.5.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild -* Fri Feb 09 2018 Fedora Release Engineering - 0.5.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild +* Wed Jul 29 2020 Fedora Release Engineering - 0.5.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat May 23 2020 Miro Hrončok - 0.5.1-12 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.5.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Sep 17 2019 Randy Barlow - 0.5.1-10 +- Drop python2-webencodings (#1752405). + +* Fri Aug 16 2019 Miro Hrončok - 0.5.1-9 +- Rebuilt for Python 3.8 -* Thu Jul 27 2017 Fedora Release Engineering - 0.5.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild +* Fri Jul 26 2019 Fedora Release Engineering - 0.5.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild -* Tue Jul 25 2017 Randy Barlow - 0.5.1-2 -- Set the PYTHONPATH when building docs so the library is found. +* Sat Feb 02 2019 Fedora Release Engineering - 0.5.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Tue Jul 25 2017 Randy Barlow - 0.5.1-1 -- Initial release +* Sat Jul 14 2018 Fedora Release Engineering - 0.5.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 16 2018 Miro Hrončok - 0.5.1-5 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.5.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild