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
This commit is contained in:
Matej Cepl 2021-05-31 22:48:15 +00:00 committed by Git OBS Bridge
parent 53d7ff8450
commit 8471aa10f0
4 changed files with 18 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6
size 257589

3
Jinja2-3.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4
size 267938

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon May 31 06:38:35 UTC 2021 - Adrian Schröter <adrian@suse.de>
- 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 <atoptsoglou@suse.com>

View File

@ -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