%global srcname babelfish Name: python-%{srcname} Version: 0.6.1 Release: 2%{?dist} Summary: Python library to work with countries and languages # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://babelfish.readthedocs.org/ Source: https://github.com/Diaoul/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytest %generate_buildrequires %pyproject_buildrequires %description Babelfish makes it easy to work with countries, languages, scripts, ISO codes and IETF codes from Python. It has converters between all different data can be extended to use custom converters and data. %package -n python3-%{srcname} Summary: Python library to work with countries and languages %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} Babelfish makes it easy to work with countries, languages, scripts, ISO codes and IETF codes from Python. It has converters between all different data can be extended to use custom converters and data. %prep %autosetup -n %{srcname}-%{version} %build %pyproject_wheel %install %pyproject_install %check %pytest %files -n python3-%{srcname} %license LICENSE %doc README.md %{python3_sitelib}/%{srcname} %{python3_sitelib}/%{srcname}-%{version}.dist-info %changelog * Wed Sep 04 2024 Miroslav Suchý - 0.6.1-2 - convert license to SPDX * Wed Sep 04 2024 Juan Orti Alcaine - 0.6.1-1 - Version 0.6.1 * Fri Jul 19 2024 Fedora Release Engineering - 0.6.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.6.0-12 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.6.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.6.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.6.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 0.6.0-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.6.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Nov 23 2022 Juan Orti Alcaine - 0.6.0-6 - Add BR: python3-setuptools (RHBZ#2142047) * Fri Jul 22 2022 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 0.6.0-4 - Rebuilt for Python 3.11 * Mon Mar 21 2022 Juan Orti Alcaine - 0.6.0-3 - Use pyproject macros * Fri Jan 21 2022 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 04 2022 Juan Orti Alcaine - 0.6.0-1 - Version 0.6.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.5.5-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.5.5-23 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.5.5-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Oct 08 2020 Juan Orti Alcaine - 0.5.5-21 - BR: python3-setuptools * Tue Jul 28 2020 Fedora Release Engineering - 0.5.5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.5.5-19 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.5.5-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 23 2020 Juan Orti Alcaine - 0.5.5-17 - Add patch for Python 3.9 support * Thu Oct 03 2019 Miro Hrončok - 0.5.5-16 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.5.5-15 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.5.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.5.5-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 22 2019 Miro Hrončok - 0.5.5-12 - Subpackage python2-babelfish has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Fri Jul 13 2018 Fedora Release Engineering - 0.5.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.5.5-10 - Rebuilt for Python 3.7 * Tue Jun 19 2018 Miro Hrončok - 0.5.5-9 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.5.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.5.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Jul 01 2017 Juan Orti Alcaine - 0.5.5-6 - Python3 changes * Sat Feb 11 2017 Fedora Release Engineering - 0.5.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.5.5-4 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.5.5-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri Mar 11 2016 Juan Orti Alcaine - 0.5.5-2 - LICENSE in doc subpackage - Make test.py executable * Wed Jan 13 2016 Juan Orti Alcaine - 0.5.5-1 - Initial package