2020-07-06 20:40:08 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-aiomysql
|
2023-06-21 14:18:05 +08:00
|
|
|
Version: 0.2.0
|
2020-07-06 20:40:08 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: MySQL driver for asyncio.
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/aio-libs/aiomysql
|
2023-06-21 14:18:05 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/67/76/2c5b55e4406a1957ffdfd933a94c2517455291c97d2b81cec6813754791a/aiomysql-0.2.0.tar.gz
|
2020-07-06 20:40:08 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
**aiomysql** is a "driver" for accessing a `MySQL` database
|
|
|
|
|
from the asyncio_ (PEP-3156/tulip) framework. It depends on and reuses most
|
|
|
|
|
parts of PyMySQL_ . *aiomysql* tries to be like awesome aiopg_ library and
|
|
|
|
|
preserve same api, look and feel.
|
|
|
|
|
|
|
|
|
|
%package -n python3-aiomysql
|
|
|
|
|
Summary: MySQL driver for asyncio.
|
2023-06-21 14:18:05 +08:00
|
|
|
Provides: python-aiomysql = %{version}-%{release}
|
2020-07-06 20:40:08 +08:00
|
|
|
BuildRequires: python3-devel
|
2023-04-26 09:49:55 +08:00
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-PyMySQL
|
|
|
|
|
BuildRequires: python3-wheel
|
2023-06-21 14:18:05 +08:00
|
|
|
Requires: python3-PyMySQL
|
|
|
|
|
Requires: python3-sqlalchemy
|
2020-07-06 20:40:08 +08:00
|
|
|
%description -n python3-aiomysql
|
|
|
|
|
**aiomysql** is a "driver" for accessing a `MySQL` database
|
|
|
|
|
from the asyncio_ (PEP-3156/tulip) framework. It depends on and reuses most
|
|
|
|
|
parts of PyMySQL_ . *aiomysql* tries to be like awesome aiopg_ library and
|
|
|
|
|
preserve same api, look and feel.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for aiomysql
|
|
|
|
|
Provides: python3-aiomysql-doc
|
|
|
|
|
%description help
|
|
|
|
|
**aiomysql** is a "driver" for accessing a `MySQL` database
|
|
|
|
|
from the asyncio_ (PEP-3156/tulip) framework. It depends on and reuses most
|
|
|
|
|
parts of PyMySQL_ . *aiomysql* tries to be like awesome aiopg_ library and
|
|
|
|
|
preserve same api, look and feel.
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-04-26 09:49:55 +08:00
|
|
|
%autosetup -n aiomysql-%{version} -p1
|
2020-07-06 20:40:08 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-04-26 09:49:55 +08:00
|
|
|
%pyproject_build
|
2020-07-06 20:40:08 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-04-26 09:49:55 +08:00
|
|
|
%pyproject_install aiomysql==%{version}
|
2020-07-06 20:40:08 +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-04-26 09:49:55 +08:00
|
|
|
%files -n python3-aiomysql
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{python3_sitelib}/aiomysql*
|
2020-07-06 20:40:08 +08:00
|
|
|
|
2023-04-26 09:49:55 +08:00
|
|
|
%files help
|
2020-07-06 20:40:08 +08:00
|
|
|
%{_docdir}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-06-21 14:18:05 +08:00
|
|
|
* Wed Jun 21 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.2.0-1
|
|
|
|
|
- Update package to 0.2.0
|
|
|
|
|
|
2023-04-26 09:49:55 +08:00
|
|
|
* Sun Apr 23 2023 Ge Wang <wang__ge@126.com> - 0.1.1-1
|
|
|
|
|
- Update package to 0.1.1
|
|
|
|
|
|
2023-02-07 18:16:10 +08:00
|
|
|
* Tue Feb 07 2023 Ge Wang <wangge20@h-partners.com> - 0.1.0-1
|
|
|
|
|
- update package to 0.1.0
|
|
|
|
|
|
2021-07-22 11:35:32 +08:00
|
|
|
* Thu Jul 22 2021 Xu Jin <jinxu@kylinos.cn> - 0.0.21-1
|
|
|
|
|
- Update package to 0.0.21
|
|
|
|
|
|
2020-07-06 20:40:08 +08:00
|
|
|
* Mon Jul 06 2020 Python_Bot <Python_Bot@openeuler.org>
|
|
|
|
|
- Package Spec generated
|