forked from pool/python-tinyrpc
- Switch to github tarball for tests
- Run tests - Skip python2 build as the 1.0.4 is no longer py2 compatible OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tinyrpc?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
70954a70b1
commit
7fd2f2a511
3
1.0.4.tar.gz
Normal file
3
1.0.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fdd1e248c9362d809a4ea765438850faf83674e1b22bdf339f2078dc57fc5fde
|
||||
size 74082
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 10 10:25:46 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Switch to github tarball for tests
|
||||
- Run tests
|
||||
- Skip python2 build as the 1.0.4 is no longer py2 compatible
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 21:43:18 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
@@ -17,14 +17,19 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-tinyrpc
|
||||
Version: 1.0.4
|
||||
Release: 0
|
||||
Summary: A modular transport and protocol neutral RPC library
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/mbr/tinyrpc
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tinyrpc/tinyrpc-%{version}.tar.gz
|
||||
Source: https://github.com/mbr/tinyrpc/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module Werkzeug}
|
||||
BuildRequires: %{python_module gevent}
|
||||
BuildRequires: %{python_module msgpack}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pyzmq}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
@@ -53,6 +58,10 @@ WebSockets or ZeroMQ).
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# test_batch_dispatch - needs old pytest syntax, skip
|
||||
%pytest -k 'not test_batch_dispatch'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b41fab967fb1c978f573bf0d609a3b12cc3b6ed62bd3108f43f575563746396
|
||||
size 26367
|
Reference in New Issue
Block a user