forked from pool/python-gevent
Accepting request 677113 from devel:languages:python
- Skip the SSL tests as they just only triggers false positives with hope upstream sorts it out someday - Switch to pkgconfig requirements as c-ares was renamed between SLE12 and SLE15 OBS-URL: https://build.opensuse.org/request/show/677113 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gevent?expand=0&rev=29
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 18 12:09:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Skip the SSL tests as they just only triggers false positives
|
||||
with hope upstream sorts it out someday
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 11 11:02:21 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Switch to pkgconfig requirements as c-ares was renamed between
|
||||
SLE12 and SLE15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 4 11:37:48 UTC 2019 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
||||
@@ -40,14 +40,15 @@ BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module zope.event}
|
||||
BuildRequires: %{python_module zope.interface}
|
||||
# /etc/protocols needed for tests
|
||||
BuildRequires: c-ares-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libev-devel
|
||||
BuildRequires: libuv-devel
|
||||
# /etc/protocols needed for tests
|
||||
BuildRequires: netcfg
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-testsuite
|
||||
BuildRequires: pkgconfig(libcares)
|
||||
BuildRequires: pkgconfig(libev)
|
||||
BuildRequires: pkgconfig(libuv)
|
||||
Requires: python-cffi
|
||||
Requires: python-dnspython
|
||||
Requires: python-greenlet
|
||||
@@ -96,6 +97,7 @@ Documentation and examples for %{name}.
|
||||
%build
|
||||
export LIBEV_EMBED=0
|
||||
export CARES_EMBED=0
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_build
|
||||
|
||||
%install
|
||||
@@ -106,6 +108,8 @@ export CARES_EMBED=0
|
||||
|
||||
%check
|
||||
# create ignore list of tests that reach out to the net
|
||||
# test_ssl.py is fragile as it expect specific responses from ssl and
|
||||
# does not account to our local changes
|
||||
cat <<'EOF' >> network_tests.txt
|
||||
test_urllib2net.py
|
||||
test__server.py
|
||||
@@ -115,6 +119,8 @@ test___example_servers.py
|
||||
test__socket_dns.py
|
||||
test__getaddrinfo_import.py
|
||||
test__examples.py
|
||||
test_ssl.py
|
||||
test__ssl.py
|
||||
EOF
|
||||
export GEVENT_RESOLVER=thread
|
||||
# Setting the TRAVIS environment variable makes some different configuration
|
||||
|
||||
Reference in New Issue
Block a user