forked from pool/python-pyzmq
Accepting request 622503 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/622503 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=64
This commit is contained in:
committed by
Git OBS Bridge
parent
56ffa01200
commit
dfed4dd991
@@ -16,17 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Disable tests, they are so slow that OBS thinks the build died.
|
||||
%bcond_with tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pyzmq
|
||||
Version: 17.0.0
|
||||
Version: 17.1.0
|
||||
Release: 0
|
||||
Summary: Python bindings for 0MQ
|
||||
License: LGPL-3.0-or-later AND BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/zeromq/pyzmq
|
||||
URL: http://github.com/zeromq/pyzmq
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
|
||||
Source1: python-pyzmq-rpmlintrc
|
||||
# PATCH-FIX-OPENSUSE skip_test_tracker.patch
|
||||
@@ -35,6 +34,8 @@ BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module gevent}
|
||||
# Test requirements
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module paramiko}
|
||||
BuildRequires: %{python_module pexpect}
|
||||
@@ -45,21 +46,18 @@ BuildRequires: %{python_module tornado}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: zeromq-devel
|
||||
# Test requirements
|
||||
BuildRequires: %{python_module nose}
|
||||
Requires: python
|
||||
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
||||
Recommends: python-cffi
|
||||
Recommends: python-gevent
|
||||
Recommends: python-numpy
|
||||
Recommends: python-paramiko
|
||||
Recommends: python-pexpect
|
||||
Recommends: python-py
|
||||
Recommends: python-simplejson
|
||||
Recommends: python-tornado
|
||||
Recommends: python-paramiko
|
||||
Recommends: zeromq
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -102,8 +100,8 @@ rm -rf zmq/tests/test_auth.py
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.md COPYING.BSD COPYING.LESSER README.md examples
|
||||
%license COPYING.BSD COPYING.LESSER
|
||||
%doc AUTHORS.md README.md examples
|
||||
%{python_sitearch}/zmq/
|
||||
%{python_sitearch}/pyzmq-%{version}-py*.egg-info
|
||||
%exclude %{python_sitearch}/zmq/utils/*.h
|
||||
@@ -111,7 +109,6 @@ rm -rf zmq/tests/test_auth.py
|
||||
%exclude %{python_sitearch}/zmq/backend/cffi/_cdefs.h
|
||||
|
||||
%files %{python_files devel}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/zmq/utils/*.h
|
||||
%{python_sitearch}/zmq/backend/cffi/_verify.c
|
||||
%{python_sitearch}/zmq/backend/cffi/_cdefs.h
|
||||
|
Reference in New Issue
Block a user