From 25be75088af3a946c67ff9a440370c15c967bd25 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 09 2021 00:55:18 +0000 Subject: Import python-tempita-0.5.1-29.el9 in CloudSIG xena --- diff --git a/.python-tempita.metadata b/.python-tempita.metadata index f897ec8..e9b8eee 100644 --- a/.python-tempita.metadata +++ b/.python-tempita.metadata @@ -1 +1 @@ -d14fbf2ceaf209c15a1b628ce61887e1baa1b5e7 SOURCES/Tempita-0.5.1.tar.gz +d14fbf2ceaf209c15a1b628ce61887e1baa1b5e7 SOURCES/Tempita-0.5.1.tar.gz diff --git a/SPECS/python-tempita.spec b/SPECS/python-tempita.spec index 8b849ac..7a5ab02 100644 --- a/SPECS/python-tempita.spec +++ b/SPECS/python-tempita.spec @@ -1,40 +1,26 @@ -%if 0%{?fedora} > 12 -%global with_python3 1 -%else -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%endif Name: python-tempita Version: 0.5.1 -Release: 6%{?dist} +Release: 29%{?dist} Summary: A very small text templating language -Group: Development/Languages License: MIT URL: http://pythonpaste.org/tempita/ -Source0: http://pypi.python.org/packages/source/T/Tempita/Tempita-%{version}.tar.gz -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +Source0: https://pypi.python.org/packages/source/T/Tempita/Tempita-%{version}.tar.gz BuildArch: noarch -%if 0%{?fedora} < 13 -BuildRequires: python-setuptools-devel -%else -BuildRequires: python-setuptools -%endif -BuildRequires: python-nose - -%if 0%{?with_python3} + BuildRequires: python3-devel BuildRequires: python3-setuptools -%endif # if with_python3 -%description +%global _description\ Tempita is a small templating language for text substitution. -%if 0%{?with_python3} +%description %_description + %package -n python3-tempita Summary: A very small text templating language -Group: Development/Languages +%{?python_provide:%python_provide python3-tempita} # Without one of these there's no aes implementation which means there's no way to # have encrypted cookies. This is a reduction in features over the python2 version. # Currently there's no working python3 port for either: @@ -48,60 +34,99 @@ Group: Development/Languages %description -n python3-tempita Tempita is a small templating language for text substitution. -%endif # with_python3 %prep %setup -q -n Tempita-%{version} -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -%endif # with_python3 - %build -%{__python} setup.py build +%py3_build -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py build -popd -%endif # with_python3 %install -%{__rm} -rf %{buildroot} -%{__python} setup.py install --skip-build --root %{buildroot} +%py3_install -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT -popd -%endif # with_python3 -%clean -%{__rm} -rf %{buildroot} +%files -n python3-tempita +%{python3_sitelib}/tempita/ +%{python3_sitelib}/*.egg-info/ +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.5.1-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild -%check -nosetests +* Wed Jul 29 2020 Fedora Release Engineering - 0.5.1-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild +* Sat May 23 2020 Miro Hrončok - 0.5.1-27 +- Rebuilt for Python 3.9 -%files -%defattr(-,root,root,-) -%{python_sitelib}/tempita/ -%{python_sitelib}/*.egg-info +* Thu Jan 30 2020 Fedora Release Engineering - 0.5.1-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild -%if 0%{?with_python3} -%files -n python3-tempita -%defattr(-,root,root,-) -%{python3_sitelib}/tempita/ -%{python3_sitelib}/*.egg-info -%endif +* Wed Sep 25 2019 Miro Hrončok - 0.5.1-25 +- Subpackage python2-tempita has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal -%changelog -* Fri Dec 27 2013 Daniel Mach - 0.5.1-6 -- Mass rebuild 2013-12-27 +* Fri Aug 16 2019 Miro Hrončok - 0.5.1-24 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.5.1-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.5.1-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.5.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Jun 17 2018 Miro Hrončok - 0.5.1-20 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Iryna Shcherbina - 0.5.1-19 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 0.5.1-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.5.1-17 +- Python 2 binary package renamed to python2-tempita + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 0.5.1-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.5.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.5.1-14 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.5.1-13 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 0.5.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jan 28 2016 Dan Horák - 0.5.1-11 +- spec cleanup + +* Tue Nov 10 2015 Fedora Release Engineering - 0.5.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.5.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.5.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 14 2014 Bohuslav Kabrda - 0.5.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.5.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild