%global srcname mako %global _description \ Mako is a template library written in Python. It provides a familiar, non-XML\ syntax which compiles into Python modules for maximum performance. The Mako\ syntax and API borrows from the best ideas of many others, including Django\ templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded\ Python (i.e. Python Server Page) language, which refines the familiar ideas of\ componentized layout and inheritance to produce one of the most straightforward\ and flexible models available, while also maintaining close ties to Python\ calling and scoping semantics. Name: python3-mako Version: 1.0.6 Release: 3%{?dist}.1 BuildArch: noarch # Mostly MIT, but _ast_util.py is Python licensed. # The documentation contains javascript for search licensed BSD or GPLv2 License: (MIT and Python) and (BSD or GPLv2) Group: Development/Languages Summary: Mako template library for Python URL: http://www.makotemplates.org/ Source0: https://bitbucket.org/zzzeek/mako/get/rel_%(echo %{version} | sed "s/\./_/g").tar.bz2 %description %{_description} %package -n python%{python3_pkgversion}-mako Summary: Mako template library for Python 3 Group: Development/Languages BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-markupsafe BuildRequires: python%{python3_pkgversion}-mock BuildRequires: python%{python3_pkgversion}-nose Requires: python%{python3_pkgversion}-markupsafe %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} %description -n python%{python3_pkgversion}-%{srcname} %{_description} This package contains the %{srcname} module built for use with python%{python3_pkgversion}. %package -n python%{python3_other_pkgversion}-mako Summary: Mako template library for Python 3 Group: Development/Languages BuildRequires: python%{python3_other_pkgversion}-devel #BuildRequires: python%{python3_other_pkgversion}-pytest BuildRequires: python%{python3_other_pkgversion}-setuptools #BuildRequires: python%{python3_other_pkgversion}-markupsafe #BuildRequires: python%{python3_other_pkgversion}-mock BuildRequires: python%{python3_other_pkgversion}-nose Requires: python%{python3_other_pkgversion}-markupsafe %{?python_provide:%python_provide python%{python3_other_pkgversion}-%{modname}} %description -n python%{python3_other_pkgversion}-%{srcname} %{_description} This package contains the %{srcname} module built for use with python%{python3_other_pkgversion}. %prep %autosetup -n zzzeek-mako-8e83c7561e3c %build %{__python3} setup.py build %{__python3_other} setup.py build %install %{__python3} setup.py install --skip-build --root %{buildroot} mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/mako-render-%{python3_pkgversion} %{__python3_other} setup.py install --skip-build --root %{buildroot} mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/mako-render-%{python3_other_pkgversion} # These are supporting files for building the docs. No need to ship rm -rf doc/build %check %{__python3} setup.py test #%{__python3_other} setup.py test %files -n python%{python3_pkgversion}-%{srcname} %defattr(-,root,root,-) %license LICENSE %doc CHANGES README.rst examples %{_bindir}/mako-render-%{python3_pkgversion} %{python3_sitelib}/* %files -n python%{python3_other_pkgversion}-%{srcname} %defattr(-,root,root,-) %license LICENSE %doc CHANGES README.rst examples %{_bindir}/mako-render-%{python3_other_pkgversion} %{python3_other_sitelib}/* %changelog * Thu Jan 10 2019 Jean-Marc Liger - 1.0.6-3.1 - Rebuild with python34 and python36 for COPR EL7 * Sat Feb 11 2017 Fedora Release Engineering - 1.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro HronĨok - 1.0.6-2 - Rebuild for Python 3.6 * Sat Dec 17 2016 Randy Barlow - 1.0.6-1 - Update to 1.0.6 (#1257376). - Mark LICENSE as the license. - Drop declaration of BuildRoot. - Drop use of 2to3 since upstream supports Python 3 now. * Tue Jul 19 2016 Fedora Release Engineering - 1.0.3-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Nov 12 2015 Kevin Fenzi - 1.0.3-1 - Update to 1.0.3 * Tue Nov 10 2015 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jan 28 2015 Matej Cepl - 1.0.1-1 - Update to 1.0.1 (#1185339) * Wed Jun 18 2014 Luke Macken - 1.0.0-1 - Update to 1.0.0 (#1106453) - Add a BR on python-mock * Sat Jun 07 2014 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 27 2014 Kalev Lember - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Mon May 19 2014 Luke Macken - 0.9.1-2 - Create a subpackage for the documentation (#1006259) * Mon May 19 2014 Luke Macken - 0.9.1-1 - Update to 0.9.1 (#967837) * Sun Aug 04 2013 Fedora Release Engineering - 0.7.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Apr 9 2013 Luke Macken - 0.7.3-1 - Update to 0.7.3 (#784257) * Thu Feb 14 2013 Fedora Release Engineering - 0.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Aug 04 2012 David Malcolm - 0.5.0-5 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 * Fri Aug 3 2012 David Malcolm - 0.5.0-4 - remove rhel logic from with_python3 conditional * Sat Jul 21 2012 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 13 2011 Luke Macken - 0.5.0-1 - Update to 0.5.0 * Mon Sep 5 2011 Toshio Kuratomi - 0.4.2-2 - Require beaker to run unittests since its required at runtime - Fix license tag * Mon Sep 5 2011 Toshio Kuratomi - 0.4.2-1 - Update to 0.4.2 - Run unit tests on python3 * Thu Feb 24 2011 Luke Macken - 0.4.0-1 - Update to 0.4.0 (#654779) * Wed Feb 09 2011 Fedora Release Engineering - 0.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Feb 02 2011 Luke Macken - 0.3.6-1 - Update to 0.3.6 - Remove 2to3 patch * Wed Oct 27 2010 Toshio Kuratomi - 0.3.5-2 - Use a patch from Debian submitted upstream to convert to python3 syntax * Thu Oct 21 2010 Luke Macken - 0.3.5-1 - Update to 0.3.5 (#645063) * Wed Aug 25 2010 Thomas Spura - 0.3.4-3 - rebuild with python3.2 http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html * Thu Jul 22 2010 David Malcolm - 0.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sun Jun 27 2010 Kyle VanderBeek - 0.3.4-1 - Update to 0.3.4 security fix release - Fix missing python3-beaker dependency * Sat Jun 5 2010 Kyle VanderBeek - 0.3.3-1 - Update to upstream 0.3.3 * Tue May 4 2010 David Malcolm - 0.3.2-2 - add python3 subpackage * Tue May 04 2010 Luke Macken - 0.3.2-1 - Update to 0.3.2 - Run the test suite in %%check * Sun Jul 26 2009 Fedora Release Engineering - 0.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Jan 06 2009 Luke Macken - 0.2.4-1 - Update to 0.2.4 * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.1.10-3 - Rebuild for Python 2.6 * Sun May 11 2008 Kyle VanderBeek - 0.1.10-2 - Fix rpmlint warnings. - Add docs and examples. * Wed Apr 9 2008 Kyle VanderBeek - 0.1.10-1 - Initial version.