Accepting request 799921 from devel:languages:python:flask

OBS-URL: https://build.opensuse.org/request/show/799921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Compress?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-05-04 16:40:34 +00:00 committed by Git OBS Bridge
parent 44c8daa6e1
commit 55f3d246e3
4 changed files with 34 additions and 13 deletions

View File

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

View File

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

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sat May 2 19:53:59 UTC 2020 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
* be more specifc in %files section
* upate project url
* remove devel requirement
* require python-Brotli for tests
- update to version 1.5.0:
* Added brotli compression
* Added tests
* setup.py: Update url
* Fix PyPI rendering of long_description
* Use request instead of response in cache key callable and ensure
cache works as expected without always compressing content.
* Fix indentation in README
* Added copyright header to flask_compress.py
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 18 19:55:21 UTC 2018 - jengelh@inai.de Fri May 18 19:55:21 UTC 2018 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-Flask-Compress # spec file for package python-Flask-Compress
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de> # Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -13,29 +13,28 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Flask-Compress Name: python-Flask-Compress
Version: 1.4.0 Version: 1.5.0
Release: 0 Release: 0
Summary: Compress responses in Flask apps with gzip Summary: Compress responses in Flask apps with gzip
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://libwilliam.github.io/flask-compress/ URL: https://github.com/colour-science/flask-compress
Source: https://files.pythonhosted.org/packages/source/F/Flask-Compress/Flask-Compress-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/F/Flask-Compress/Flask-Compress-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module Brotli}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Flask
BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module Flask} BuildRequires: %{python_module Flask}
# /SECTION # /SECTION
BuildRequires: fdupes
Requires: python-Flask
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -62,6 +61,8 @@ Flask-Compress can solve the problem.
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/* %{python_sitelib}/flask_compress.py*
%{python_sitelib}/Flask_Compress-%{version}-py*.egg-info
%pycache_only %{python_sitelib}/__pycache__
%changelog %changelog