!18 Update package to version 1.0.3
From: @wubijie123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
440002cc09
Binary file not shown.
BIN
PyMySQL-1.0.3.tar.gz
Normal file
BIN
PyMySQL-1.0.3.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,12 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-PyMySQL
|
Name: python-PyMySQL
|
||||||
Version: 1.0.2
|
Version: 1.0.3
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Pure Python MySQL Client
|
Summary: Pure Python MySQL Client
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/PyMySQL/
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-cryptography python3-devel python3-setuptools
|
BuildRequires: python3-cryptography python3-devel python3-setuptools
|
||||||
@ -32,6 +33,7 @@ Most public APIs are compatible with mysqlclient and MySQLdb.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n PyMySQL-%{version}
|
%autosetup -n PyMySQL-%{version}
|
||||||
|
cp %{SOURCE1} ./
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -71,6 +73,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 22 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0.2-1
|
||||||
- Update package to version 1.0.2
|
- Update package to version 1.0.2
|
||||||
|
|
||||||
|
|||||||
38
setup.py
Normal file
38
setup.py
Normal 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",
|
||||||
|
)
|
||||||
Loading…
x
Reference in New Issue
Block a user