Compare commits

...

123 commits

Author SHA1 Message Date
Python Maint
73b8db5fe8 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 13:31:55 +02:00
Python Maint
da96094071 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:58:35 +02:00
Fedora Release Engineering
3fcf5e155d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 08:27:59 +00:00
Python Maint
159d32e143 Rebuilt for Python 3.14 2025-06-03 15:55:25 +02:00
Python Maint
811a737fb9 Bootstrap for Python 3.14 2025-06-02 23:22:52 +02:00
Lumir Balhar
9a3178e4ba Skip flaky test_elif_deep
https://github.com/pallets/jinja/issues/2079
2025-03-27 12:32:17 +01:00
Thomas Moschny
ab04c1a35a Update to 3.1.6. 2025-03-09 17:47:32 +01:00
Fedora Release Engineering
e78f795e7e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 15:24:14 +00:00
Miro Hrončok
48d55f4742 Update to 3.1.5
- Security fix for CVE-2024-56201
- Fixes: rhzb#2333688
- Fixes: rhzb#2336377
2025-01-08 11:23:11 +01:00
Lukas Zachar
46fea4b890 Add tmt smoke test + plan
Cherry-picked from c9s.
Commit hash: 53acc26463e0248c91146bd2f6065d53fb845580
2024-07-25 11:35:07 +02:00
Fedora Release Engineering
5d9a9d69be Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 12:31:17 +00:00
Python Maint
da0819f188 Rebuilt for Python 3.13 2024-06-08 08:13:52 +02:00
Python Maint
566054026e Bootstrap for Python 3.13 2024-06-07 13:21:17 +02:00
Miro Hrončok
0aec2152b2 Make the build dependency on trio optional 2024-05-26 23:41:55 +02:00
Miro Hrončok
e84a72433e Python 3.13 fixes
- Fixes: rhzb#2245265
2024-05-23 15:32:31 +02:00
Lumir Balhar
18d1a5374f Update to 3.1.4 (rhbz#2279211) 2024-05-07 13:38:16 +02:00
Tim Landscheidt
4d9e43b39a Remove outdated sed to rename test teardown methods
The issue was fixed in 3.1.3 via
3fadee01b7

The sed turns teardown_method into teardown_method_method.
2024-03-19 00:15:42 +01:00
Fedora Release Engineering
9aeba43e96 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 05:41:08 +00:00
Fedora Release Engineering
0a28ad92e7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 02:45:08 +00:00
Michel Lind
512d58d521
Update to 3.1.3 to fix CVE-2024-22195
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-01-11 10:57:45 -06:00
Karolina Surma
7bb65e9cfd Declare the license as an SPDX expression 2023-08-08 15:07:41 +02:00
Yaakov Selkowitz
fc015d1bcf Disable docs in flatpak builds
As of F39, flatpak builds will not be able to manually override macros.
2023-08-01 02:55:56 -04:00
Fedora Release Engineering
05480f2acc Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 10:44:21 +00:00
Python Maint
d228954a40 Rebuilt for Python 3.12 2023-06-16 08:18:06 +02:00
Python Maint
3c58a5d519 Bootstrap for Python 3.12 2023-06-14 00:03:28 +02:00
Yaakov Selkowitz
6eece4eaca Disable docs by default in RHEL builds
RHEL does not include some of the doc dependencies.  This is based on c9s:

8e7e566ba7
2023-05-19 13:30:43 -04:00
Sandro Mani
200fff0803 Update to 3.1.2 2023-05-02 00:21:00 +02:00
Fedora Release Engineering
ba5d786db5 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 14:08:29 +00:00
Lumir Balhar
7387df56e9 Fix compatibility with pytest 7.2.0 2022-11-14 09:11:39 +01:00
Fedora Release Engineering
e059429ee9 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 19:29:03 +00:00
Python Maint
86d162e6a1 Rebuilt for Python 3.11 2022-06-13 18:40:52 +02:00
Python Maint
5147748d39 Bootstrap for Python 3.11 2022-06-13 17:36:16 +02:00
Fedora Release Engineering
abbbe06df6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 12:57:26 +00:00
Thomas Moschny
9326937b8e Re-add BR on pytest. 2021-11-15 21:46:48 +01:00
Thomas Moschny
b498647db8 Update to 3.0.3. 2021-11-15 21:35:35 +01:00
Thomas Moschny
652a40287b Use new Python packaging guidelines.
Jinja2 version 3 does not support Python 2 anymore.
2021-11-15 21:35:30 +01:00
Karolina Surma
6f194bb41b Declare i18n extra to map the upstream package structure
Stop requiring the explicit runtime dependencies when building with
Python 3. They're read from metadata.
2021-11-10 11:32:05 +01:00
Miro Hrončok
f7a716750b Fix build with Python 3.11.0a1 2021-11-05 15:27:42 +01:00
Fedora Release Engineering
5fea553081 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 07:01:44 +00:00
Lumir Balhar
81f300b434 Update to 3.0.1 2021-07-15 19:27:33 +02:00
Python Maint
eb8d02cae6 Rebuilt for Python 3.10 2021-06-04 10:16:10 +02:00
Miro Hrončok
6be37c33e6 Temporarily ignore DeprecationWarning in get_event_loop() in tests 2021-06-02 18:04:00 +02:00
Python Maint
94e6de8860 Bootstrap for Python 3.10 2021-06-02 17:31:07 +02:00
Thomas Moschny
93898ae45c Update to 2.11.3.
Add patches to build with Python 3.10 (#1907442).
2021-02-06 14:00:59 +01:00
Fedora Release Engineering
88ca56fd31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 11:17:33 +00:00
Miro Hrončok
3e72b873ff Drop python2-jinja2 on Fedora 34+ 2020-12-21 16:09:04 +01:00
Fedora Release Engineering
43a69b9aaf - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 01:42:23 +00:00
Miro Hrončok
622b488116 Rebuilt for Python 3.9 2020-05-24 10:05:24 +02:00
Miro Hrončok
00956d349d Bootstrap for Python 3.9 2020-05-22 17:04:46 +02:00
Thomas Moschny
6aa957c8ef (Re-)Add changelog. 2020-05-22 10:20:35 +02:00
Thomas Moschny
66365eda17 Revert "Drop python2 subpackage from F33 on (#1832057)."
This reverts commit 1535c3bd30.
2020-05-22 10:18:08 +02:00
Thomas Moschny
1535c3bd30 Drop python2 subpackage from F33 on (#1832057). 2020-05-06 08:54:00 +02:00
Thomas Moschny
b887c5baaf Re-add dependency on python-setuptools. 2020-04-15 22:55:27 +02:00
Dan Horák
83e53b6271 - Update to 2.11.2 2020-04-15 09:56:06 +02:00
Igor Raits
2d369f8f0e
Drop unneeded R: pythonX-setuptools
This is not needed anymore since 2.11.

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-04-06 09:06:21 +02:00
Thomas Moschny
d2671171ed Update to 2.11.1. 2020-02-08 18:27:48 +01:00
Fedora Release Engineering
f251b7fc91 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 12:53:44 +00:00
Thomas Moschny
4ca346baef Add missing BR on make. 2019-11-20 08:22:32 +01:00
Lumir Balhar
acdee8786f New upstream version (2.10.3) 2019-11-18 08:21:26 +01:00
Miro Hrončok
c215abd79c Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:16:08 +02:00
Miro Hrončok
10cc679c9f Rebuilt for Python 3.8 2019-08-17 18:47:11 +02:00
Miro Hrončok
ea3a4f0982 Bootstrap for Python 3.8 2019-08-15 16:24:24 +02:00
Fedora Release Engineering
ca6d0f0cbc - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 14:08:29 +00:00
Thomas Moschny
6145eda64b Update to 2.10.1.
Update specfile.
2019-04-11 07:54:06 +02:00
Thomas Moschny
13da8e68ac Update to 2.10.1. 2019-04-10 10:22:56 +02:00
Phil Wyett
8c81a7dfe4 Add version requirement for markupsafe 2019-02-28 09:10:03 +00:00
Phil Wyett
9a2954fc5a Fix FTBS due to bad conditional 2019-02-27 14:07:51 +00:00
Fedora Release Engineering
894b499061 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 07:23:26 +00:00
Igor Gnatenko
cbdc9606dc Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:41 +01:00
Fedora Release Engineering
7dff961985 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 00:40:44 +00:00
Miro Hrončok
a4e963867b Rebuilt for Python 3.7 2018-06-18 20:14:40 +02:00
Miro Hrončok
791d2814e3 Bootstrap for Python 3.7 2018-06-14 13:40:03 +02:00
Charalampos Stratakis
4320e1dd94 Don't build the Python 2 subpackage on EL > 7 2018-04-18 17:50:15 +02:00
Fedora Release Engineering
e1414d036a - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 08:29:33 +00:00
Thomas Moschny
28114ac504 Prevent byte-compilation errors on Python 2. 2017-11-16 02:00:02 +01:00
Thomas Moschny
1ad67ab31d Update to 2.10.
Use %bcond.
Move BRs to their respective subpackages.
2017-11-16 01:49:34 +01:00
Troy Dawson
aca2e1769c Really cleanup spec file conditionals 2017-10-20 09:09:06 -05:00
Troy Dawson
6b13162d60 Cleanup spec file conditionals 2017-09-29 08:41:13 -07:00
Fedora Release Engineering
b33ff75700 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 10:40:53 +00:00
Thomas Moschny
dd39a13309 Update to 2.9.6. 2017-04-05 20:32:27 +02:00
Fedora Release Engineering
5130bca21c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 09:21:33 +00:00
Thomas Moschny
27ce420a31 Update to 2.9.5. 2017-01-29 12:41:30 +01:00
Thomas Moschny
8e45c9e7bb Update to 2.9.4. 2017-01-14 00:12:13 +01:00
Thomas Moschny
28bd2518ae Update to 2.8.1. 2016-12-31 09:41:55 +01:00
Charalampos Stratakis
91ed03f087 Rebuild for Python 3.6 2016-12-11 21:42:59 +01:00
Orion Poplawski
62d3143b31 Ship python2-jijna2 (bug #1378519)
- Modernize spec
2016-09-22 10:19:11 -06:00
Fedora Release Engineering
f06b630631 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 10:08:57 +00:00
Thomas Moschny
ba9ab38f5e Do not call py.test, there are currently no tests in the tarball. 2016-02-05 12:44:20 +01:00
Fedora Release Engineering
b7571cb9ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 19:57:36 +00:00
Robert Kuska
7be0b85870 Rebuilt for Python3.5 rebuild 2015-10-12 14:08:49 +02:00
Thomas Moschny
3a17bd4443 Apply updates Python packaging guidelines.
- Mark LICENSE with %license.
2015-07-27 08:05:27 +02:00
Haïkel Guémar
be6461fcd9 Upload 2.8 sources 2015-07-27 00:18:41 +02:00
Haïkel Guémar
56175d160d Upstream 2.8 2015-07-27 00:15:37 +02:00
Dennis Gilmore
49a7d7b434 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 19:41:59 +00:00
Orion Poplawski
14bf553a3d Add Requires python(3)-setuptools (bug #1168774) 2014-12-02 10:09:31 -07:00
Thomas Moschny
2af52b3a1f Update to 2.7.3. 2014-06-07 09:53:41 +02:00
Orion Poplawski
d8336e979b Bootstrap (without docs) build for Python 3.4 2014-05-10 09:39:30 -06:00
Thomas Moschny
f66679d318 Update to 2.7.2.
- Update python3 conditional.
2014-01-10 20:15:15 +01:00
Thomas Moschny
f32fb3baf5 Use this version of jinja2 when building the docs. 2013-08-16 20:16:34 +02:00
Thomas Moschny
78ead1913c Add patch for issue #259. 2013-08-16 20:15:56 +02:00
Thomas Moschny
f17e963ca9 Update to 2.7.1. 2013-08-16 18:57:11 +02:00
Orion Poplawski
5a51c1631f - Update to 2.7
- spec cleanup
2013-07-25 15:16:36 -06:00
Dennis Gilmore
44de1577f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 13:42:09 -06:00
David Malcolm
e049fb0690 rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 2012-08-04 06:52:22 -04:00
David Malcolm
2c2715764b remove rhel logic from with_python3 conditional 2012-08-03 12:26:42 -04:00
Dennis Gilmore
df2cc5f8d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 01:46:10 -05:00
Dennis Gilmore
acd8ee0280 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 19:49:10 -06:00
Thomas Moschny
b40d982670 Update to 2.6. 2011-07-26 02:22:14 +02:00
Dennis Gilmore
f022341618 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 22:26:34 -06:00
Thomas Moschny
aed144ae2a - Re-enable html doc generation.
- Remove conditional for F-12 and below.
- Do not silently fail the testsuite for with py3k.
2011-01-18 01:51:11 +01:00
Michel Alexandre Salim
e995790efb - Move python3 runtime requirements to python3 subpackage 2010-11-01 17:17:49 +01:00
Thomas Moschny
92fc8ce0cc - Update to 2.5.5. 2010-10-27 10:16:01 +02:00
Thomas Moschny
1985ab78e5 - Revert to previous behavior: fail the build on failed test.
- Rebuild for Python 3.2.
2010-08-25 22:02:12 +02:00
Dan Horák
fcd70f5140 - %ifnarch doesn't work on noarch package so don't fail the build on failed tests 2010-08-25 17:00:04 +02:00
Dan Horák
ce8fb02537 - disable the testsuite on s390(x) 2010-08-25 15:52:38 +02:00
Thomas Moschny
fee00bb439 - Update to upstream version 2.5.2.
- Package depends on python-markupsafe and is noarch now.
2010-08-19 02:32:33 +02:00
Fedora Release Engineering
a5eff88758 dist-git conversion 2010-07-29 10:25:25 +00:00
dmalcolm
155e9a9178 fix doc disablement for python3 subpackage 2010-07-22 04:47:51 +00:00
dmalcolm
90e527bf0a - add explicit build-requirement on python-setuptools 2010-07-22 04:46:18 +00:00
dmalcolm
eb93b317f4 - support disabling documentation in the build to break a circular
build-time dependency with python-sphinx; disable docs for now
2010-07-22 04:37:25 +00:00
dmalcolm
55440cb69f - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 04:30:26 +00:00
Thomas Moschny
bb45b9d930 - Update to upstream version 2.5.
- Create python3 subpackage.
2010-07-13 22:21:52 +00:00
Thomas Moschny
d3e47dbe1e Update to 2.4.1. 2010-04-21 11:13:48 +00:00
10 changed files with 430 additions and 71 deletions

View file

@ -1 +0,0 @@
Jinja2-2.4.tar.gz

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/Jinja2-*.tar.gz
/jinja2-*.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: python-jinja2
# $Id: Makefile,v 1.1 2008/07/23 03:02:27 kevin Exp $
NAME := python-jinja2
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1,6 +0,0 @@
python-jinja2-2_0-2_fc9:HEAD:python-jinja2-2.0-2.fc9.src.rpm:1216886150
python-jinja2-2_1-1_fc10:HEAD:python-jinja2-2.1-1.fc10.src.rpm:1229610786
python-jinja2-2_1_1-1_fc10:HEAD:python-jinja2-2.1.1-1.fc10.src.rpm:1231601194
python-jinja2-2_2_1-1_fc11:HEAD:python-jinja2-2.2.1-1.fc11.src.rpm:1253462191
python-jinja2-2_3_1-1_fc12:HEAD:python-jinja2-2.3.1-1.fc12.src.rpm:1266965250
python-jinja2-2_4-1_fc12:HEAD:python-jinja2-2.4-1.fc12.src.rpm:1271178578

4
plans.fmf Normal file
View file

@ -0,0 +1,4 @@
discover:
how: fmf
execute:
how: tmt

View file

@ -1,22 +1,27 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%global srcname jinja2
Name: python-jinja2
Version: 2.4
Release: 1%{?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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
BuildRequires: python-setuptools-devel
BuildRequires: python-sphinx
Requires: python-babel >= 0.8
Name: python-jinja2
Version: 3.1.6
Release: 6%{?dist}
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
# and python-sphinx:
%if 0%{?rhel} || 0%{?flatpak}
%bcond_with docs
%else
%bcond_without docs
%endif
# The dependency on trio is undesired on RHEL
%bcond asyncio_tests %{undefined rhel}
%description
Jinja2 is a template engine written in pure Python. It provides a
BuildArch: noarch
%global _description %{expand:
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.
@ -24,51 +29,410 @@ 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.
environments.}
%description %_description
%package -n python3-jinja2
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-pytest
%if %{with asyncio_tests}
BuildRequires: python3-trio
%endif
%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
%prep
%setup -q -n Jinja2-%{version}
%autosetup -p1 -n %{srcname}-%{version}
# fix EOL
sed -i 's|\r$||g' LICENSE
%generate_buildrequires
%pyproject_buildrequires -x i18n
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py --with-speedups build
make -C docs html
%pyproject_wheel
%if %{with docs}
make -C docs html PYTHONPATH=$(pwd)/src SPHINXBUILD=sphinx-build-3
# remove hidden file
rm -rvf docs/_build/html/.buildinfo
%endif
%install
rm -rf %{buildroot}
%{__python} setup.py --with-speedups install -O1 --skip-build \
--root %{buildroot}
# ensure correct permission
chmod 0755 %{buildroot}%{python_sitearch}/jinja2/_speedups.so
# remove hidden file
rm -rf docs/_build/html/.buildinfo
%clean
rm -rf %{buildroot}
%pyproject_install
%pyproject_save_files jinja2
%check
make test
# test_elif_deep is flaky for an unknown reason
# 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
%defattr(-,root,root,-)
%doc AUTHORS CHANGES LICENSE
%files -n python3-jinja2 -f %{pyproject_files}
%doc README.md
%doc docs/examples
%license LICENSE.txt
%if %{with docs}
%doc docs/_build/html
%doc ext
%{python_sitearch}/*
%exclude %{python_sitearch}/jinja2/_speedups.c
%endif
%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
- Add Requires python(3)-setuptools (bug #1168774)
* Sat Jun 7 2014 Thomas Moschny <thomas.moschny@gmx.de> - 2.7.3-1
- Update to 2.7.3.
- Reenable docs.
* Sat May 10 2014 Orion Poplawski <orion@cora.nwra.com> - 2.7.2-2
- Bootstrap (without docs) build for Python 3.4
* Fri Jan 10 2014 Thomas Moschny <thomas.moschny@gmx.de> - 2.7.2-1
- Update to 2.7.2.
- Update python3 conditional.
* Fri Aug 16 2013 Thomas Moschny <thomas.moschny@gmx.de> - 2.7.1-1
- Update to 2.7.1.
* Thu Jul 25 2013 Orion Poplawski <orion@cora.nwra.com> - 2.7-1
- Update to 2.7
- spec cleanup
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 2.6-5
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 2.6-4
- remove rhel logic from with_python3 conditional
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jul 25 2011 Thomas Moschny <thomas.moschny@gmx.de> - 2.6-1
- Update to 2.6.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jan 18 2011 Thomas Moschny <thomas.moschny@gmx.de> - 2.5.5-3
- Re-enable html doc generation.
- Remove conditional for F-12 and below.
- Do not silently fail the testsuite for with py3k.
* Mon Nov 1 2010 Michel Salim <salimma@fedoraproject.org> - 2.5.5-2
- Move python3 runtime requirements to python3 subpackage
* Wed Oct 27 2010 Thomas Moschny <thomas.moschny@gmx.de> - 2.5.5-1
- Update to 2.5.5.
* Wed Aug 25 2010 Thomas Moschny <thomas.moschny@gmx.de> - 2.5.2-4
- Revert to previous behavior: fail the build on failed test.
- Rebuild for Python 3.2.
* Wed Aug 25 2010 Dan Horák <dan[at]danny.cz> - 2.5.2-3
- %%ifnarch doesn't work on noarch package so don't fail the build on failed tests
* Wed Aug 25 2010 Dan Horák <dan[at]danny.cz> - 2.5.2-2
- disable the testsuite on s390(x)
* Thu Aug 19 2010 Thomas Moschny <thomas.moschny@gmx.de> - 2.5.2-1
- Update to upstream version 2.5.2.
- Package depends on python-markupsafe and is noarch now.
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.5-4
- add explicit build-requirement on python-setuptools
- fix doc disablement for python3 subpackage
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.5-3
- support disabling documentation in the build to break a circular build-time
dependency with python-sphinx; disable docs for now
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Tue Jul 13 2010 Thomas Moschny <thomas.moschny@gmx.de> - 2.5-1
- Update to upstream version 2.5.
- Create python3 subpackage.
- Minor specfile fixes.
- Add examples directory.
- Thanks to Gareth Armstrong for additional hints.
* Wed Apr 21 2010 Thomas Moschny <thomas.moschny@gmx.de> - 2.4.1-1
- Update to 2.4.1.
* Tue Apr 13 2010 Thomas Moschny <thomas.moschny@gmx.de> - 2.4-1
- Update to 2.4.

View file

@ -1 +1 @@
635746009a6560e20db97e94db28867d Jinja2-2.4.tar.gz
SHA512 (jinja2-3.1.6.tar.gz) = bddd5e142f1462426c57b2efafdfafdfc6b66de257668707940896feae71eabdf19e0b6e34ef49b965153baf9b1eb59bb5a97349bb287ea0921dd2a751e967ab

7
tests/smoke.fmf Normal file
View file

@ -0,0 +1,7 @@
description: |
Runs very simple jinja2 template which should always work
test: python3 smoke.py
framework: shell
require:
- python3
- python3-jinja2

9
tests/smoke.py Normal file
View file

@ -0,0 +1,9 @@
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}"