14
0
forked from pool/python-pyzmq

Accepting request 356031 from home:TheBlackCat:branches:devel:languages:python

update to version 15.2.0

OBS-URL: https://build.opensuse.org/request/show/356031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=48
This commit is contained in:
Todd R
2016-01-26 12:29:54 +00:00
committed by Git OBS Bridge
parent 81eaaef7ee
commit e9b5013548
4 changed files with 49 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyzmq
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -17,7 +17,7 @@
Name: python-pyzmq
Version: 14.7.0
Version: 15.2.0
Release: 0
Summary: Python bindings for 0MQ
License: LGPL-3.0+ and BSD-3-Clause
@@ -28,21 +28,19 @@ Source1: python-pyzmq-rpmlintrc
# PATCH-FIX-OPENSUSE skip_test_tracker.patch
Patch1: skip_test_tracker.patch
BuildRequires: python-Cython
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: zeromq-devel
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-cffi
BuildRequires: python-devel
BuildRequires: python-gevent
BuildRequires: python-numpy
BuildRequires: python-paramiko
BuildRequires: python-pexpect
BuildRequires: python-py
BuildRequires: python-setuptools
BuildRequires: python-simplejson
BuildRequires: python-tornado
BuildRequires: zeromq-devel
# Test requirements
BuildRequires: python-nose
%endif
Requires: python
Recommends: python-cffi
Recommends: python-gevent
@@ -85,22 +83,28 @@ CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# uses NETLINK which does not exist under linux mode..
%if !0%{?qemu_user_space_build:1}
%check
python setup.py build_ext --inplace
python setup.py test
%endif
# Disable tests, they are so slow that OBS thinks the build died.
#%check
## Remove non-deterministic authentication test
## This fails to connect randomly
# rm -rf zmq/tests/test_auth.py
#
# pthon3 setup.py build_ext --inplace
# python3 setup.py test
%files
%defattr(-,root,root,-)
%doc AUTHORS.md COPYING.BSD COPYING.LESSER README.md examples docs
%{python_sitearch}/zmq/
%{python_sitearch}/pyzmq-%{version}-py%{py_ver}.egg-info
%{python_sitearch}/pyzmq-%{version}-py*.egg-info
%exclude %{python_sitearch}/zmq/utils/*.h
%exclude %{python_sitearch}/zmq/backend/cffi/_verify.c
%exclude %{python_sitearch}/zmq/backend/cffi/_cdefs.h
%files devel
%defattr(-,root,root,-)
%{python_sitearch}/zmq/utils/*.h
%{python_sitearch}/zmq/backend/cffi/_verify.c
%{python_sitearch}/zmq/backend/cffi/_cdefs.h
%changelog