1
0

4 Commits

Author SHA256 Message Date
586e9fb233 Accepting request 1274316 from devel:languages:python:flask
- Update to 5.0.1:
  * Fix minor typos
  * Migrate packaging and environment management to use uv
  * Fix release pipeline
  * Always use trusted publishing
  * Workaround license publishing issue
  * Fix packaging: missing source files
- Switch to pyproject macros.
- Switch to GitHub tarball to continue running the testsuite.
- Support upper case and normalized metadata directory name.
- Patch version number, issue filed upstream.

OBS-URL: https://build.opensuse.org/request/show/1274316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=13
2025-05-05 20:27:32 +00:00
4691dc39d1 - Update to 5.0.1:
* Fix minor typos
  * Migrate packaging and environment management to use uv
  * Fix release pipeline
  * Always use trusted publishing
  * Workaround license publishing issue
  * Fix packaging: missing source files
- Switch to pyproject macros.
- Switch to GitHub tarball to continue running the testsuite.
- Support upper case and normalized metadata directory name.
- Patch version number, issue filed upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=28
2025-05-05 05:40:02 +00:00
b803aa76ec Accepting request 1204119 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/1204119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Cors?expand=0&rev=12
2024-09-27 15:11:44 +00:00
50df489c3f - version update to 5.0.0:
* Breaking: Change default to disable private network access by 
    @corydolphin in #368. This effectively resolves 
    GHSA-hxwh-jpp2-84pm https://osv.dev/vulnerability/PYSEC-2024-71

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-Cors?expand=0&rev=26
2024-09-27 10:15:03 +00:00
4 changed files with 39 additions and 10 deletions

View File

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

3
flask_cors-5.0.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon May 5 05:39:37 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 5.0.1:
* Fix minor typos
* Migrate packaging and environment management to use uv
* Fix release pipeline
* Always use trusted publishing
* Workaround license publishing issue
* Fix packaging: missing source files
- Switch to pyproject macros.
- Switch to GitHub tarball to continue running the testsuite.
- Support upper case and normalized metadata directory name.
- Patch version number, issue filed upstream.
-------------------------------------------------------------------
Wed Sep 25 17:41:21 UTC 2024 - Caroline Sena <caroline.sena@suse.com>
- version update to 5.0.0:
* Breaking: Change default to disable private network access by
@corydolphin in #368. This effectively resolves
GHSA-hxwh-jpp2-84pm https://osv.dev/vulnerability/PYSEC-2024-71
-------------------------------------------------------------------
Tue Aug 13 17:14:40 UTC 2024 - Guang Yee <gyee@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-Cors
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,21 @@
%{?sle15_python_module_pythons}
Name: python-Flask-Cors
Version: 4.0.1
Version: 5.0.1
Release: 0
Summary: A Flask extension adding a decorator for CORS support
License: MIT
URL: https://github.com/corydolphin/flask-cors
Source: https://files.pythonhosted.org/packages/source/F/Flask-Cors/flask_cors-%{version}.tar.gz
Source: https://github.com/corydolphin/flask-cors/archive/refs/tags/%{version}.tar.gz#/flask_cors-%{version}.tar.gz
BuildRequires: %{python_module Flask >= 0.9}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Flask >= 0.9
Requires: python-Werkzeug >= 0.7
BuildArch: noarch
%python_subpackages
@@ -38,21 +41,24 @@ A Flask extension for handling Cross Origin Resource Sharing (CORS),
making cross-origin AJAX possible.
%prep
%setup -q -n flask_cors-%{version}
%setup -q -n flask-cors-%{version}
# https://github.com/corydolphin/flask-cors/issues/387
sed -ie 's/"0.0.1"$/"%{version}"/' pyproject.toml
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/flask_cors
%{python_sitelib}/Flask_Cors-%{version}*-info
%{python_sitelib}/[Ff]lask_[Cc]ors-%{version}.dist-info
%changelog