From 8471aa10f0c8f57b84d781e75a133cee6f4b1f5a9dfcf5ad4ba22bd1a9229b5a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 31 May 2021 22:48:15 +0000 Subject: [PATCH] Accepting request 896278 from system:homeautomation:home-assistant:unstable - update to 3.0.1 Read the announcement: https://palletsprojects.com/blog/flask-2-0-released/ Read the full list of changes: https://jinja.palletsprojects.com/changes/#version-3-0-0 - python-Jinja2-vim subpackage dropped vim highlight rule files do not exist anymore OBS-URL: https://build.opensuse.org/request/show/896278 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=88 --- Jinja2-2.11.3.tar.gz | 3 --- Jinja2-3.0.1.tar.gz | 3 +++ python-Jinja2.changes | 11 +++++++++++ python-Jinja2.spec | 22 ++++------------------ 4 files changed, 18 insertions(+), 21 deletions(-) delete mode 100644 Jinja2-2.11.3.tar.gz create mode 100644 Jinja2-3.0.1.tar.gz diff --git a/Jinja2-2.11.3.tar.gz b/Jinja2-2.11.3.tar.gz deleted file mode 100644 index 837878f..0000000 --- a/Jinja2-2.11.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6 -size 257589 diff --git a/Jinja2-3.0.1.tar.gz b/Jinja2-3.0.1.tar.gz new file mode 100644 index 0000000..5c5c142 --- /dev/null +++ b/Jinja2-3.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4 +size 267938 diff --git a/python-Jinja2.changes b/python-Jinja2.changes index 6efc448..f360a10 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon May 31 06:38:35 UTC 2021 - Adrian Schröter + +- update to 3.0.1 + Read the announcement: + https://palletsprojects.com/blog/flask-2-0-released/ + Read the full list of changes: + https://jinja.palletsprojects.com/changes/#version-3-0-0 +- python-Jinja2-vim subpackage dropped + vim highlight rule files do not exist anymore + ------------------------------------------------------------------- Tue Feb 9 15:42:40 UTC 2021 - Alexandros Toptsoglou diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 3c1f1fd..c16fe3b 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -24,7 +24,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Jinja2 -Version: 2.11.3 +Version: 3.0.1 Release: 0 Summary: A template engine written in pure Python License: BSD-3-Clause @@ -44,6 +44,9 @@ Requires: python-MarkupSafe >= 0.23 Provides: %{oldpython}-jinja2 = %{version} Obsoletes: %{oldpython}-jinja2 < %{version} %endif +%ifpython3 +Provides: python3-jinja2 = %{version}-%{release} +%endif %python_subpackages %description @@ -51,16 +54,6 @@ 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. -%package -n python-Jinja2-vim -Summary: Jinja2 syntax files for Vim -%if 0%{?suse_version} || 0%{?fedora_version} >= 24 -Recommends: vim -%endif - -%description -n python-Jinja2-vim -Vim syntax highlighting scheme for Jinja2 templates. - - %prep %setup -q -n Jinja2-%{version} dos2unix LICENSE.rst # Fix wrong EOL encoding @@ -70,7 +63,6 @@ dos2unix LICENSE.rst # Fix wrong EOL encoding %install %python_install -install -Dm644 ext/Vim/jinja.vim %{buildroot}%{_datadir}/vim/site/syntax/jinja.vim # Install VIM syntax file %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -84,10 +76,4 @@ install -Dm644 ext/Vim/jinja.vim %{buildroot}%{_datadir}/vim/site/syntax/jinja.v %{python_sitelib}/jinja2 %{python_sitelib}/Jinja2-%{version}-py%{python_version}.egg-info -%files -n python-Jinja2-vim -%dir %{_datadir}/vim -%dir %{_datadir}/vim/site -%dir %{_datadir}/vim/site/syntax -%{_datadir}/vim/site/syntax/jinja.vim - %changelog