!21 更新至最新的1.1.0版本
From: @Jason_828e Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
affc77db41
Binary file not shown.
BIN
PyMySQL-1.1.0.tar.gz
Normal file
BIN
PyMySQL-1.1.0.tar.gz
Normal file
Binary file not shown.
@ -1,30 +1,31 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-PyMySQL
|
||||
Version: 1.0.3
|
||||
Release: 2
|
||||
Version: 1.1.0
|
||||
Release: 1
|
||||
Summary: Pure Python MySQL Client
|
||||
License: MIT
|
||||
URL: https://pypi.python.org/pypi/PyMySQL/
|
||||
Source0: https://files.pythonhosted.org/packages/7a/6f/b3fadf41239b9ca7ea3857c440c499fd2e9e0f410bb942bd8d593dce4bd6/PyMySQL-1.0.3.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/41/9d/ee68dee1c8821c839bb31e6e5f40e61035a5278f7c1307dde758f0c90452/PyMySQL-1.1.0.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-cryptography python3-devel python3-pip python3-wheel
|
||||
|
||||
|
||||
%description
|
||||
This package contains a pure-Python MySQL client library, based on PEP 249.
|
||||
Most public APIs are compatible with mysqlclient and MySQLdb.
|
||||
|
||||
%package -n python3-PyMySQL
|
||||
Summary: Pure Python MySQL Client
|
||||
Requires: python3-cryptography
|
||||
Provides: python-PyMySQL = %{version}-%{release}
|
||||
BuildRequires: python3-cryptography
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
Requires: python3-cryptography
|
||||
%description -n python3-PyMySQL
|
||||
This package contains a pure-Python MySQL client library, based on PEP 249.
|
||||
Most public APIs are compatible with mysqlclient and MySQLdb.
|
||||
|
||||
%package help
|
||||
Summary: Development documents and examples for PyMySQL
|
||||
Summary: Development documents and examples for pymysql
|
||||
Provides: python3-PyMySQL-doc
|
||||
%description help
|
||||
This package contains a pure-Python MySQL client library, based on PEP 249.
|
||||
@ -37,7 +38,7 @@ Most public APIs are compatible with mysqlclient and MySQLdb.
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install pymysql==%{version}
|
||||
%pyproject_install
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
@ -51,6 +52,9 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 04 2023 chenzixuan <chenzixuan@kylinos.cn> - 1.1.0-1
|
||||
- Update package to version 1.1.0
|
||||
|
||||
* Sat May 6 2023 Ge Wang <wang__ge@126.com> - 1.0.3-2
|
||||
- Replace compilation method form setuptools to pyproject
|
||||
|
||||
@ -74,3 +78,4 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
|
||||
* Fri Feb 14 2020 hy-euler <eulerstoragemt@huawei.com> - 0.9.2-3
|
||||
- Package Initialization
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user