%global srcname Pyphen %global modname pyphen Name: python-pyphen Version: 0.13.2 Release: 9%{?dist} Summary: Pure Python module to hyphenate text # Automatically converted from old format: GPLv2+ or LGPLv2+ or MPLv1.1 - review is highly recommended. License: GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+ OR LicenseRef-Callaway-MPLv1.1 URL: https://github.com/Kozea/Pyphen Source0: https://github.com/Kozea/%{srcname}/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz Patch1: %{name}-strip-optional-dependencies.patch BuildArch: noarch BuildRequires: pyproject-rpm-macros %description Pyphen is a pure Python module to hyphenate text using existing hyphenation dictionaries, e.g., from Libreoffice language packs. %package -n python3-pyphen Summary: Pure Python module to hyphenate text %description -n python3-pyphen Pyphen is a pure Python module to hyphenate text using existing hyphenation dictionaries, e.g., from Libreoffice language packs. %prep %autosetup -n %{srcname}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires -r -x test %build %pyproject_wheel %install %pyproject_install %check %pytest %files -n python3-pyphen %license LICENSE COPYING.GPL COPYING.LGPL COPYING.MPL %doc README.rst %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-%{version}.dist-info/ %changelog * Wed Sep 04 2024 Miroslav Suchý - 0.13.2-9 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.13.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.13.2-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.13.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.13.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.13.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.13.2-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Dec 27 2022 Felix Schwarz - 0.13.2-1 - update to 0.13.2 * Fri Jul 22 2022 Fedora Release Engineering - 0.12.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 20 2022 Felix Schwarz - 0.12.0-3 - rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 30 2021 Felix Schwarz - 0.12.0-1 - update to 0.12.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jun 26 2021 Felix Schwarz - 0.11.0-1 - update to 0.11.0 * Fri Jun 04 2021 Python Maint - 0.10.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Nov 07 2020 Felix Schwarz - 0.10.0-1 - update to 0.10.0 * Wed Jul 29 2020 Fedora Release Engineering - 0.9.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.9.5-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.9.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Nov 08 2019 Felix Schwarz - 0.9.5-1 - update to new upstream version - use dictionaries shipped by upstream instead of system-provided dicts * Thu Oct 03 2019 Miro Hrončok - 0.9.1-19 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.9.1-18 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.9.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.9.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Dec 27 2018 Miro Hrončok - 0.9.1-15 - Subpackage python2-pyphen has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 0.9.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.9.1-13 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Iryna Shcherbina - 0.9.1-12 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.9.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.9.1-10 - Python 2 binary package renamed to python2-pyphen See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 0.9.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.9.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.9.1-7 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.9.1-6 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Aug 26 2014 Eric Smith 0.9.1-2 - No Python 3 in EL7. * Thu Aug 07 2014 Alon Levy - 0.9.1-1 - Update to latest release, fixes bz 1127837 (for weasyprint 1127836) * Sat Jun 07 2014 Fedora Release Engineering - 0.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Kalev Lember - 0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Tue Jul 23 2013 Eric Smith 0.7-3 - Added Python 3 support. * Mon Jul 22 2013 Eric Smith 0.7-2 - Removed requirement for hyphen-en. - Changed files section based on review request. * Sun Jul 21 2013 Eric Smith 0.7-1 - initial version