From 55f3d246e332c2a537f615695bb584b4cbfd7466ba03607578299634118f925d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 4 May 2020 16:40:34 +0000 Subject: [PATCH] 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 --- Flask-Compress-1.4.0.tar.gz | 3 --- Flask-Compress-1.5.0.tar.gz | 3 +++ python-Flask-Compress.changes | 20 ++++++++++++++++++++ python-Flask-Compress.spec | 21 +++++++++++---------- 4 files changed, 34 insertions(+), 13 deletions(-) delete mode 100644 Flask-Compress-1.4.0.tar.gz create mode 100644 Flask-Compress-1.5.0.tar.gz diff --git a/Flask-Compress-1.4.0.tar.gz b/Flask-Compress-1.4.0.tar.gz deleted file mode 100644 index dfdb07c..0000000 --- a/Flask-Compress-1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:468693f4ddd11ac6a41bca4eb5f94b071b763256d54136f77957cfee635badb3 -size 6043 diff --git a/Flask-Compress-1.5.0.tar.gz b/Flask-Compress-1.5.0.tar.gz new file mode 100644 index 0000000..677d7b2 --- /dev/null +++ b/Flask-Compress-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f367b2b46003dd62be34f7fb1379938032656dca56377a9bc90e7188e4289a7c +size 6473 diff --git a/python-Flask-Compress.changes b/python-Flask-Compress.changes index 8b7ba50..1d4ade8 100644 --- a/python-Flask-Compress.changes +++ b/python-Flask-Compress.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Sat May 2 19:53:59 UTC 2020 - Arun Persaud + +- 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 diff --git a/python-Flask-Compress.spec b/python-Flask-Compress.spec index 5608c9c..6c1361b 100644 --- a/python-Flask-Compress.spec +++ b/python-Flask-Compress.spec @@ -1,7 +1,7 @@ # # 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 # # 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) # 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-%{**}} Name: python-Flask-Compress -Version: 1.4.0 +Version: 1.5.0 Release: 0 Summary: Compress responses in Flask apps with gzip License: MIT 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 -BuildRequires: %{python_module devel} +BuildRequires: %{python_module Brotli} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Flask +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Flask} # /SECTION -BuildRequires: fdupes -Requires: python-Flask -BuildArch: noarch - %python_subpackages %description @@ -62,6 +61,8 @@ Flask-Compress can solve the problem. %files %{python_files} %doc README.md %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/flask_compress.py* +%{python_sitelib}/Flask_Compress-%{version}-py*.egg-info +%pycache_only %{python_sitelib}/__pycache__ %changelog