14
0

- 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:
Tomáš Chvátal
2020-03-10 10:30:52 +00:00
committed by Git OBS Bridge
parent 70954a70b1
commit 7fd2f2a511
4 changed files with 21 additions and 5 deletions

3
1.0.4.tar.gz Normal file
View File

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

View File

@@ -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> Fri Feb 28 21:43:18 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@@ -17,14 +17,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-tinyrpc Name: python-tinyrpc
Version: 1.0.4 Version: 1.0.4
Release: 0 Release: 0
Summary: A modular transport and protocol neutral RPC library Summary: A modular transport and protocol neutral RPC library
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/mbr/tinyrpc 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 setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: fdupes BuildRequires: fdupes
@@ -53,6 +58,10 @@ WebSockets or ZeroMQ).
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# test_batch_dispatch - needs old pytest syntax, skip
%pytest -k 'not test_batch_dispatch'
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst

View File

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