- Update to 4.75:
* include LICENSE file in distribution * avoid decode error when dealing with memoryview annotations * serpent 1.27 required to avoid regression in previous version * fixed marshal serializer problem that prevented it to even call register() in the name server. * msgpack, json and marshal serializers now understand how to serialize array.array the same way serpent already did * fixed distributed-mandelbrot example to actually run multiple concurrent calculations. * missing API method doc added on NameServer.count() OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pyro4?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
c03c4dc94c
commit
7afdd775ae
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2766b53db49f70b0d047fa6871aeb47484ba7e50cf53cfa37d26f87742c0b6a8
|
||||
size 471352
|
||||
3
Pyro4-4.75.tar.gz
Normal file
3
Pyro4-4.75.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3897c0254046d4cb412a4d1a8f2f9c2c1c1ae643a24db07d0abdb51acdb8d7b5
|
||||
size 470592
|
||||
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 09:29:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 4.75:
|
||||
* include LICENSE file in distribution
|
||||
* avoid decode error when dealing with memoryview annotations
|
||||
* serpent 1.27 required to avoid regression in previous version
|
||||
* fixed marshal serializer problem that prevented it to even call register() in the name server.
|
||||
* msgpack, json and marshal serializers now understand how to serialize array.array the same way serpent already did
|
||||
* fixed distributed-mandelbrot example to actually run multiple concurrent calculations.
|
||||
* missing API method doc added on NameServer.count()
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:52:46 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Pyro4
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -18,36 +18,36 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Pyro4
|
||||
Version: 4.72
|
||||
Version: 4.75
|
||||
Release: 0
|
||||
Summary: Distributed object middleware for Python (RPC)
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/irmen/Pyro4
|
||||
URL: https://github.com/irmen/Pyro4
|
||||
Source: https://files.pythonhosted.org/packages/source/P/Pyro4/Pyro4-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module cloudpickle >= 0.4.0}
|
||||
BuildRequires: %{python_module dill >= 0.2.6}
|
||||
BuildRequires: %{python_module msgpack-python >= 0.4.6}
|
||||
BuildRequires: %{python_module serpent >= 1.24}
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: python-selectors34
|
||||
# /SECTION
|
||||
Requires: python-serpent >= 1.24
|
||||
Requires: python-serpent >= 1.27
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: ca-certificates
|
||||
Recommends: python-cloudpickle >= 0.4.0
|
||||
Recommends: python-dill >= 0.2.6
|
||||
Recommends: python-msgpack-python >= 0.4.6
|
||||
Recommends: python-msgpack-python >= 0.5.2
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module cloudpickle >= 0.4.0}
|
||||
BuildRequires: %{python_module dill >= 0.2.6}
|
||||
BuildRequires: %{python_module msgpack-python >= 0.5.2}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module serpent >= 1.27}
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: python-selectors34
|
||||
# /SECTION
|
||||
%ifpython2
|
||||
Requires: python-selectors34
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -61,10 +61,8 @@ to execute the method. It also provides a set of features that enable
|
||||
building distributed applications. Pyro is a pure Python library and
|
||||
runs on many different platforms and Python versions.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Pyro4-%{version}
|
||||
sed -i 's/\r$//' LICENSE
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -79,6 +77,10 @@ sed -i 's/\r$//' LICENSE
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyro4-nsc
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyro4-test-echoserver
|
||||
|
||||
%check
|
||||
# testContextAndSock missing cert fixtures https://github.com/irmen/Pyro4/issues/216
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:./tests/PyroTests py.test-%{$python_bin_suffix} -v -k 'not testContextAndSock'
|
||||
|
||||
%post
|
||||
%{python_install_alternative pyro4-check-config pyro4-flameserver pyro4-httpgateway pyro4-ns pyro4-nsc pyro4-test-echoserver}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user