forked from pool/python-PyMySQL
Accepting request 517107 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/517107 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMySQL?expand=0&rev=9
This commit is contained in:
commit
f32e7ece84
3
PyMySQL-0.7.11.tar.gz
Normal file
3
PyMySQL-0.7.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56e3f5bcef6501012233620b54f6a7b8a34edc5751e85e4e3da9a0d808df5f68
|
||||
size 71095
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ad1115f1366c14a107f7b45c4a5f19b534f9ee85c188dfcd585fc08d2c966b30
|
||||
size 69968
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 01:36:37 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Implement single-spec version
|
||||
- update to 0.7.11
|
||||
* Fixed Connection.close() failed when failed to send COM_CLOSE packet.
|
||||
* Cursor.executemany() accepts query ends with semicolon.
|
||||
* ssl parameters can be read from my.cnf.
|
||||
- update to 0.7.10
|
||||
* **SECURITY FIX**: Raise RuntimeError when received LOAD_LOCAL packet while
|
||||
``loacal_infile=False``. (Thanks to Bryan Helmig)
|
||||
* Raise SERVER_LOST error for MariaDB's shutdown packet (#540)
|
||||
* Change default connect_timeout to 10.
|
||||
* Add bind_address option (#529)
|
||||
- update to 0.7.9
|
||||
* Fix PyMySQL stop reading rows when first column is empty string (#513)
|
||||
Reverts DEPRECATE_EOF introduced in 0.7.7.
|
||||
- update to 0.7.8
|
||||
* Revert error message change in 0.7.7.
|
||||
(SQLAlchemy parses error message, #507)
|
||||
- update to 0.7.7
|
||||
* Add new unicode collation (#498)
|
||||
* Fix conv option is not used for encoding objects.
|
||||
* Experimental support for DEPRECATE_EOF protocol.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 15 10:30:55 UTC 2016 - dmueller@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-PyMySQL
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,28 +16,28 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-PyMySQL
|
||||
Version: 0.7.6
|
||||
Version: 0.7.11
|
||||
Release: 0
|
||||
Summary: Pure Python MySQL Driver
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://code.google.com/p/pymysql
|
||||
Source: https://pypi.io/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
Url: https://github.com/PyMySQL/PyMySQL/
|
||||
Source: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This package contains a pure-Python MySQL client library. Documentation on the
|
||||
MySQL client/server protocol can be found here:
|
||||
http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol If you would
|
||||
like to run the test suite, edit the config parameters in pymysql/tests/base.py.
|
||||
http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol
|
||||
|
||||
The goal of pymysql is to be a drop-in replacement for MySQLdb and work on
|
||||
CPython 2.3+, Jython, IronPython, PyPy and Python 3. We test for compatibility
|
||||
by simply changing the import statements in the Django MySQL backend and running
|
||||
@ -49,15 +49,16 @@ its unit tests as well as running it against the MySQLdb and myconnpy unit tests
|
||||
sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
#%%check
|
||||
#NOTE(saschpe): Needs mysql server
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG LICENSE README.rst
|
||||
%{python_sitelib}/*
|
||||
|
Loading…
Reference in New Issue
Block a user