diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,21 +1,34 @@ name : python-pycurl version : 7.43.0.2 -release : 6 +release : 7 source : - - https://files.pythonhosted.org/packages/e8/e4/0dbb8735407189f00b33d84122b9be52c790c7c3b25286826f4e1bdb7bde/pycurl-7.43.0.2.tar.gz : 0f0cdfc7a92d4f2a5c44226162434e34f7d6967d3af416a6f1448649c09a25a4 -license : - - MIT + - https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-7.43.0.2.tar.gz : 0f0cdfc7a92d4f2a5c44226162434e34f7d6967d3af416a6f1448649c09a25a4 +license : MIT component : system.base summary : Curl module for python -builddeps : - - pkgconfig(python-2.7) - - pkgconfig(libcurl) description: | Easy access to libcurl from Python +builddeps : + - pkgconfig(libcurl) + - pyflakes + - python-bottle + - python-flaky + - python-nose + - python-setuptools setup : | - # %patch -p1 < $pkgfiles/force_openssl.patch - # %patch -p1 < $pkgfiles/no_static_link.patch + # 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 @@ -2,8 +2,8 @@ python-pycurl - Bryan T. Meyers - bmeyers@datadrake.com + Pierre-Yves + pyu@riseup.net MIT system.base @@ -58,12 +58,12 @@ - + 2018-12-04 7.43.0.2 Packaging update - Bryan T. Meyers - bmeyers@datadrake.com + Pierre-Yves + pyu@riseup.net \ No newline at end of file