- Clean up of SPEC file, while investigating test suite errors.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=95
This commit is contained in:
parent
6dd4546c28
commit
c76bc5642a
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 12 09:13:28 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Clean up of SPEC file, while investigating test suite errors.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 14 17:15:28 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Sun Feb 14 17:15:28 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
# Disable tests, they are very slow/halt on many arch
|
# Disable tests, they are very slow/halt on many arch
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
@ -29,7 +28,7 @@ Name: python-pyzmq
|
|||||||
Version: 22.0.3
|
Version: 22.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python bindings for 0MQ
|
Summary: Python bindings for 0MQ
|
||||||
License: LGPL-3.0-or-later AND BSD-3-Clause
|
License: BSD-3-Clause AND LGPL-3.0-or-later
|
||||||
URL: https://github.com/zeromq/pyzmq
|
URL: https://github.com/zeromq/pyzmq
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
|
||||||
Source1: python-pyzmq-rpmlintrc
|
Source1: python-pyzmq-rpmlintrc
|
||||||
@ -46,11 +45,11 @@ BuildRequires: %{python_module pytest-timeout}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module simplejson}
|
BuildRequires: %{python_module simplejson}
|
||||||
BuildRequires: %{python_module tornado}
|
BuildRequires: %{python_module tornado}
|
||||||
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
BuildRequires: %{python_module numpy if (%{python}-base without python36-base)}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
# SECTION pypy3 is not in openSUSE at the moment, it would use the cffi backend
|
# SECTION pypy3 is not in openSUSE at the moment, it would use the cffi backend
|
||||||
BuildRequires: %{python_module cffi if (%python with pypy3)}
|
BuildRequires: %{python_module cffi if (%{python} with pypy3)}
|
||||||
BuildRequires: %{python_module py if (%python with pypy3)}
|
BuildRequires: %{python_module py if (%{python} with pypy3)}
|
||||||
%if "%{python_flavor}" == "pypy3"
|
%if "%{python_flavor}" == "pypy3"
|
||||||
Requires: python-cffi
|
Requires: python-cffi
|
||||||
Requires: python-py
|
Requires: python-py
|
||||||
@ -60,9 +59,9 @@ Requires: python-py
|
|||||||
Recommends: python-gevent
|
Recommends: python-gevent
|
||||||
Recommends: python-numpy
|
Recommends: python-numpy
|
||||||
Recommends: python-pexpect
|
Recommends: python-pexpect
|
||||||
Suggests: python-paramiko
|
|
||||||
Recommends: python-simplejson
|
Recommends: python-simplejson
|
||||||
Recommends: python-tornado
|
Recommends: python-tornado
|
||||||
|
Suggests: python-paramiko
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -73,6 +72,7 @@ the ZeroMQ library (http://www.zeromq.org).
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
Requires: python-base
|
||||||
Requires: python-devel
|
Requires: python-devel
|
||||||
Requires: zeromq-devel
|
Requires: zeromq-devel
|
||||||
|
|
||||||
@ -103,7 +103,8 @@ export CFLAGS="%{optflags}"
|
|||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
# This test wants to build a custom cython extension, but does not have the source files installed into the buildroot
|
# This test wants to build a custom cython extension, but does
|
||||||
|
# not have the source files installed into the buildroot
|
||||||
SKIPPED_TESTS+=" or test_cython"
|
SKIPPED_TESTS+=" or test_cython"
|
||||||
%if 0%{?suse_version} < 1550
|
%if 0%{?suse_version} < 1550
|
||||||
# tries to open a network connection on older distributions
|
# tries to open a network connection on older distributions
|
||||||
|
Loading…
Reference in New Issue
Block a user