# Created by pyp2rpm-3.3.2 %global pypi_name unicodedata2 %bcond_with tests Name: python-%{pypi_name} Version: 14.0.0 Release: %mkrel 2 Summary: Unicodedata backport for python 2/3 updated to the latest unicode version Group: Development/Python License: Apache License 2.0 URL: https://github.com/mikekap/unicodedata2 Source0: https://files.pythonhosted.org/packages/source/u/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description The versions of this package match unicode versions, so unicodedata2==%{version} is data from unicode %{version}. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} The versions of this package match unicode versions, so unicodedata2==%{version} is data from unicode %{version}. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %if %{with tests} %check %{__python3} setup.py test %endif %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitearch}/%{pypi_name}*.so %{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * Sat Mar 19 2022 umeabot <umeabot> 14.0.0-2.mga9 + Revision: 1799212 - Mageia 9 Mass Rebuild * Sat Feb 19 2022 mrambo3501 <mrambo3501> 14.0.0-1.mga9 + Revision: 1781290 - version 14.0.0 - rebuild for python-3.10 * Mon Apr 19 2021 daviddavid <daviddavid> 13.0.0.post2-2.mga9 + Revision: 1717043 - rebuild for python 3.9 * Sun Jun 21 2020 wally <wally> 13.0.0.post2-1.mga8 + Revision: 1598208 - new version 13.0.0.post2 * Sun Feb 16 2020 umeabot <umeabot> 12.0.0-3.mga8 + Revision: 1532616 - Mageia 8 Mass Rebuild * Mon Sep 16 2019 tv <tv> 12.0.0-2.mga8 + Revision: 1442520 - rebuild for python-3.8 * Mon Aug 19 2019 wally <wally> 12.0.0-1.mga8 + Revision: 1430107 - new version 12.0.0 - drop python2 support * Tue Jan 08 2019 tv <tv> 11.0.0-2.mga7 + Revision: 1352481 - rebuild with python 3.7 * Sat Dec 01 2018 wally <wally> 11.0.0-1.mga7 + Revision: 1337155 - imported package python-unicodedata2