|
|
78a5d3 |
Name: python-mako
|
|
|
78a5d3 |
Version: 1.1.4
|
|
|
508b4c |
Release: 6%{?dist}
|
|
|
78a5d3 |
BuildArch: noarch
|
|
|
78a5d3 |
|
|
|
78a5d3 |
# Mostly MIT, but _ast_util.py is Python licensed.
|
|
|
78a5d3 |
# The documentation contains javascript for search licensed BSD or GPLv2
|
|
|
78a5d3 |
License: (MIT and Python) and (BSD or GPLv2)
|
|
|
78a5d3 |
Summary: Mako template library for Python
|
|
|
78a5d3 |
URL: http://www.makotemplates.org/
|
|
|
78a5d3 |
Source0: https://github.com/sqlalchemy/mako/archive/rel_%(echo %{version} | sed "s/\./_/g").tar.gz
|
|
|
508b4c |
# https://bugzilla.redhat.com/show_bug.cgi?id=2133606
|
|
|
508b4c |
Patch0: python-mako-1.1.14-CVE-2022-40023.patch
|
|
|
78a5d3 |
|
|
|
78a5d3 |
BuildRequires: python3-devel
|
|
|
78a5d3 |
BuildRequires: python3-pytest
|
|
|
78a5d3 |
BuildRequires: python3-setuptools
|
|
|
78a5d3 |
BuildRequires: python3-markupsafe
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%global _description\
|
|
|
78a5d3 |
Mako is a template library written in Python. It provides a familiar, non-XML\
|
|
|
78a5d3 |
syntax which compiles into Python modules for maximum performance. Mako's\
|
|
|
78a5d3 |
syntax and API borrows from the best ideas of many others, including Django\
|
|
|
78a5d3 |
templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded\
|
|
|
78a5d3 |
Python (i.e. Python Server Page) language, which refines the familiar ideas of\
|
|
|
78a5d3 |
componentized layout and inheritance to produce one of the most straightforward\
|
|
|
78a5d3 |
and flexible models available, while also maintaining close ties to Python\
|
|
|
78a5d3 |
calling and scoping semantics.
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%description %_description
|
|
|
78a5d3 |
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%package -n python3-mako
|
|
|
78a5d3 |
Summary: %{summary}
|
|
|
78a5d3 |
|
|
|
78a5d3 |
# Beaker is the preferred caching backend, but is not strictly necessary
|
|
|
78a5d3 |
Recommends: python3-beaker
|
|
|
78a5d3 |
|
|
|
78a5d3 |
Obsoletes: python2-mako < 1.1.0-3
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%{?python_provide:%python_provide python3-mako}
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%description -n python3-mako %_description
|
|
|
78a5d3 |
|
|
|
78a5d3 |
This package contains the mako module built for use with python3.
|
|
|
78a5d3 |
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%package doc
|
|
|
78a5d3 |
Summary: Documentation for the Mako template library for Python
|
|
|
78a5d3 |
Suggests: python3-mako = %{version}-%{release}
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%description doc %_description
|
|
|
78a5d3 |
|
|
|
78a5d3 |
This package contains documentation in text and HTML formats.
|
|
|
78a5d3 |
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%prep
|
|
|
78a5d3 |
%autosetup -p1 -n mako-rel_%(echo %{version} | sed "s/\./_/g")
|
|
|
78a5d3 |
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%build
|
|
|
78a5d3 |
%py3_build
|
|
|
78a5d3 |
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%install
|
|
|
78a5d3 |
%py3_install
|
|
|
78a5d3 |
|
|
|
78a5d3 |
mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/mako-render-%{python3_version}
|
|
|
78a5d3 |
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render-3
|
|
|
78a5d3 |
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render
|
|
|
78a5d3 |
|
|
|
78a5d3 |
# These are supporting files for building the docs. No need to ship
|
|
|
78a5d3 |
rm -rf doc/build
|
|
|
78a5d3 |
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%check
|
|
|
78a5d3 |
pytest-3
|
|
|
78a5d3 |
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%files -n python3-mako
|
|
|
78a5d3 |
%license LICENSE
|
|
|
78a5d3 |
%doc CHANGES README.rst examples
|
|
|
78a5d3 |
%{_bindir}/mako-render
|
|
|
78a5d3 |
%{_bindir}/mako-render-3
|
|
|
78a5d3 |
%{_bindir}/mako-render-%{python3_version}
|
|
|
78a5d3 |
%{python3_sitelib}/mako/
|
|
|
78a5d3 |
%{python3_sitelib}/Mako-*.egg-info/
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%files doc
|
|
|
78a5d3 |
%doc doc
|
|
|
78a5d3 |
|
|
|
78a5d3 |
|
|
|
78a5d3 |
%changelog
|
|
|
508b4c |
* Thu Nov 17 2022 David King <amigadave@amigadave.com> - 1.1.4-6
|
|
|
508b4c |
- Fix CVE-2022-40023 (#2133606)
|
|
|
508b4c |
|
|
|
78a5d3 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.4-5
|
|
|
78a5d3 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
78a5d3 |
Related: rhbz#1991688
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.4-4
|
|
|
78a5d3 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Mon Mar 29 2021 David King <amigadave@amigadave.com> - 1.1.4-3
|
|
|
78a5d3 |
- Remove unnecessary python3-mock BuildRequires
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-2
|
|
|
78a5d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Thu Jan 14 19:55:31 CET 2021 Petr Viktorin <pviktori@redhat.com> - 1.1.4-1
|
|
|
78a5d3 |
- Update to version 1.1.4
|
|
|
78a5d3 |
- Avoids test warnings on Python 3.10
|
|
|
78a5d3 |
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1907474
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Fri Jun 26 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.1.3-1
|
|
|
78a5d3 |
- Update to 1.1.3 (#1808872)
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-2
|
|
|
78a5d3 |
- Rebuilt for Python 3.9
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Mon Feb 10 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-1
|
|
|
78a5d3 |
- Update to 1.1.1 (#1787962) (#1793184)
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
|
|
|
78a5d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Tue Jan 07 2020 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.1.0-4
|
|
|
78a5d3 |
- Fix FTBFS with pytest-5 by dropping a BR on python-nose (mako does not use nose).
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Fri Nov 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
|
|
|
78a5d3 |
- Subpackage python2-mako has been removed
|
|
|
78a5d3 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Fri Oct 11 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-2
|
|
|
78a5d3 |
- Rename the Python-versioned executables not to start with "python"
|
|
|
78a5d3 |
- Make mako-render Python 3 on Fedora 32+
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Tue Sep 03 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.1.0-1
|
|
|
78a5d3 |
- Update to 1.1.0 (#1725969).
|
|
|
78a5d3 |
- https://docs.makotemplates.org/en/latest/changelog.html#change-1.1.0
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-4
|
|
|
78a5d3 |
- Rebuilt for Python 3.8
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-3
|
|
|
78a5d3 |
- Rebuilt for Python 3.8
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
|
|
|
78a5d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Wed Jun 05 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.12-1
|
|
|
78a5d3 |
- Update to 1.0.12 (#1708706).
|
|
|
78a5d3 |
- https://docs.makotemplates.org/en/latest/changelog.html#change-1.0.12
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Wed Apr 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.9-1
|
|
|
78a5d3 |
- Update to 1.0.9 (#1698191, #1700055)
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Wed Mar 20 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.8-1
|
|
|
78a5d3 |
- Update to 1.0.8 (#1470902, #1690902)
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Wed Mar 20 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.7-1
|
|
|
78a5d3 |
- Update to 1.0.7 (#1470902)
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-12
|
|
|
78a5d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-11
|
|
|
78a5d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.6-10
|
|
|
78a5d3 |
- Rebuilt for Python 3.7
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Wed Mar 28 2018 Petr Viktorin <pviktori@redhat.com> - 1.0.6-9
|
|
|
78a5d3 |
- Make python-beaker an optional dependency
|
|
|
78a5d3 |
- Add missing python_provide for python3-mako
|
|
|
78a5d3 |
- Conditionalize the Python 2 subpackage
|
|
|
78a5d3 |
- Modernize the specfile
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.6-8
|
|
|
78a5d3 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
78a5d3 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
78a5d3 |
|
|
|
78a5d3 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-7
|
|
|
78a5d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|