14
0

Accepting request 674558 from home:jirislaby:branches:devel:languages:python

This is needed for network:cryptocurrencies/electrum.

OBS-URL: https://build.opensuse.org/request/show/674558
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiorpcX?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2019-02-13 13:17:04 +00:00
committed by Git OBS Bridge
commit ff9742d8b0
5 changed files with 104 additions and 0 deletions

24
.gitattributes vendored Normal file
View File

@@ -0,0 +1,24 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

BIN
0.10.4.tar.gz LFS Normal file

Binary file not shown.

9
python-aiorpcX.changes Normal file
View File

@@ -0,0 +1,9 @@
-------------------------------------------------------------------
Mon Feb 11 12:00:43 UTC 2019 - Jiri Slaby <jslaby@suse.com>
- add tests and license
-------------------------------------------------------------------
Wed Feb 6 07:23:09 UTC 2019 - Jiri Slaby <jslaby@suse.com>
- initial package

67
python-aiorpcX.spec Normal file
View File

@@ -0,0 +1,67 @@
#
# spec file for package python-aiorpcX
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-aiorpcX
Version: 0.10.4
Release: 0
Summary: Generic async RPC implementation, including JSON-RPC
License: MIT
Group: Development/Languages/Python
Url: https://github.com/kyuupichan/aiorpcX
Source: https://github.com/kyuupichan/aiorpcX/archive/%{version}.tar.gz
BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module aiohttp >= 2.3.2}
BuildRequires: %{python_module attrs}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module uvloop}
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-attrs
BuildArch: noarch
%python_subpackages
%description
Generic async RPC implementation, including JSON-RPC
%prep
%setup -q -n aiorpcX-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# the two disabled tests below need network
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -k 'not (test_auto_detect_address_failure or test_create_connection_resolve_good)'
%files %{python_files}
%doc README.rst
%license LICENCE
%{python_sitelib}/*
%changelog