17
0

2 Commits

Author SHA256 Message Date
4cf6a48fe8 Accepting request 1274780 from devel:languages:python:flask
- Switch to pyproject macros.
- Support both uppercased and normalized metadata directory names.

OBS-URL: https://build.opensuse.org/request/show/1274780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Compress?expand=0&rev=13
2025-05-06 14:42:30 +00:00
44a4a80c03 - Switch to pyproject macros.
- Support both uppercased and normalized metadata directory names.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Compress?expand=0&rev=20
2025-05-06 06:17:00 +00:00
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 6 06:00:30 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Support both uppercased and normalized metadata directory names.
-------------------------------------------------------------------
Sat Jan 20 13:10:36 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-Compress
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -23,14 +23,15 @@ Version: 1.14
Release: 0
Summary: Compress responses in Flask apps with gzip
License: MIT
Group: Development/Languages/Python
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 Brotli}
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Brotli
@@ -53,10 +54,10 @@ Flask-Compress can solve the problem.
%setup -q -n Flask-Compress-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -66,7 +67,7 @@ Flask-Compress can solve the problem.
%doc README.md
%license LICENSE.txt
%{python_sitelib}/flask_compress
%{python_sitelib}/Flask_Compress-%{version}-py*.egg-info
%{python_sitelib}/[Ff]lask[_-][Cc]ompress-%{version}.dist-info
%pycache_only %{python_sitelib}/flask_compress/__pycache__
%changelog