17
0

- Update to 1.5.2:

* Fix setup.py issues
  * Update setup.py categories
  * Fix tests
  * Change MINIFY_PAGE to MINIFY_HTML
  * Add deprecation warning for old config

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-HTMLmin?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2019-10-30 11:52:55 +00:00
committed by Git OBS Bridge
parent 2dfa4beb0d
commit bd91eca8c9
4 changed files with 16 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-HTMLmin
#
# 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
@@ -18,22 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Flask-HTMLmin
Version: 1.5.0
Version: 1.5.2
Release: 0
Summary: Flask minifier for HTML responses
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/hamidfzm/Flask-HTMLmin
Source: https://github.com/hamidfzm/Flask-HTMLmin/archive/v%{version}.tar.gz
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module htmlmin}
# Test requirements
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# End of test requirements
Requires: python-Flask
Requires: python-htmlmin
BuildArch: noarch
@@ -53,7 +50,7 @@ Flask-HTMLmin minimizes HTML rendered by Flask.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec %{_bindir}/py.test
%pytest
%files %{python_files}
%doc README.md