forked from pool/python-json-rpc
- Update to 1.12.1:
* ADD: Ability to override function name with decorator convention in dispatcher * REF: Improve function parameter introspection: use more stable approach for python3, allow both args and kwards parameters check at the same time. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json-rpc?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
19e72765ee
commit
7efe3d151b
21
LICENSE.txt
21
LICENSE.txt
@@ -1,21 +0,0 @@
|
|||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2013-2017 Kirill Pavlov <k@p99.io>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a5e53f80699e97754bfd8a29c86138aa144c4e6663fe80c0be5270fc6f177166
|
|
||||||
size 29442
|
|
3
json-rpc-1.12.1.tar.gz
Normal file
3
json-rpc-1.12.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bc84451268b48a576d3138744322a8ce673eccadf7424edf4d446b1ddb59e58c
|
||||||
|
size 1364570
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 26 14:49:45 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.12.1:
|
||||||
|
* ADD: Ability to override function name with decorator convention in
|
||||||
|
dispatcher
|
||||||
|
* REF: Improve function parameter introspection: use more stable
|
||||||
|
approach for python3, allow both args and kwards parameters check at
|
||||||
|
the same time.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 12:49:39 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 12:49:39 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-json-rpc
|
# spec file for package python-json-rpc
|
||||||
#
|
#
|
||||||
# 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
|
# 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
|
||||||
@@ -18,23 +18,21 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-json-rpc
|
Name: python-json-rpc
|
||||||
Version: 1.11.0
|
Version: 1.12.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: JSON-RPC transport implementation
|
Summary: JSON-RPC transport implementation
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/pavlov99/json-rpc
|
URL: https://github.com/pavlov99/json-rpc
|
||||||
Source: https://files.pythonhosted.org/packages/source/j/json-rpc/json-rpc-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/j/json-rpc/json-rpc-%{version}.tar.gz
|
||||||
Source10: https://raw.githubusercontent.com/pavlov99/json-rpc/%{version}/LICENSE.txt
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -47,7 +45,6 @@ requests, gevent or zmq.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n json-rpc-%{version}
|
%setup -q -n json-rpc-%{version}
|
||||||
cp %{SOURCE10} .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -57,7 +54,7 @@ cp %{SOURCE10} .
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Reference in New Issue
Block a user