Accepting request 693757 from devel:languages:python

- Switch off type_https test as it fails with new Python 2.7.16
- Clean up the SPEC file.

OBS-URL: https://build.opensuse.org/request/show/693757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gevent?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2019-04-14 10:21:26 +00:00 committed by Git OBS Bridge
commit 6d8d9ed409
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 11 14:20:20 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Switch off type_https test as it fails with new Python 2.7.16
- Clean up the SPEC file.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 18 12:09:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Mon Feb 18 12:09:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -93,6 +93,7 @@ Documentation and examples for %{name}.
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
sed -i -e '1s!bin/env python!bin/python!' examples/*.py
%build %build
export LIBEV_EMBED=0 export LIBEV_EMBED=0
@ -110,6 +111,7 @@ export CARES_EMBED=0
# create ignore list of tests that reach out to the net # create ignore list of tests that reach out to the net
# test_ssl.py is fragile as it expect specific responses from ssl and # test_ssl.py is fragile as it expect specific responses from ssl and
# does not account to our local changes # does not account to our local changes
# Also, gh#gevent/gevent#1390
cat <<'EOF' >> network_tests.txt cat <<'EOF' >> network_tests.txt
test_urllib2net.py test_urllib2net.py
test__server.py test__server.py
@ -119,6 +121,8 @@ test___example_servers.py
test__socket_dns.py test__socket_dns.py
test__getaddrinfo_import.py test__getaddrinfo_import.py
test__examples.py test__examples.py
test_https.py
test_urllib2_localnet.py
test_ssl.py test_ssl.py
test__ssl.py test__ssl.py
EOF EOF