15
0
forked from pool/python-Jinja2

Accepting request 677234 from home:jayvdb:moban

- Activate test suite
- Add minimum build dependency to match runtime dependency

OBS-URL: https://build.opensuse.org/request/show/677234
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=63
This commit is contained in:
2019-02-19 05:56:36 +00:00
committed by Git OBS Bridge
parent 6fd4ec8a40
commit 40bd2cec9f
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 19 03:45:55 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite
- Add minimum build dependency to match runtime dependency
-------------------------------------------------------------------
Mon Dec 10 12:43:01 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Jinja2
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,8 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://jinja.pocoo.org/
Source: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
BuildRequires: %{python_module MarkupSafe}
BuildRequires: %{python_module MarkupSafe >= 0.23}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -93,6 +94,9 @@ install -Dm644 ext/jinja.el %{buildroot}%{_datadir}/emacs/site-lisp/jinja.el # I
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%check
%python_exec -m pytest
%files %{python_files}
%license LICENSE
%doc AUTHORS README.rst CHANGES.rst artwork examples