57 lines
1.6 KiB
RPMSpec
57 lines
1.6 KiB
RPMSpec
Name: python-PyMySQL
|
|
Version: 0.9.3
|
|
Release: 3
|
|
Summary: Pure Python MySQL Client
|
|
License: MIT
|
|
URL: https://pypi.python.org/pypi/PyMySQL/
|
|
Source0: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
|
|
|
|
BuildRequires: python3-cryptography python3-devel python3-setuptools
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This package contains a pure-Python MySQL client library, based on PEP 249.
|
|
Most public APIs are compatible with mysqlclient and MySQLdb.
|
|
|
|
%package -n python3-PyMySQL
|
|
Summary: Pure Python3 MySQL client
|
|
Requires: python3-cryptography
|
|
%{?python_provide:%python_provide python3-PyMySQL}
|
|
|
|
%description -n python3-PyMySQL
|
|
This package contains a pure-Python MySQL client library, based on PEP 249.
|
|
Most public APIs are compatible with mysqlclient and MySQLdb.
|
|
|
|
|
|
%prep
|
|
%autosetup -n PyMySQL-%{version} -p1
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%files -n python3-PyMySQL
|
|
%doc README.rst
|
|
%license LICENSE
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
%changelog
|
|
* Wed Aug 25 2021 OpenStack_SIG <openstack@openeuler.org> - 0.9.3-3
|
|
- Revert the version to 0.9.3, because python3-aiomysql depends on the python-PyMySQL vertion ranging form 0.9 to 0.9.3
|
|
|
|
* Mon Aug 09 2021 OpenStack_SIG <openstack@openeuler.org> - 1.0.2-1
|
|
- Update version to 1.0.2, because of the dependence of Openstack Wallaby
|
|
|
|
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 0.9.3-2
|
|
- remove python2 dependency
|
|
|
|
* Jul Thu 16 2020 yanglongkang <yanglongkang@huawei.com> - 0.9.3-1
|
|
- update package to 0.9.3
|
|
|
|
* Fri Feb 14 2020 hy-euler <eulerstoragemt@huawei.com> - 0.9.2-3
|
|
- Package Initialization
|