14
0

- Update to 0.4.0:

* Added back support of Unix sockets on both server and client side.
  * Note: HTTPS is not supported on server-side Unix sockets
  * Fixed the CGI request handler
  * Fixed the request handler wrapping on server side
- Switch to github tarball for tests
- Run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonrpclib-pelix?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2019-03-28 14:46:27 +00:00
committed by Git OBS Bridge
parent c6dc37ced5
commit 193c088dc4
4 changed files with 26 additions and 16 deletions

View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Mar 28 14:42:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.4.0:
* Added back support of Unix sockets on both server and client side.
* Note: HTTPS is not supported on server-side Unix sockets
* Fixed the CGI request handler
* Fixed the request handler wrapping on server side
- Switch to github tarball for tests
- Run tests
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 17 16:29:04 UTC 2017 - mimi.vx@gmail.com Fri Nov 17 16:29:04 UTC 2017 - mimi.vx@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-jsonrpclib-pelix # spec file for package python-jsonrpclib-pelix
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,23 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jsonrpclib-pelix Name: python-jsonrpclib-pelix
Version: 0.3.1 Version: 0.4.0
Release: 0 Release: 0
Summary: JSPN-RPC over HTTP Library for Pelix Remote Services Summary: JSPN-RPC over HTTP Library for Pelix Remote Services
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/Python Group: Development/Libraries/Python
Url: https://github.com/tcalmant/jsonrpclib/ Url: https://github.com/tcalmant/jsonrpclib/
Source: https://files.pythonhosted.org/packages/source/j/jsonrpclib-pelix/jsonrpclib-pelix-%{version}.tar.gz Source: https://github.com/tcalmant/jsonrpclib/archive/v%{version}.tar.gz
BuildRequires: %{python_module base} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: sed
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -36,11 +36,7 @@ BuildArch: noarch
A Python (2 & 3) JSON-RPC over HTTP that mirrors xmlrpclib syntax. A Python (2 & 3) JSON-RPC over HTTP that mirrors xmlrpclib syntax.
%prep %prep
%setup -q -n jsonrpclib-pelix-%{version} %setup -q -n jsonrpclib-%{version}
chmod a-x jsonrpclib/*.py
sed -i '1d' jsonrpclib/*.py
sed -i 's/\r$//' LICENSE.txt
sed -i 's/\r$//' README.rst
%build %build
%python_build %python_build
@@ -49,9 +45,12 @@ sed -i 's/\r$//' README.rst
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files} %files %{python_files}
%{python_sitelib}/* %{python_sitelib}/*
%license LICENSE.txt %license LICENSE
%doc README.rst %doc README.md
%changelog %changelog

3
v0.4.0.tar.gz Normal file
View File

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