1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
8 pkgdesc="A Python 3.x interface to libcurl"
10 url="http://pycurl.sourceforge.net/"
11 license=('LGPL' 'MIT')
12 depends=('python' 'curl')
13 makedepends=('python-setuptools')
14 checkdepends=('python-bottle' 'python-pytest' 'vsftpd' 'python-flaky' 'python-pyflakes')
15 source=("https://github.com/pycurl/pycurl/archive/REL_${pkgver//./_}/$pkgname-$pkgver.tar.gz")
16 sha512sums=('c27d500a310124b0972eaeb424afc2878e0cd59bec9841ec0dcff3485a76e78b53438d9bf9c035658058d7c118e3e5ecd426e0733cbd251261135c6a504f2edf')
19 mv pycurl-REL_${pkgver//./_} pycurl-$pkgver
29 export PYCURL_VSFTPD_PATH=vsftpd
30 # We don't have HTTP2 enabled
33 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.10:$PYTHONPATH" make test || warning "Tests failed"
38 python setup.py install -O1 --root="$pkgdir"
39 install -Dm644 COPYING-MIT -t "$pkgdir"/usr/share/licenses/$pkgname/