|
|
73d151 |
%global pypi_name PyMySQL
|
|
|
73d151 |
|
|
|
73d151 |
Name: python-%{pypi_name}
|
|
|
80f12c |
Version: 0.10.1
|
|
|
80f12c |
Release: 1%{?dist}
|
|
|
73d151 |
Summary: Pure-Python MySQL client library
|
|
|
73d151 |
|
|
|
73d151 |
License: MIT
|
|
|
73d151 |
URL: https://pypi.python.org/pypi/%{pypi_name}/
|
|
|
73d151 |
Source0: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
|
|
|
73d151 |
|
|
|
73d151 |
BuildArch: noarch
|
|
|
73d151 |
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
|
|
73d151 |
# x86_64 compose of CRB, but we don't want to ship it at all.
|
|
|
73d151 |
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
|
|
73d151 |
ExcludeArch: i686
|
|
|
73d151 |
|
|
|
73d151 |
%description
|
|
|
73d151 |
This package contains a pure-Python MySQL client library. The goal of PyMySQL is
|
|
|
73d151 |
to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython
|
|
|
73d151 |
and Jython.
|
|
|
73d151 |
|
|
|
73d151 |
|
|
|
73d151 |
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
73d151 |
Summary: %{summary}
|
|
|
73d151 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
73d151 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
73d151 |
BuildRequires: python%{python3_pkgversion}-cryptography
|
|
|
73d151 |
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
73d151 |
Requires: python%{python3_pkgversion}-cryptography
|
|
|
73d151 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
|
|
73d151 |
|
|
|
73d151 |
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
73d151 |
This package contains a pure-Python MySQL client library. The goal of PyMySQL is
|
|
|
73d151 |
to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython
|
|
|
73d151 |
and Jython.
|
|
|
73d151 |
|
|
|
73d151 |
|
|
|
73d151 |
%prep
|
|
|
73d151 |
%setup -qn %{pypi_name}-%{version}
|
|
|
73d151 |
rm -rf %{pypi_name}.egg-info
|
|
|
73d151 |
# Remove tests files so they are not installed globally.
|
|
|
73d151 |
rm -rf tests
|
|
|
73d151 |
|
|
|
73d151 |
|
|
|
73d151 |
%build
|
|
|
73d151 |
%py3_build
|
|
|
73d151 |
|
|
|
73d151 |
|
|
|
73d151 |
%install
|
|
|
73d151 |
%py3_install
|
|
|
73d151 |
|
|
|
73d151 |
|
|
|
73d151 |
%check
|
|
|
73d151 |
# Tests cannot be launch on koji, they require a mysqldb running.
|
|
|
73d151 |
|
|
|
73d151 |
|
|
|
73d151 |
%files -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
73d151 |
%license LICENSE
|
|
|
73d151 |
%doc README.rst
|
|
|
73d151 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
73d151 |
%{python3_sitelib}/pymysql/
|
|
|
73d151 |
|
|
|
73d151 |
%changelog
|
|
|
80f12c |
* Tue Oct 06 2020 Michal Schorm <mschorm@redhat.com> - 0.10.1-1
|
|
|
80f12c |
- Rebase to 0.10 version to add support for MariaDB ed25519 authentication mechanism
|
|
|
80f12c |
|
|
|
73d151 |
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.9.3-3
|
|
|
73d151 |
- Exclude unsupported i686 arch
|
|
|
73d151 |
|
|
|
73d151 |
* Thu Nov 21 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-2
|
|
|
73d151 |
- Adjusted for Python 3.8 module in RHEL 8
|
|
|
73d151 |
|
|
|
73d151 |
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-1
|
|
|
73d151 |
- New upstream version 0.9.3
|
|
|
73d151 |
|
|
|
73d151 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-7
|
|
|
73d151 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
73d151 |
|
|
|
73d151 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-6
|
|
|
73d151 |
- Rebuilt for Python 3.8
|
|
|
73d151 |
|
|
|
73d151 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
|
|
|
73d151 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
73d151 |
|
|
|
73d151 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-4
|
|
|
73d151 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
73d151 |
|
|
|
73d151 |
* Sun Dec 02 2018 Julien Enselme <jujens@jujens.eu> - 0.9.2-3
|
|
|
73d151 |
- Remove Python 2 subpackage.
|
|
|
73d151 |
|
|
|
73d151 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
|
|
|
73d151 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
73d151 |
|
|
|
73d151 |
* Fri Jul 06 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.9.2-1
|
|
|
73d151 |
- Update to 0.9.2
|
|
|
73d151 |
|
|
|
73d151 |
* Tue Jul 03 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.9.1-1
|
|
|
73d151 |
- Update to 0.9.1
|
|
|
73d151 |
|
|
|
73d151 |
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-2
|
|
|
73d151 |
- Rebuilt for Python 3.7
|
|
|
73d151 |
|
|
|
73d151 |
* Sat Jun 30 2018 Julien Enselme <jujens@jujens.eu> - 0.9.0-1
|
|
|
73d151 |
- Update to 0.9.0
|
|
|
73d151 |
|
|
|
73d151 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-2
|
|
|
73d151 |
- Rebuilt for Python 3.7
|
|
|
73d151 |
|
|
|
73d151 |
* Mon May 07 2018 Julien Enselme <jujens@jujens.eu> - 0.8.1-1
|
|
|
73d151 |
- Update to 0.8.1
|
|
|
73d151 |
|
|
|
73d151 |
* Mon Mar 19 2018 Carl George <carl@george.computer> - 0.8.0-5
|
|
|
73d151 |
- Rename python3 subpackage to python34
|
|
|
73d151 |
|
|
|
73d151 |
* Thu Feb 15 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.8.0-4
|
|
|
73d151 |
- make spec file compatible with epel7
|
|
|
73d151 |
- remove conditionals and always build for Python 3
|
|
|
73d151 |
|
|
|
73d151 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
|
|
73d151 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
73d151 |
|
|
|
73d151 |
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.0-2
|
|
|
73d151 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
73d151 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
73d151 |
|
|
|
73d151 |
* Wed Dec 27 2017 Julien Enselme <jujens@jujens.eu> - 0.8.0-1
|
|
|
73d151 |
- Update to 0.8.0
|
|
|
73d151 |
|
|
|
73d151 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.11-2
|
|
|
73d151 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
73d151 |
|
|
|
73d151 |
* Fri Apr 07 2017 Julien Enselme <jujens@jujens.eu> - 0.7.11-1
|
|
|
73d151 |
- Update to 0.7.11
|
|
|
73d151 |
|
|
|
73d151 |
* Wed Feb 15 2017 Julien Enselme <jujens@jujens.eu> - 0.7.10-1
|
|
|
73d151 |
- Update to 0.7.10
|
|
|
73d151 |
|
|
|
73d151 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.9-4
|
|
|
73d151 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
73d151 |
|
|
|
73d151 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.9-3
|
|
|
73d151 |
- Rebuild for Python 3.6
|
|
|
73d151 |
|
|
|
73d151 |
* Wed Nov 23 2016 Damien Ciabrini <dciabrin@redhat.com> - 0.7.9-2
|
|
|
73d151 |
- cherrypick commit 755dfdc upstream to allow bind before connect
|
|
|
73d151 |
Related: rhbz#1378008
|
|
|
73d151 |
|
|
|
73d151 |
* Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 0.7.9-1
|
|
|
73d151 |
- Update to 0.7.9
|
|
|
73d151 |
|
|
|
73d151 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-6
|
|
|
73d151 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
73d151 |
|
|
|
73d151 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.7-5
|
|
|
73d151 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
73d151 |
|
|
|
73d151 |
* Mon Jan 4 2016 Julien Enselme <jujens@jujens.eu> - 0.6.7-4
|
|
|
73d151 |
- Correct installation problems due to Requires: mariadb
|
|
|
73d151 |
|
|
|
73d151 |
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.6.7-3
|
|
|
73d151 |
- Rebuilt for python 3.5
|
|
|
73d151 |
|
|
|
73d151 |
* Wed Nov 4 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 0.6.7-2
|
|
|
73d151 |
- Drop unnecessary mariadb requirement
|
|
|
73d151 |
- Add python3 conditionals in order to rebuild it in EL7
|
|
|
73d151 |
|
|
|
73d151 |
* Thu Oct 1 2015 Julien Enselme <jujens@jujens.eu> - 0.6.7-1
|
|
|
73d151 |
- Update to 0.6.7
|
|
|
73d151 |
|
|
|
73d151 |
* Thu Aug 6 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-4
|
|
|
73d151 |
- Use %%license in %%files
|
|
|
73d151 |
|
|
|
73d151 |
* Wed Aug 5 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-3
|
|
|
73d151 |
- Move python2 package in its own subpackage
|
|
|
73d151 |
- Add provides
|
|
|
73d151 |
|
|
|
73d151 |
* Fri Jul 31 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-2
|
|
|
73d151 |
- Add Provides: python2-PyMySQL
|
|
|
73d151 |
- Remove usage of %%py3dir
|
|
|
73d151 |
|
|
|
73d151 |
* Sun May 31 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-1
|
|
|
73d151 |
- Update to 0.6.6
|
|
|
73d151 |
|
|
|
73d151 |
* Wed Nov 26 2014 Julien Enselme <jujens@jujens.eu> - 0.6.2-1
|
|
|
73d151 |
- Initial packaging
|