diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,6 +1,6 @@ name : python-pycurl version : 7.43.0.3 -release : 10 +release : 11 source : - https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-7.43.0.3.tar.gz : 6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e homepage : http://pycurl.io/ @@ -11,9 +11,25 @@ PycURL is a Python interface to libcurl. PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module. PycURL is mature, very fast, and supports a lot of features builddeps : - pkgconfig(libcurl) + - pyflakes + - python-bottle + - python-flaky + - python-nose - python-setuptools +setup : | + # remove bundled libraries + rm -f tests/fake-curl/libcurl/*.so + + # remove test-cases that won't work in our sandbox + rm -f tests/{ftp_test.py,seek_cb_test.py,ssh_key_cb_test.py} + + # We don't have nose-show-skipped in the repo + sed -e 's/ --show-skipped//' -i tests/run.sh build : | %python_setup --with-openssl install : | %python_install --with-openssl mv $installdir/usr/share/doc/pycurl $installdir/usr/share/doc/python-pycurl +check : | + export PYCURL_SSL_LIBRARY=openssl + %python_test %make test NOSETESTS="nosetests-%python2_version% -v" diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -59,8 +59,8 @@ - - 2020-12-29 + + 2021-01-20 7.43.0.3 Packaging update Algent Albrahimi