forked from pool/python-Flask-Cors
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 586e9fb233 | |||
| 4691dc39d1 | |||
| b803aa76ec | |||
| 50df489c3f |
@@ -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
3
flask_cors-5.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fb1d01eb16187b945856fc207980b3c1c637ed7e47e29a12d63d7aecf937d5fe
|
||||
size 87364
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user