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
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,23 +18,21 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-json-rpc
|
||||
Version: 1.11.0
|
||||
Version: 1.12.1
|
||||
Release: 0
|
||||
Summary: JSON-RPC transport implementation
|
||||
License: MIT
|
||||
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
|
||||
Source10: https://raw.githubusercontent.com/pavlov99/json-rpc/%{version}/LICENSE.txt
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -47,7 +45,6 @@ requests, gevent or zmq.
|
||||
|
||||
%prep
|
||||
%setup -q -n json-rpc-%{version}
|
||||
cp %{SOURCE10} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -57,7 +54,7 @@ cp %{SOURCE10} .
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Reference in New Issue
Block a user