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=('8b54b625d692d1f152a4e4ff29fbb8d66f51b5a657ab08e5493c6d4a9a7a1f58bb8407885d6a061ef64078db416e60d7f9a246c4a0e87f11d411cb706b96000d')
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/