074cad
%global pypi_name PyMySQL
074cad
074cad
Name:           python-%{pypi_name}
074cad
Version:        0.10.1
074cad
Release:        6%{?dist}
074cad
Summary:        Pure-Python MySQL client library
074cad
074cad
License:        MIT
074cad
URL:            https://pypi.python.org/pypi/%{pypi_name}/
074cad
Source0:        https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
074cad
074cad
BuildArch:      noarch
074cad
074cad
%description
074cad
This package contains a pure-Python MySQL client library. The goal of PyMySQL is
074cad
to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython
074cad
and Jython.
074cad
074cad
074cad
%package -n     python%{python3_pkgversion}-%{pypi_name}
074cad
Summary:        %{summary}
074cad
BuildRequires:  python%{python3_pkgversion}-devel
074cad
BuildRequires:  python%{python3_pkgversion}-setuptools
074cad
BuildRequires:  python%{python3_pkgversion}-cryptography
074cad
Requires:       python%{python3_pkgversion}-cryptography
074cad
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
074cad
074cad
%description -n python%{python3_pkgversion}-%{pypi_name}
074cad
This package contains a pure-Python MySQL client library. The goal of PyMySQL is
074cad
to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython
074cad
and Jython.
074cad
074cad
074cad
%prep
074cad
%setup -qn %{pypi_name}-%{version}
074cad
rm -rf %{pypi_name}.egg-info
074cad
# Remove tests files so they are not installed globally.
074cad
rm -rf tests
074cad
074cad
074cad
%build
074cad
%py3_build
074cad
074cad
074cad
%install
074cad
%py3_install
074cad
074cad
074cad
%check
074cad
# Tests cannot be launch on koji, they require a mysqldb running.
074cad
074cad
074cad
%files -n python%{python3_pkgversion}-%{pypi_name}
074cad
%license LICENSE
074cad
%doc README.rst
074cad
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
074cad
%{python3_sitelib}/pymysql/
074cad
074cad
%changelog
074cad
* Mon Feb 21 2022 Tomas Orsava <torsava@redhat.com> - 0.10.1-6
074cad
- Add gating configuration and a simple smoke test
074cad
- Related: rhbz#1950291
074cad
074cad
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 0.10.1-5
074cad
- Add automatically generated Obsoletes tag with the python39- prefix
074cad
  for smoother upgrade from RHEL8
074cad
- Related: rhbz#1990421
074cad
074cad
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.10.1-4
074cad
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
074cad
  Related: rhbz#1991688
074cad
074cad
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.10.1-3
074cad
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
074cad
074cad
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
074cad
074cad
* Thu Sep 10 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.10.1-1
074cad
- Update to 0.10.1 (#1877703)
074cad
074cad
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
074cad
074cad
* Sat Jul 18 2020 Julien Enselme <jujens@jujens.eu> - 0.10.0-1
074cad
- Update to 0.10.0
074cad
074cad
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-3
074cad
- Rebuilt for Python 3.9
074cad
074cad
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
074cad
074cad
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-1
074cad
- New upstream version 0.9.3
074cad
074cad
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-7
074cad
- Rebuilt for Python 3.8.0rc1 (#1748018)
074cad
074cad
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-6
074cad
- Rebuilt for Python 3.8
074cad
074cad
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
074cad
074cad
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-4
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
074cad
074cad
* Sun Dec 02 2018 Julien Enselme <jujens@jujens.eu> - 0.9.2-3
074cad
- Remove Python 2 subpackage.
074cad
074cad
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
074cad
074cad
* Fri Jul 06 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.9.2-1
074cad
- Update to 0.9.2
074cad
074cad
* Tue Jul 03 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.9.1-1
074cad
- Update to 0.9.1
074cad
074cad
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-2
074cad
- Rebuilt for Python 3.7
074cad
074cad
* Sat Jun 30 2018 Julien Enselme <jujens@jujens.eu> - 0.9.0-1
074cad
- Update to 0.9.0
074cad
074cad
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-2
074cad
- Rebuilt for Python 3.7
074cad
074cad
* Mon May 07 2018 Julien Enselme <jujens@jujens.eu> - 0.8.1-1
074cad
- Update to 0.8.1
074cad
074cad
* Mon Mar 19 2018 Carl George <carl@george.computer> - 0.8.0-5
074cad
- Rename python3 subpackage to python34
074cad
074cad
* Thu Feb 15 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.8.0-4
074cad
- make spec file compatible with epel7
074cad
- remove conditionals and always build for Python 3
074cad
074cad
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
074cad
074cad
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.0-2
074cad
- Update Python 2 dependency declarations to new packaging standards
074cad
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
074cad
074cad
* Wed Dec 27 2017 Julien Enselme <jujens@jujens.eu> - 0.8.0-1
074cad
- Update to 0.8.0
074cad
074cad
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.11-2
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
074cad
074cad
* Fri Apr 07 2017 Julien Enselme <jujens@jujens.eu> - 0.7.11-1
074cad
- Update to 0.7.11
074cad
074cad
* Wed Feb 15 2017 Julien Enselme <jujens@jujens.eu> - 0.7.10-1
074cad
- Update to 0.7.10
074cad
074cad
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.9-4
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
074cad
074cad
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.9-3
074cad
- Rebuild for Python 3.6
074cad
074cad
* Wed Nov 23 2016 Damien Ciabrini <dciabrin@redhat.com> - 0.7.9-2
074cad
- cherrypick commit 755dfdc upstream to allow bind before connect
074cad
  Related: rhbz#1378008
074cad
074cad
* Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 0.7.9-1
074cad
- Update to 0.7.9
074cad
074cad
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-6
074cad
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
074cad
074cad
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.7-5
074cad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
074cad
074cad
* Mon Jan 4 2016 Julien Enselme <jujens@jujens.eu> - 0.6.7-4
074cad
- Correct installation problems due to Requires: mariadb
074cad
074cad
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.6.7-3
074cad
- Rebuilt for python 3.5
074cad
074cad
* Wed Nov  4 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 0.6.7-2
074cad
- Drop unnecessary mariadb requirement
074cad
- Add python3 conditionals in order to rebuild it in EL7
074cad
074cad
* Thu Oct 1 2015 Julien Enselme <jujens@jujens.eu> - 0.6.7-1
074cad
- Update to 0.6.7
074cad
074cad
* Thu Aug 6 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-4
074cad
- Use %%license in %%files
074cad
074cad
* Wed Aug 5 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-3
074cad
- Move python2 package in its own subpackage
074cad
- Add provides
074cad
074cad
* Fri Jul 31 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-2
074cad
- Add Provides: python2-PyMySQL
074cad
- Remove usage of %%py3dir
074cad
074cad
* Sun May 31 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-1
074cad
- Update to 0.6.6
074cad
074cad
* Wed Nov 26 2014 Julien Enselme <jujens@jujens.eu> - 0.6.2-1
074cad
- Initial packaging