Compare commits
No commits in common. "rawhide" and "f20" have entirely different histories.
8 changed files with 152 additions and 335 deletions
|
|
@ -1 +0,0 @@
|
||||||
1
|
|
||||||
10
.gitignore
vendored
10
.gitignore
vendored
|
|
@ -1,2 +1,8 @@
|
||||||
/Jinja2-*.tar.gz
|
/Jinja2-2.5.tar.gz
|
||||||
/jinja2-*.tar.gz
|
/Jinja2-2.5.2.tar.gz
|
||||||
|
/Jinja2-2.5.5.tar.gz
|
||||||
|
/Jinja2-2.6.tar.gz
|
||||||
|
/Jinja2-2.7.tar.gz
|
||||||
|
/Jinja2-2.7.1.tar.gz
|
||||||
|
/Jinja2-2.7.2.tar.gz
|
||||||
|
/Jinja2-2.7.3.tar.gz
|
||||||
|
|
|
||||||
25
99d0f3165ace0befd9eafd661be6e0c23d5f9ba5.patch
Normal file
25
99d0f3165ace0befd9eafd661be6e0c23d5f9ba5.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
From 99d0f3165ace0befd9eafd661be6e0c23d5f9ba5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Gabi Davar <grizzly.nyo@gmail.com>
|
||||||
|
Date: Fri, 16 Aug 2013 16:18:35 +0300
|
||||||
|
Subject: [PATCH] align jinjaext with the rest of the computability cleanups
|
||||||
|
|
||||||
|
---
|
||||||
|
docs/jinjaext.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/docs/jinjaext.py b/docs/jinjaext.py
|
||||||
|
index 8395a55..3c217f8 100644
|
||||||
|
--- a/docs/jinjaext.py
|
||||||
|
+++ b/docs/jinjaext.py
|
||||||
|
@@ -23,7 +23,7 @@
|
||||||
|
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||||
|
Number, Operator, Generic
|
||||||
|
from jinja2 import Environment, FileSystemLoader
|
||||||
|
-from jinja2.utils import next
|
||||||
|
+from jinja2._compat import next
|
||||||
|
|
||||||
|
|
||||||
|
def parse_rst(state, content_offset, doc):
|
||||||
|
--
|
||||||
|
1.8.1.6
|
||||||
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
||||||
|
|
@ -1,27 +1,42 @@
|
||||||
%global srcname jinja2
|
%if 0%{?fedora}
|
||||||
|
%global with_python3 1
|
||||||
Name: python-jinja2
|
%else
|
||||||
Version: 3.1.6
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
Release: 6%{?dist}
|
%endif
|
||||||
Summary: General purpose template engine
|
|
||||||
License: BSD-3-Clause
|
|
||||||
URL: https://palletsprojects.com/p/jinja/
|
|
||||||
Source0: %{pypi_source %srcname}
|
|
||||||
|
|
||||||
# Enable building without docs to avoid a circular dependency between this
|
# Enable building without docs to avoid a circular dependency between this
|
||||||
# and python-sphinx:
|
# and python-sphinx:
|
||||||
%if 0%{?rhel} || 0%{?flatpak}
|
%global with_docs 1
|
||||||
%bcond_with docs
|
|
||||||
%else
|
|
||||||
%bcond_without docs
|
|
||||||
%endif
|
|
||||||
# The dependency on trio is undesired on RHEL
|
|
||||||
%bcond asyncio_tests %{undefined rhel}
|
|
||||||
|
|
||||||
BuildArch: noarch
|
Name: python-jinja2
|
||||||
|
Version: 2.7.3
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: General purpose template engine
|
||||||
|
Group: Development/Languages
|
||||||
|
License: BSD
|
||||||
|
URL: http://jinja.pocoo.org/
|
||||||
|
Source0: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
|
||||||
|
# see https://github.com/mitsuhiko/jinja2/pull/259
|
||||||
|
Patch0: 99d0f3165ace0befd9eafd661be6e0c23d5f9ba5.patch
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
BuildRequires: python-markupsafe
|
||||||
|
%if 0%{?with_docs}
|
||||||
|
BuildRequires: python-sphinx
|
||||||
|
%endif # with_docs
|
||||||
|
Requires: python-babel >= 0.8
|
||||||
|
Requires: python-markupsafe
|
||||||
|
Requires: python-setuptools
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-markupsafe
|
||||||
|
%endif # with_python3
|
||||||
|
|
||||||
%global _description %{expand:
|
|
||||||
Jinja2 is a template engine written in pure Python. It provides a
|
%description
|
||||||
|
Jinja2 is a template engine written in pure Python. It provides a
|
||||||
Django inspired non-XML syntax but supports inline expressions and an
|
Django inspired non-XML syntax but supports inline expressions and an
|
||||||
optional sandboxed environment.
|
optional sandboxed environment.
|
||||||
|
|
||||||
|
|
@ -29,322 +44,114 @@ If you have any exposure to other text-based template languages, such
|
||||||
as Smarty or Django, you should feel right at home with Jinja2. It's
|
as Smarty or Django, you should feel right at home with Jinja2. It's
|
||||||
both designer and developer friendly by sticking to Python's
|
both designer and developer friendly by sticking to Python's
|
||||||
principles and adding functionality useful for templating
|
principles and adding functionality useful for templating
|
||||||
environments.}
|
environments.
|
||||||
|
|
||||||
%description %_description
|
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
%package -n python3-jinja2
|
%package -n python3-jinja2
|
||||||
Summary: %{summary}
|
Summary: General purpose template engine
|
||||||
BuildRequires: python3-devel
|
Group: Development/Languages
|
||||||
BuildRequires: python3-pytest
|
Requires: python3-markupsafe
|
||||||
%if %{with asyncio_tests}
|
Requires: python3-setuptools
|
||||||
BuildRequires: python3-trio
|
# babel isn't py3k ready yet, and is only a weak dependency
|
||||||
%endif
|
#Requires: python3-babel >= 0.8
|
||||||
%if %{with docs}
|
|
||||||
BuildRequires: %{_bindir}/sphinx-build-3
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: python3-Pallets-Sphinx-Themes >= 2
|
|
||||||
BuildRequires: python3-sphinxcontrib-log-cabinet
|
|
||||||
BuildRequires: python3-sphinx-issues
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n python3-jinja2 %_description
|
|
||||||
|
|
||||||
%pyproject_extras_subpkg -n python3-jinja2 i18n
|
%description -n python3-jinja2
|
||||||
|
Jinja2 is a template engine written in pure Python. It provides a
|
||||||
|
Django inspired non-XML syntax but supports inline expressions and an
|
||||||
|
optional sandboxed environment.
|
||||||
|
|
||||||
|
If you have any exposure to other text-based template languages, such
|
||||||
|
as Smarty or Django, you should feel right at home with Jinja2. It's
|
||||||
|
both designer and developer friendly by sticking to Python's
|
||||||
|
principles and adding functionality useful for templating
|
||||||
|
environments.
|
||||||
|
%endif # with_python3
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{srcname}-%{version}
|
%setup -q -n Jinja2-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
find . -name '*.pyo' -o -name '*.pyc' -delete
|
||||||
|
|
||||||
%generate_buildrequires
|
# fix EOL
|
||||||
%pyproject_buildrequires -x i18n
|
sed -i 's|\r$||g' LICENSE
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
cp -a . %{py3dir}
|
||||||
|
%endif # with_python3
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%{__python} setup.py build
|
||||||
%if %{with docs}
|
|
||||||
make -C docs html PYTHONPATH=$(pwd)/src SPHINXBUILD=sphinx-build-3
|
# for now, we build docs using Python 2.x and use that for both
|
||||||
# remove hidden file
|
# packages.
|
||||||
rm -rvf docs/_build/html/.buildinfo
|
%if 0%{?with_docs}
|
||||||
%endif
|
make -C docs html PYTHONPATH=$(pwd)
|
||||||
|
%endif # with_docs
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
pushd %{py3dir}
|
||||||
|
%{__python3} setup.py build
|
||||||
|
popd
|
||||||
|
%endif # with_python3
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%{__python} setup.py install -O1 --skip-build \
|
||||||
%pyproject_save_files jinja2
|
--root %{buildroot}
|
||||||
|
|
||||||
|
# remove hidden file
|
||||||
|
rm -rf docs/_build/html/.buildinfo
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
pushd %{py3dir}
|
||||||
|
%{__python3} setup.py install -O1 --skip-build \
|
||||||
|
--root %{buildroot}
|
||||||
|
popd
|
||||||
|
%endif # with_python3
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# test_elif_deep is flaky for an unknown reason
|
make test
|
||||||
# https://github.com/pallets/jinja/issues/2079
|
|
||||||
%pytest tests -k "not test_elif_deep" %{!?with_asyncio_tests:--ignore tests/test_async.py --ignore tests/test_async_filters.py}
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-jinja2 -f %{pyproject_files}
|
%if 0%{?with_python3}
|
||||||
%doc README.md
|
pushd %{py3dir}
|
||||||
%doc docs/examples
|
make test
|
||||||
%license LICENSE.txt
|
popd
|
||||||
%if %{with docs}
|
%endif # with_python3
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc AUTHORS CHANGES LICENSE
|
||||||
|
%if 0%{?with_docs}
|
||||||
%doc docs/_build/html
|
%doc docs/_build/html
|
||||||
%endif
|
%endif # with_docs
|
||||||
|
%doc ext
|
||||||
|
%doc examples
|
||||||
|
%{python_sitelib}/*
|
||||||
|
%exclude %{python_sitelib}/jinja2/_debugsupport.c
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?with_python3}
|
||||||
|
%files -n python3-jinja2
|
||||||
|
%doc AUTHORS CHANGES LICENSE
|
||||||
|
%if 0%{?with_docs}
|
||||||
|
%doc docs/_build/html
|
||||||
|
%endif # with_docs
|
||||||
|
%doc ext
|
||||||
|
%doc examples
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
%exclude %{python3_sitelib}/jinja2/_debugsupport.c
|
||||||
|
%endif # with_python3
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 3.1.6-6
|
|
||||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
|
||||||
|
|
||||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 3.1.6-5
|
|
||||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
|
||||||
|
|
||||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.6-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 3.1.6-3
|
|
||||||
- Rebuilt for Python 3.14
|
|
||||||
|
|
||||||
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 3.1.6-2
|
|
||||||
- Bootstrap for Python 3.14
|
|
||||||
|
|
||||||
* Sun Mar 9 2025 Thomas Moschny <thomas.moschny@gmx.de> - 3.1.6-1
|
|
||||||
- Update to 3.1.6.
|
|
||||||
|
|
||||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 08 2025 Miro Hrončok <mhroncok@redhat.com> - 3.1.5-1
|
|
||||||
- Update to 3.1.5
|
|
||||||
- Security fix for CVE-2024-56201
|
|
||||||
- Fixes: rhzb#2333688
|
|
||||||
- Fixes: rhzb#2336377
|
|
||||||
|
|
||||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 3.1.4-4
|
|
||||||
- Rebuilt for Python 3.13
|
|
||||||
|
|
||||||
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.1.4-3
|
|
||||||
- Bootstrap for Python 3.13
|
|
||||||
|
|
||||||
* Thu May 23 2024 Miro Hrončok <mhroncok@redhat.com> - 3.1.4-2
|
|
||||||
- Python 3.13 fixes
|
|
||||||
- Fixes: rhzb#2245265
|
|
||||||
|
|
||||||
* Tue May 07 2024 Lumír Balhar <lbalhar@redhat.com> - 3.1.4-1
|
|
||||||
- Update to 3.1.4 (rhbz#2279211,rhbz#2279491)
|
|
||||||
|
|
||||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 11 2024 Michel Lind <salimma@fedoraproject.org> - 3.1.3-1
|
|
||||||
- Update to 3.1.3 to fix CVE-2024-22195
|
|
||||||
|
|
||||||
* Tue Aug 08 2023 Karolina Surma <ksurma@redhat.com> - 3.1.2-6
|
|
||||||
- Declare the license as an SPDX expression
|
|
||||||
|
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 3.1.2-4
|
|
||||||
- Rebuilt for Python 3.12
|
|
||||||
|
|
||||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.1.2-3
|
|
||||||
- Bootstrap for Python 3.12
|
|
||||||
|
|
||||||
* Fri May 19 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 3.1.2-2
|
|
||||||
- Disable docs by default in RHEL builds
|
|
||||||
|
|
||||||
* Mon May 01 2023 Sandro Mani <manisandro@gmail.com> - 3.1.2-1
|
|
||||||
- Update to 3.1.2
|
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Nov 14 2022 Lumír Balhar <lbalhar@redhat.com> - 3.0.3-6
|
|
||||||
- Fix compatibility with pytest 7.2
|
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.0.3-4
|
|
||||||
- Rebuilt for Python 3.11
|
|
||||||
|
|
||||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.0.3-3
|
|
||||||
- Bootstrap for Python 3.11
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Nov 15 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.0.3-1
|
|
||||||
- Update to 3.0.3.
|
|
||||||
|
|
||||||
* Mon Nov 15 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.0.1-4
|
|
||||||
- Use new Python packaging guidelines.
|
|
||||||
- Jinja2 version 3 does not support Python 2 anymore.
|
|
||||||
|
|
||||||
* Wed Nov 10 2021 Karolina Surma <ksurma@redhat.com> - 3.0.1-3
|
|
||||||
- Don't explicitly declare runtime dependencies when building for Python 3
|
|
||||||
- Declare jinja2+i18n extra to map the upstream package structure
|
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 22 2021 Lumír Balhar <lbalhar@redhat.com> - 3.0.1-1
|
|
||||||
- Update to 3.0.1
|
|
||||||
- Resolves: rhbz#1961862
|
|
||||||
|
|
||||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.11.3-3
|
|
||||||
- Rebuilt for Python 3.10
|
|
||||||
|
|
||||||
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 2.11.3-2
|
|
||||||
- Bootstrap for Python 3.10
|
|
||||||
|
|
||||||
* Sat Feb 6 2021 Thomas Moschny <thomas.moschny@gmx.de> - 2.11.3-1
|
|
||||||
- Update to 2.11.3.
|
|
||||||
- Add patches to build with Python 3.10 (#1907442).
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.2-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Dec 21 2020 Miro Hrončok <mhroncok@redhat.com> - 2.11.2-7
|
|
||||||
- Drop python2-jinja2 on Fedora 34+
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.2-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 2.11.2-5
|
|
||||||
- Rebuilt for Python 3.9
|
|
||||||
|
|
||||||
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 2.11.2-4
|
|
||||||
- Bootstrap for Python 3.9
|
|
||||||
|
|
||||||
* Fri May 22 2020 Thomas Moschny <thomas.moschny@gmx.de> - 2.11.2-3
|
|
||||||
- Re-add python2 subpackage (#1832057).
|
|
||||||
|
|
||||||
* Wed May 6 2020 Thomas Moschny <thomas.moschny@gmx.de> - 2.11.2-2
|
|
||||||
- Drop python2 subpackage from F33 on (#1832057).
|
|
||||||
|
|
||||||
* Wed Apr 15 2020 Thomas Moschny <thomas.moschny@gmx.de> - 2.11.2-1
|
|
||||||
- Re-add dependency on python-setuptools.
|
|
||||||
|
|
||||||
* Wed Apr 15 2020 Dan Horák <dan[at]danny.cz> - 2.11.2-1
|
|
||||||
- Update to 2.11.2
|
|
||||||
|
|
||||||
* Mon Apr 06 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.11.1-2
|
|
||||||
- Drop unneeded R: pythonX-setuptools
|
|
||||||
|
|
||||||
* Sat Feb 8 2020 Thomas Moschny <thomas.moschny@gmx.de> - 2.11.1-1
|
|
||||||
- Update to 2.11.1.
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.3-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Nov 20 2019 Thomas Moschny <thomas.moschny@gmx.de> - 2.10.3-2
|
|
||||||
- Add missing BR on make.
|
|
||||||
|
|
||||||
* Mon Nov 11 2019 Lumír Balhar <lbalhar@redhat.com> - 2.10.3-1
|
|
||||||
- New upstream version (2.10.3)
|
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.10.1-5
|
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
||||||
|
|
||||||
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 2.10.1-4
|
|
||||||
- Rebuilt for Python 3.8
|
|
||||||
|
|
||||||
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 2.10.1-3
|
|
||||||
- Bootstrap for Python 3.8
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Apr 10 2019 Thomas Moschny <thomas.moschny@gmx.de> - 2.10.1-1
|
|
||||||
- Update to 2.10.1.
|
|
||||||
- Update specfile.
|
|
||||||
|
|
||||||
* Wed Feb 27 2019 Phil Wyett <philwyett@kathenas.org> - 2.10-8
|
|
||||||
- Fix FTBS due to bad conditional
|
|
||||||
- Add version requirement for markupsafe
|
|
||||||
|
|
||||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 2.10-5
|
|
||||||
- Rebuilt for Python 3.7
|
|
||||||
|
|
||||||
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 2.10-4
|
|
||||||
- Bootstrap for Python 3.7
|
|
||||||
|
|
||||||
* Mon Apr 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.10-3
|
|
||||||
- Don't build the Python 2 subpackage on EL > 7
|
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Nov 16 2017 Thomas Moschny <thomas.moschny@gmx.de> - 2.10-1
|
|
||||||
- Update to 2.10.
|
|
||||||
- Use %%bcond.
|
|
||||||
- Move BRs to their respective subpackages.
|
|
||||||
|
|
||||||
* Fri Oct 20 2017 Troy Dawson <tdawson@redhat.com> - 2.9.6-4
|
|
||||||
- Really cleanup spec file conditionals
|
|
||||||
|
|
||||||
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 2.9.6-3
|
|
||||||
- Cleanup spec file conditionals
|
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.6-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Apr 5 2017 Thomas Moschny <thomas.moschny@gmx.de> - 2.9.6-1
|
|
||||||
- Update to 2.9.6.
|
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jan 29 2017 Thomas Moschny <thomas.moschny@gmx.de> - 2.9.5-1
|
|
||||||
- Update to 2.9.5.
|
|
||||||
|
|
||||||
* Fri Jan 13 2017 Thomas Moschny <thomas.moschny@gmx.de> - 2.9.4-1
|
|
||||||
- Update to 2.9.4.
|
|
||||||
|
|
||||||
* Sat Dec 31 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.8.1-1
|
|
||||||
- Update to 2.8.1.
|
|
||||||
|
|
||||||
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.8-8
|
|
||||||
- Rebuild for Python 3.6
|
|
||||||
|
|
||||||
* Thu Sep 22 2016 Orion Poplawski <orion@cora.nwra.com> - 2.8-7
|
|
||||||
- Ship python2-jinja2 (bug #1378519)
|
|
||||||
- Modernize spec
|
|
||||||
|
|
||||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-6
|
|
||||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
||||||
|
|
||||||
* Fri Feb 5 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.8-5
|
|
||||||
- Do not call py.test, there are currently no tests in the tarball.
|
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Oct 12 2015 Robert Kuska <rkuska@redhat.com> - 2.8-3
|
|
||||||
- Rebuilt for Python3.5 rebuild
|
|
||||||
|
|
||||||
* Mon Jul 27 2015 Thomas Moschny <thomas.moschny@gmx.de> - 2.8-2
|
|
||||||
- Apply updates Python packaging guidelines.
|
|
||||||
- Mark LICENSE with %%license.
|
|
||||||
|
|
||||||
* Sun Jul 26 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 2.8-1
|
|
||||||
- Upstream 2.8
|
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.3-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Dec 2 2014 Orion Poplawski <orion@cora.nwra.com> - 2.7.3-2
|
* Tue Dec 2 2014 Orion Poplawski <orion@cora.nwra.com> - 2.7.3-2
|
||||||
- Add Requires python(3)-setuptools (bug #1168774)
|
- Add Requires python(3)-setuptools (bug #1168774)
|
||||||
|
|
||||||
|
|
@ -425,7 +232,7 @@ dependency with python-sphinx; disable docs for now
|
||||||
|
|
||||||
* Tue Jul 13 2010 Thomas Moschny <thomas.moschny@gmx.de> - 2.5-1
|
* Tue Jul 13 2010 Thomas Moschny <thomas.moschny@gmx.de> - 2.5-1
|
||||||
- Update to upstream version 2.5.
|
- Update to upstream version 2.5.
|
||||||
- Create python3 subpackage.
|
- Create python3 subpackage.
|
||||||
- Minor specfile fixes.
|
- Minor specfile fixes.
|
||||||
- Add examples directory.
|
- Add examples directory.
|
||||||
- Thanks to Gareth Armstrong for additional hints.
|
- Thanks to Gareth Armstrong for additional hints.
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (jinja2-3.1.6.tar.gz) = bddd5e142f1462426c57b2efafdfafdfc6b66de257668707940896feae71eabdf19e0b6e34ef49b965153baf9b1eb59bb5a97349bb287ea0921dd2a751e967ab
|
b9dffd2f3b43d673802fe857c8445b1a Jinja2-2.7.3.tar.gz
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
description: |
|
|
||||||
Runs very simple jinja2 template which should always work
|
|
||||||
test: python3 smoke.py
|
|
||||||
framework: shell
|
|
||||||
require:
|
|
||||||
- python3
|
|
||||||
- python3-jinja2
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
import jinja2
|
|
||||||
|
|
||||||
|
|
||||||
TEMPLATE = "Text {{ variable }}"
|
|
||||||
|
|
||||||
environment = jinja2.Environment()
|
|
||||||
template = environment.from_string(TEMPLATE)
|
|
||||||
output = template.render(variable="demo")
|
|
||||||
assert output == "Text demo", f"got: {output}"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue