%global modname idna-ssl # Circular dependency with aiohttp %bcond_with check Name: python-%{modname} Version: 1.1.0 Release: 17%{?dist} Summary: Patch ssl.match_hostname for Unicode(idna) domains support License: MIT URL: https://github.com/aio-libs/idna_ssl Source0: %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz BuildArch: noarch %description %{summary}. %package -n python3-%{modname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with check} BuildRequires: python3dist(pytest-runner) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-asyncio) BuildRequires: python3dist(pytest-cov) BuildRequires: python3dist(aiohttp) > 2.3 BuildRequires: python3dist(idna) >= 2 %endif %{?python_provide:%python_provide python3-%{modname}} %description -n python3-%{modname} %{summary}. %prep %autosetup -n %{modname}-%{version} %build %py3_build %install %py3_install %if %{with check} %check %{__python3} setup.py pytest %endif %files %license LICENSE %doc README.rst example.py %{python3_sitelib}/idna_ssl-*.egg-info/ %{python3_sitelib}/idna_ssl.py %{python3_sitelib}/__pycache__/idna_ssl.* %changelog * Fri Jan 20 2023 Fedora Release Engineering - 1.1.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.1.0-15 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.1.0-12 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri May 29 2020 Fabian Affolter - 1.1.0-9 - Fix typo in provide macro * Tue May 26 2020 Miro Hrončok - 1.1.0-8 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.1.0-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.1.0-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jul 07 2018 Igor Gnatenko - 1.1.0-1 - Update to 1.1.0 * Tue Jun 19 2018 Miro Hrončok - 1.0.0-2 - Rebuilt for Python 3.7 * Sat Feb 10 2018 Igor Gnatenko - 1.0.0-1 - Initial package