|
|
575e943 |
Name: python-mako
|
|
|
575e943 |
Version: 1.2.3
|
|
|
cb91db3 |
Release: 2%{?dist}
|
|
|
575e943 |
Summary: Mako template library for Python
|
|
|
a14f36e |
|
|
|
4cb39ba |
# Mostly MIT, but _ast_util.py is Python licensed
|
|
|
4cb39ba |
License: MIT and Python
|
|
|
575e943 |
URL: https://www.makotemplates.org/
|
|
|
2c575d6 |
Source0: https://github.com/sqlalchemy/mako/archive/rel_%(echo %{version} | sed "s/\./_/g").tar.gz
|
|
|
bcf5d0d |
|
|
|
575e943 |
BuildArch: noarch
|
|
|
ba061ce |
BuildRequires: python3-devel
|
|
|
bcf5d0d |
BuildRequires: python3-pytest
|
|
|
ba061ce |
BuildRequires: python3-setuptools
|
|
|
1390f0d |
BuildRequires: python3-markupsafe
|
|
|
ba061ce |
|
|
|
6dd6fa9 |
%global _description\
|
|
|
6dd6fa9 |
Mako is a template library written in Python. It provides a familiar, non-XML\
|
|
|
6dd6fa9 |
syntax which compiles into Python modules for maximum performance. Mako's\
|
|
|
6dd6fa9 |
syntax and API borrows from the best ideas of many others, including Django\
|
|
|
6dd6fa9 |
templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded\
|
|
|
6dd6fa9 |
Python (i.e. Python Server Page) language, which refines the familiar ideas of\
|
|
|
6dd6fa9 |
componentized layout and inheritance to produce one of the most straightforward\
|
|
|
6dd6fa9 |
and flexible models available, while also maintaining close ties to Python\
|
|
|
a14f36e |
calling and scoping semantics.
|
|
|
a14f36e |
|
|
|
6dd6fa9 |
%description %_description
|
|
|
6dd6fa9 |
|
|
|
456d72d |
|
|
|
ba061ce |
%package -n python3-mako
|
|
|
5f74222 |
Summary: %{summary}
|
|
|
ba061ce |
|
|
|
456d72d |
# Beaker is the preferred caching backend, but is not strictly necessary
|
|
|
456d72d |
Recommends: python3-beaker
|
|
|
456d72d |
|
|
|
5f74222 |
Obsoletes: python2-mako < 1.1.0-3
|
|
|
4cb39ba |
Obsoletes: python-mako-doc < 1.1.4-6
|
|
|
2d7238a |
|
|
|
d0221b8 |
%{?python_provide:%python_provide python3-mako}
|
|
|
d0221b8 |
|
|
|
5f74222 |
%description -n python3-mako %_description
|
|
|
c081131 |
|
|
|
c081131 |
This package contains the mako module built for use with python3.
|
|
|
5f74222 |
|
|
|
5f74222 |
|
|
|
a14f36e |
|
|
|
a14f36e |
%prep
|
|
|
fc6ce45 |
%autosetup -p1 -n mako-rel_%(echo %{version} | sed "s/\./_/g")
|
|
|
2c575d6 |
|
|
|
8c761a1 |
# the package ends up installed as %%{version}.dev0 otherwise:
|
|
|
8c761a1 |
sed -i '/tag_build = dev/d' setup.cfg
|
|
|
8c761a1 |
|
|
|
a14f36e |
|
|
|
a14f36e |
%build
|
|
|
5f74222 |
%py3_build
|
|
|
ba061ce |
|
|
|
a14f36e |
|
|
|
a14f36e |
%install
|
|
|
2d7238a |
%py3_install
|
|
|
2d7238a |
|
|
|
2d7238a |
mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/mako-render-%{python3_version}
|
|
|
2d7238a |
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render-3
|
|
|
2d7238a |
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render
|
|
|
a14f36e |
|
|
|
659c910 |
|
|
|
5f74222 |
%check
|
|
|
7fdce8e |
pytest-3
|
|
|
659c910 |
|
|
|
a14f36e |
|
|
|
ba061ce |
%files -n python3-mako
|
|
|
bcf5d0d |
%license LICENSE
|
|
|
bcf5d0d |
%doc CHANGES README.rst examples
|
|
|
654d113 |
%{_bindir}/mako-render
|
|
|
2d7238a |
%{_bindir}/mako-render-3
|
|
|
2d7238a |
%{_bindir}/mako-render-%{python3_version}
|
|
|
5f74222 |
%{python3_sitelib}/mako/
|
|
|
5f74222 |
%{python3_sitelib}/Mako-*.egg-info/
|
|
|
a14f36e |
|
|
Luke Macken |
d71c923 |
|
|
|
a14f36e |
%changelog
|
|
|
cb91db3 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
|
|
|
cb91db3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
cb91db3 |
|
|
|
575e943 |
* Thu Oct 27 2022 David King <amigadave@amigadave.com> - 1.2.3-1
|
|
|
575e943 |
- Update to 1.2.3 (#1996163)
|
|
|
575e943 |
|
|
|
cfc38ea |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-9
|
|
|
cfc38ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
cfc38ea |
|
|
|
a247ecb |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.4-8
|
|
|
a247ecb |
- Rebuilt for Python 3.11
|
|
|
a247ecb |
|
|
|
1dbaf4a |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-7
|
|
|
1dbaf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
1dbaf4a |
|
|
|
8c761a1 |
* Fri Oct 29 2021 Miro Hrončok <mhroncok@redhat.com> - 1.1.4-6
|
|
|
8c761a1 |
- Don't build the package as 1.1.4.dev0
|
|
|
4cb39ba |
- Remove the empty python-mako-doc package
|
|
|
8c761a1 |
|
|
|
0a82fc2 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-5
|
|
|
0a82fc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
0a82fc2 |
|
|
|
ef8169f |
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.1.4-4
|
|
|
ef8169f |
- Rebuilt for Python 3.10
|
|
|
ef8169f |
|
|
|
b20b819 |
* Mon Mar 29 2021 David King <amigadave@amigadave.com> - 1.1.4-3
|
|
|
b20b819 |
- Remove unnecessary python3-mock BuildRequires
|
|
|
b20b819 |
|
|
|
2a7a652 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-2
|
|
|
2a7a652 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2a7a652 |
|
|
|
fc6ce45 |
* Thu Jan 14 19:55:31 CET 2021 Petr Viktorin <pviktori@redhat.com> - 1.1.4-1
|
|
|
fc6ce45 |
- Update to version 1.1.4
|
|
|
fc6ce45 |
- Avoids test warnings on Python 3.10
|
|
|
fc6ce45 |
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1907474
|
|
|
fc6ce45 |
|
|
|
7daf5bc |
* Fri Jun 26 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.1.3-1
|
|
|
7daf5bc |
- Update to 1.1.3 (#1808872)
|
|
|
7daf5bc |
|
|
|
a78fd99 |
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-2
|
|
|
a78fd99 |
- Rebuilt for Python 3.9
|
|
|
a78fd99 |
|
|
|
e25541c |
* Mon Feb 10 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-1
|
|
|
e25541c |
- Update to 1.1.1 (#1787962) (#1793184)
|
|
|
e25541c |
|
|
|
1dcdf4d |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
|
|
|
1dcdf4d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
1dcdf4d |
|
|
|
4b21a6f |
* Tue Jan 07 2020 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.1.0-4
|
|
|
4b21a6f |
- Fix FTBFS with pytest-5 by dropping a BR on python-nose (mako does not use nose).
|
|
|
4b21a6f |
|
|
|
5f74222 |
* Fri Nov 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
|
|
|
5f74222 |
- Subpackage python2-mako has been removed
|
|
|
5f74222 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
5f74222 |
|
|
|
2d7238a |
* Fri Oct 11 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-2
|
|
|
2d7238a |
- Rename the Python-versioned executables not to start with "python"
|
|
|
2d7238a |
- Make mako-render Python 3 on Fedora 32+
|
|
|
2d7238a |
|
|
|
196ec70 |
* Tue Sep 03 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.1.0-1
|
|
|
196ec70 |
- Update to 1.1.0 (#1725969).
|
|
|
196ec70 |
- https://docs.makotemplates.org/en/latest/changelog.html#change-1.1.0
|
|
|
196ec70 |
|
|
|
0665975 |
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-4
|
|
|
0665975 |
- Rebuilt for Python 3.8
|
|
|
0665975 |
|
|
|
8b3c39e |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-3
|
|
|
8b3c39e |
- Rebuilt for Python 3.8
|
|
|
8b3c39e |
|
|
|
28773d1 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
|
|
|
28773d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
28773d1 |
|
|
|
dd15afd |
* Wed Jun 05 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.12-1
|
|
|
dd15afd |
- Update to 1.0.12 (#1708706).
|
|
|
dd15afd |
- https://docs.makotemplates.org/en/latest/changelog.html#change-1.0.12
|
|
|
dd15afd |
|
|
|
ffc7e7b |
* Wed Apr 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.9-1
|
|
|
ffc7e7b |
- Update to 1.0.9 (#1698191, #1700055)
|
|
|
ffc7e7b |
|
|
|
2c575d6 |
* Wed Mar 20 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.8-1
|
|
|
2c575d6 |
- Update to 1.0.8 (#1470902, #1690902)
|
|
|
2c575d6 |
|
|
|
73b4040 |
* Wed Mar 20 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.7-1
|
|
|
73b4040 |
- Update to 1.0.7 (#1470902)
|
|
|
73b4040 |
|
|
|
3fd6360 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-12
|
|
|
3fd6360 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
3fd6360 |
|
|
|
f462720 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-11
|
|
|
f462720 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f462720 |
|
|
|
00a7ee7 |
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.6-10
|
|
|
00a7ee7 |
- Rebuilt for Python 3.7
|
|
|
00a7ee7 |
|
|
|
456d72d |
* Wed Mar 28 2018 Petr Viktorin <pviktori@redhat.com> - 1.0.6-9
|
|
|
456d72d |
- Make python-beaker an optional dependency
|
|
|
d0221b8 |
- Add missing python_provide for python3-mako
|
|
|
654d113 |
- Conditionalize the Python 2 subpackage
|
|
|
33ca828 |
- Modernize the specfile
|
|
|
456d72d |
|
|
|
ca96cca |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.6-8
|
|
|
ca96cca |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
ca96cca |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
ca96cca |
|
|
|
b3c2350 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-7
|
|
|
b3c2350 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|