!6 Update package

From: @liqiuyu123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-12-19 07:19:26 +00:00 committed by Gitee
commit 4b50fc2a29
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 15 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-Flask-SQLAlchemy
Version: 2.5.1
Version: 3.0.2
Release: 1
Summary: Adds SQLAlchemy support to your Flask application.
License: BSD-3-Clause
URL: https://github.com/pallets/flask-sqlalchemy
Source0: https://files.pythonhosted.org/packages/35/f0/39dd2d8e7e5223f78a5206d7020dc0e16718a964acfb3564d89e9798ab9b/Flask-SQLAlchemy-%{version}.tar.gz
Source1: setup.py
BuildArch: noarch
Requires: python3-Flask
@ -39,6 +40,7 @@ easier to accomplish common tasks.
%prep
%autosetup -n Flask-SQLAlchemy-%{version} -p1
cp %{SOURCE1} ./
%build
%py3_build
@ -79,6 +81,9 @@ mv %{buildroot}/doclist.lst .
%{_pkgdocdir}
%changelog
* Thu Dec 15 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.0.2-1
- Update package to version 3.0.2
* Wed Jun 29 2022 yaoxin <yaoxin30@h-partners.com> - 2.5.1-1
- Update to 2.5.1

9
setup.py Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env python
import setuptools
if __name__ == "__main__":
setuptools.setup(
name="Flask-SQLAlchemy",
version="3.0.2",
)