!18 Update package to version 1.0.3

From: @wubijie123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-05-05 15:17:52 +00:00 committed by Gitee
commit 440002cc09
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 45 additions and 2 deletions

Binary file not shown.

BIN
PyMySQL-1.0.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-PyMySQL
Version: 1.0.2
Version: 1.0.3
Release: 1
Summary: Pure Python MySQL Client
License: MIT
URL: https://pypi.python.org/pypi/PyMySQL/
Source0: https://files.pythonhosted.org/packages/60/ea/33b8430115d9b617b713959b21dfd5db1df77425e38efea08d121e83b712/PyMySQL-1.0.2.tar.gz
Source0: https://files.pythonhosted.org/packages/7a/6f/b3fadf41239b9ca7ea3857c440c499fd2e9e0f410bb942bd8d593dce4bd6/PyMySQL-1.0.3.tar.gz
Source1: setup.py
BuildArch: noarch
BuildRequires: python3-cryptography python3-devel python3-setuptools
@ -32,6 +33,7 @@ Most public APIs are compatible with mysqlclient and MySQLdb.
%prep
%autosetup -n PyMySQL-%{version}
cp %{SOURCE1} ./
%build
%py3_build
@ -71,6 +73,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Thu Apr 6 2023 wubijie <wubijie@kylinos.cn> - 1.0.3-1
- Update package to version 1.0.3
* Tue Nov 22 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0.2-1
- Update package to version 1.0.2

38
setup.py Normal file
View File

@ -0,0 +1,38 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
version = "1.0.3"
with open("./README.md", encoding="utf-8") as f:
readme = f.read()
setup(
name="PyMySQL",
version=version,
url="https://github.com/PyMySQL/PyMySQL/",
project_urls={
"Documentation": "https://pymysql.readthedocs.io/",
},
description="Pure Python MySQL Driver",
long_description=readme,
packages=find_packages(exclude=["tests*", "pymysql.tests*"]),
python_requires=">=3.6",
extras_require={
"rsa": ["cryptography"],
"ed25519": ["PyNaCl>=1.4.0"],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Database",
],
keywords="MySQL",
)