2022-11-22 17:14:31 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-PyMySQL
|
2023-07-03 19:12:26 +08:00
|
|
|
Version: 1.1.0
|
|
|
|
|
Release: 1
|
2022-11-22 17:14:31 +08:00
|
|
|
Summary: Pure Python MySQL Client
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://pypi.python.org/pypi/PyMySQL/
|
2023-07-03 19:12:26 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/41/9d/ee68dee1c8821c839bb31e6e5f40e61035a5278f7c1307dde758f0c90452/PyMySQL-1.1.0.tar.gz
|
2022-11-22 17:14:31 +08:00
|
|
|
BuildArch: noarch
|
2021-08-27 10:40:13 +08:00
|
|
|
|
2020-02-14 17:29:59 +08:00
|
|
|
%description
|
|
|
|
|
This package contains a pure-Python MySQL client library, based on PEP 249.
|
2021-08-27 10:40:13 +08:00
|
|
|
Most public APIs are compatible with mysqlclient and MySQLdb.
|
2020-02-14 17:29:59 +08:00
|
|
|
|
|
|
|
|
%package -n python3-PyMySQL
|
2022-11-22 17:14:31 +08:00
|
|
|
Summary: Pure Python MySQL Client
|
|
|
|
|
Provides: python-PyMySQL = %{version}-%{release}
|
2023-07-03 19:12:26 +08:00
|
|
|
BuildRequires: python3-cryptography
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
Requires: python3-cryptography
|
2020-02-14 17:29:59 +08:00
|
|
|
%description -n python3-PyMySQL
|
|
|
|
|
This package contains a pure-Python MySQL client library, based on PEP 249.
|
2021-08-27 10:40:13 +08:00
|
|
|
Most public APIs are compatible with mysqlclient and MySQLdb.
|
2020-02-14 17:29:59 +08:00
|
|
|
|
2022-11-22 17:14:31 +08:00
|
|
|
%package help
|
2023-07-03 19:12:26 +08:00
|
|
|
Summary: Development documents and examples for pymysql
|
2022-11-22 17:14:31 +08:00
|
|
|
Provides: python3-PyMySQL-doc
|
|
|
|
|
%description help
|
|
|
|
|
This package contains a pure-Python MySQL client library, based on PEP 249.
|
|
|
|
|
Most public APIs are compatible with mysqlclient and MySQLdb.
|
2020-02-14 17:29:59 +08:00
|
|
|
|
|
|
|
|
%prep
|
2022-11-22 17:14:31 +08:00
|
|
|
%autosetup -n PyMySQL-%{version}
|
2020-02-14 17:29:59 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-05-06 09:55:00 +08:00
|
|
|
%pyproject_build
|
2020-02-14 17:29:59 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-07-03 19:12:26 +08:00
|
|
|
%pyproject_install
|
2022-11-22 17:14:31 +08:00
|
|
|
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
|
|
|
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
2023-05-06 09:55:00 +08:00
|
|
|
|
|
|
|
|
%files -n python3-PyMySQL
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%files help
|
2022-11-22 17:14:31 +08:00
|
|
|
%{_docdir}/*
|
2021-08-16 16:21:45 +08:00
|
|
|
|
2020-02-14 17:29:59 +08:00
|
|
|
%changelog
|
2023-07-03 19:12:26 +08:00
|
|
|
* Tue Jul 04 2023 chenzixuan <chenzixuan@kylinos.cn> - 1.1.0-1
|
|
|
|
|
- Update package to version 1.1.0
|
|
|
|
|
|
2023-05-06 09:55:00 +08:00
|
|
|
* Sat May 6 2023 Ge Wang <wang__ge@126.com> - 1.0.3-2
|
|
|
|
|
- Replace compilation method form setuptools to pyproject
|
|
|
|
|
|
2023-04-06 10:22:03 +08:00
|
|
|
* Thu Apr 6 2023 wubijie <wubijie@kylinos.cn> - 1.0.3-1
|
|
|
|
|
- Update package to version 1.0.3
|
|
|
|
|
|
2022-11-22 17:14:31 +08:00
|
|
|
* Tue Nov 22 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0.2-1
|
|
|
|
|
- Update package to version 1.0.2
|
|
|
|
|
|
2021-08-27 10:40:13 +08:00
|
|
|
* Wed Aug 25 2021 OpenStack_SIG <openstack@openeuler.org> - 0.9.3-3
|
|
|
|
|
- Revert the version to 0.9.3, because python3-aiomysql depends on the python-PyMySQL vertion ranging form 0.9 to 0.9.3
|
|
|
|
|
|
2021-08-16 16:21:45 +08:00
|
|
|
* Mon Aug 09 2021 OpenStack_SIG <openstack@openeuler.org> - 1.0.2-1
|
|
|
|
|
- Update version to 1.0.2, because of the dependence of Openstack Wallaby
|
|
|
|
|
|
2020-10-30 14:22:19 +08:00
|
|
|
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 0.9.3-2
|
|
|
|
|
- remove python2 dependency
|
|
|
|
|
|
2022-06-15 07:56:59 +00:00
|
|
|
* Thu Jul 16 2020 yanglongkang <yanglongkang@huawei.com> - 0.9.3-1
|
2020-07-16 10:20:21 +08:00
|
|
|
- update package to 0.9.3
|
|
|
|
|
|
2020-02-14 17:29:59 +08:00
|
|
|
* Fri Feb 14 2020 hy-euler <eulerstoragemt@huawei.com> - 0.9.2-3
|
|
|
|
|
- Package Initialization
|
2023-07-03 19:12:26 +08:00
|
|
|
|