From 8b700d5fc6da09422e578afeb63ae289b28be205 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Jan 11 2020 17:56:34 +0000 Subject: * Tue Jan 07 2020 Fabian Affolter - 0.0.20-2 - Better use of wildcards (rhbz#1787216) * Sun Dec 29 2019 Fabian Affolter - 0.0.20-1 - Initial package for Fedora --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..954ffb7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/aiomysql-0.0.20.tar.gz diff --git a/python-aiomysql.spec b/python-aiomysql.spec new file mode 100644 index 0000000..8b5303b --- /dev/null +++ b/python-aiomysql.spec @@ -0,0 +1,57 @@ +%global pypi_name aiomysql + +Name: python-%{pypi_name} +Version: 0.0.20 +Release: 2%{?dist} +Summary: MySQL driver for asyncio + +License: MIT +URL: https://github.com/aio-libs/aiomysql +Source0: https://github.com/aio-libs/aiomysql/archive/v%{version}/%{pypi_name}-%{version}.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-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +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 %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +# Testing is done with a Docker container +#%check +#PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests/ + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info + +%changelog +* Tue Jan 07 2020 Fabian Affolter - 0.0.20-2 +- Better use of wildcards (rhbz#1787216) + +* Sun Dec 29 2019 Fabian Affolter - 0.0.20-1 +- Initial package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..903c2c4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (aiomysql-0.0.20.tar.gz) = d182a638675e147bac5bc82826063e67376b97a4f58963991ad1146f97fc3bda0080a42cb7f2b826fd01b43797fc105c9ead50ab3f130f2ea08127a49c868164