# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python2-requests-ntlm pkgver=1.1.0 pkgrel=3 pkgdesc='This package allows for HTTP NTLM authentication using the requests library.' arch=('any') url='https://pypi.python.org/pypi/requests-ntlm/' license=('ISC') depends=('python2' 'python2-requests' 'python2-ntlm-auth' 'python2-cryptography') makedepends=('python2-setuptools') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/requests_ntlm-$pkgver.tar.gz") sha512sums=('9a74ecd6e4ed5c5e4381d2ee3fb9ff233352b49baa5fae4e0ecc30aaad12fc7a5c1b9dd936f35d4a3815ae7f6ec5bb8581e84128d63ff0e961181408daddb807') build() { cd "requests_ntlm-$pkgver" python2 setup.py build } package() { cd "requests_ntlm-$pkgver" python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \ --skip-build }