Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : python-pycurl | name : python-pycurl | ||||
| version : 7.43.0.3 | version : 7.43.0.3 | ||||
| release : 9 | release : 10 | ||||
| source : | source : | ||||
| - https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-7.43.0.3.tar.gz : 6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e | - https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-7.43.0.3.tar.gz : 6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e | ||||
| homepage : http://pycurl.io/ | |||||
| license : MIT | license : MIT | ||||
| component : system.base | component : system.base | ||||
| summary : Curl module for python | summary : Curl module for python | ||||
| description: | | description: | | ||||
| Easy access to libcurl from Python | 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 : | builddeps : | ||||
| - pkgconfig(libcurl) | - pkgconfig(libcurl) | ||||
| - pyflakes | |||||
| - python-bottle | |||||
| - python-flaky | |||||
| - python-nose | |||||
| - python-setuptools | - 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 : | | 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.