%global _empty_manifest_terminate_build 0 Name: python-aiomysql Version: 0.2.0 Release: 1 Summary: MySQL driver for asyncio. License: MIT URL: https://github.com/aio-libs/aiomysql Source0: https://files.pythonhosted.org/packages/67/76/2c5b55e4406a1957ffdfd933a94c2517455291c97d2b81cec6813754791a/aiomysql-0.2.0.tar.gz 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. Provides: python-aiomysql = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-PyMySQL BuildRequires: python3-wheel Requires: python3-PyMySQL Requires: python3-sqlalchemy %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 %autosetup -n aiomysql-%{version} -p1 %build %pyproject_build %install %pyproject_install aiomysql==%{version} 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 %files -n python3-aiomysql %doc README.rst %license LICENSE %{python3_sitelib}/aiomysql* %files help %{_docdir}/* %changelog * Wed Jun 21 2023 jiangxinyu - 0.2.0-1 - Update package to 0.2.0 * Sun Apr 23 2023 Ge Wang - 0.1.1-1 - Update package to 0.1.1 * Tue Feb 07 2023 Ge Wang - 0.1.0-1 - update package to 0.1.0 * Thu Jul 22 2021 Xu Jin - 0.0.21-1 - Update package to 0.0.21 * Mon Jul 06 2020 Python_Bot - Package Spec generated