15
0
forked from pool/python-ZEO

- Update to 5.2.1:

* Add support for Python 3.7.
  * Switch from msgpack-python to msgpack. Currently a version < 0.6 is required.
  * Stop calling the deprecated checkSecure method when creating a ClientStorage. With ZODB 5.2.2 and above, this issued a warning. With older versions, this could issue a log message, but this was considered a misfeature. See issue 134.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZEO?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal
2019-03-04 16:15:52 +00:00
committed by Git OBS Bridge
parent 814e8c2176
commit 8785ded944
4 changed files with 18 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c1a9fc01114382e58b7ae21135fe0c222f214bf680ad073d5fdccaaaccd6e57
size 276286

3
ZEO-5.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd65379f3c231a411a000c352bb700c4a635d74be947b09b1ce84b514f16beb4
size 276884

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 4 14:10:06 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 5.2.1:
* Add support for Python 3.7.
* Switch from msgpack-python to msgpack. Currently a version < 0.6 is required.
* Stop calling the deprecated checkSecure method when creating a ClientStorage. With ZODB 5.2.2 and above, this issued a warning. With older versions, this could issue a log message, but this was considered a misfeature. See issue 134.
-------------------------------------------------------------------
Tue Jul 31 09:11:23 UTC 2018 - tchvatal@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ZEO
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -21,23 +21,23 @@
%define oldpython python
%bcond_without test
Name: python-ZEO
Version: 5.2.0
Version: 5.2.1
Release: 0
Summary: Client-Server storage implementation for ZODB
License: ZPL-2.1
Group: Development/Languages/Python
URL: https://pypi.org/project/ZEO/
URL: https://github.com/zopefoundation/ZEO
Source: https://files.pythonhosted.org/packages/source/Z/ZEO/ZEO-%{version}.tar.gz
Source99: %{name}-rpmlintrc
BuildRequires: %{python_module ZConfig}
BuildRequires: %{python_module ZODB >= 5.1.1}
BuildRequires: %{python_module ZODB >= 5.5.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module zdaemon}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-ZConfig
Requires: python-ZODB >= 5.1.1
Requires: python-ZODB >= 5.5.1
Requires: python-persistent >= 4.1.0
Requires: python-six
Requires: python-transaction
@@ -81,15 +81,13 @@ find . -name "*~" -print -delete
# remove unwanted shebang
find src -name "*.py" | xargs sed -i '1 { /^#!/ d }'
rm -rf src/ZEO.egg-info
# remove wrong module name, renamed upstream
sed -i -e 's:msgpack-python:msgpack:' setup.py
%build
%python_build
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/runzeo
%python_clone -a %{buildroot}%{_bindir}/zeoctl