Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : python-pycurl | name : python-pycurl | ||||
| version : 7.43.0.2 | version : 7.43.0.2 | ||||
| release : 6 | release : 7 | ||||
| source : | source : | ||||
| - https://files.pythonhosted.org/packages/e8/e4/0dbb8735407189f00b33d84122b9be52c790c7c3b25286826f4e1bdb7bde/pycurl-7.43.0.2.tar.gz : 0f0cdfc7a92d4f2a5c44226162434e34f7d6967d3af416a6f1448649c09a25a4 | - https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-7.43.0.2.tar.gz : 0f0cdfc7a92d4f2a5c44226162434e34f7d6967d3af416a6f1448649c09a25a4 | ||||
| license : | license : MIT | ||||
| - MIT | |||||
| component : system.base | component : system.base | ||||
| summary : Curl module for python | summary : Curl module for python | ||||
| builddeps : | |||||
| - pkgconfig(python-2.7) | |||||
| - pkgconfig(libcurl) | |||||
| description: | | description: | | ||||
| Easy access to libcurl from Python | Easy access to libcurl from Python | ||||
| builddeps : | |||||
| - pkgconfig(libcurl) | |||||
| - pyflakes | |||||
| - python-bottle | |||||
| - python-flaky | |||||
| - python-nose | |||||
| - python-setuptools | |||||
| setup : | | setup : | | ||||
| # %patch -p1 < $pkgfiles/force_openssl.patch | # remove bundled libraries | ||||
| # %patch -p1 < $pkgfiles/no_static_link.patch | 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 | %python_setup --with-openssl | ||||
| install : | | install : | | ||||
| %python_install --with-openssl | %python_install --with-openssl | ||||
| mv $installdir/usr/share/doc/pycurl $installdir/usr/share/doc/python-pycurl | 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" | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.