%global modname pyramid_mako %global srcname pyramid-mako %global commit 50a2322554a8c058789556e3ebe3af91d0f857a6 %global shortcommit %%(c=%%{commit}; echo ${c:0:7}) %global date 20230112 Name: python-%{srcname} Version: 1.1.0^%{date}%{shortcommit} Release: 6%{?dist} Summary: Mako template bindings for the Pyramid web framework License: BSD-4-Clause URL: http://pypi.python.org/pypi/%{srcname} #Source0: %%pypi_source %%{modname} Source0: https://github.com/Pylons/%{modname}/archive/%{commit}/%{modname}-%{commit}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %description These are bindings for the Mako templating system for the Pyramid web framework. %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} These are bindings for the Mako templating system for the Pyramid web framework. %prep %autosetup -n %{modname}-%{commit} # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info # Remove lingering .gitignore file and hidden static folder rm docs/.gitignore rm -rf docs/.static # Fix BuildRequire on pytest-cover sed -i 's|pytest-cover|pytest-cov|g' setup.cfg %generate_buildrequires %pyproject_buildrequires -x testing %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{modname} %check %pyproject_check_import %pytest tests %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst COPYRIGHT.txt CONTRIBUTORS.txt CHANGES.txt docs/ %license LICENSE.txt %changelog * Fri Jan 26 2024 Fedora Release Engineering - 1.1.0^2023011250a2322-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.1.0^2023011250a2322-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.1.0^2023011250a2322-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 28 2023 Python Maint - 1.1.0^2023011250a2322-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.1.0^2023011250a2322-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Mattia Verga - 1.1.0^2023011250a2322-1 - Update to latest git svn for Pyramid 2.0 compatibility - Use SPDX identifier in license tag - Use modern python macros for packaging * Fri Jul 22 2022 Fedora Release Engineering - 1.0.2-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Python Maint - 1.0.2-21 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.0.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.0.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.0.2-18 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.0.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.0.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 25 2020 Miro Hrončok - 1.0.2-15 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.0.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.0.2-13 - Rebuilt for Python 3.8.0rc1 (#1748018) * Thu Aug 22 2019 Miro Hrončok - 1.0.2-12 - Subpackage python2-pyramid-mako has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Mon Aug 19 2019 Miro Hrončok - 1.0.2-11 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jun 18 2018 Miro Hrončok - 1.0.2-7 - Rebuilt for Python 3.7 * Tue Feb 27 2018 Iryna Shcherbina - 1.0.2-6 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 1.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.0.2-2 - Rebuild for Python 3.6 * Thu Aug 18 2016 Dominika Krejci - 1.0.2-1 - Update to 1.0.2 - Add Python 3 * Tue Jul 19 2016 Fedora Release Engineering - 1.0a3-8 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 1.0a3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Dec 14 2015 Yaakov Selkowitz - 1.0a3-6 - Fix WebOb dependency for EPEL (#1270297) * Thu Jun 18 2015 Fedora Release Engineering - 1.0a3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Nov 13 2014 Ralph Bean - 1.0a3-4 - Fix rhel conditional. * Sat Jun 07 2014 Fedora Release Engineering - 1.0a3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Mar 27 2014 Ralph Bean - 1.0a3-2 - Fix test deps for el6. * Thu Mar 27 2014 Ralph Bean - 1.0a3-1 - Latest upstream includes a fixed test suite. - Reenabled the test suite. * Thu Mar 20 2014 Ralph Bean - 1.0a2-2 - Remove hidden folder as per review. * Wed Mar 19 2014 Ralph Bean - 1.0a2-1 - Initial packaging for Fedora