# Contributor: Roberto Oliveira # Maintainer: Roberto Oliveira pkgname=py3-requests-toolbelt _pkgname=toolbelt pkgver=1.0.0 pkgrel=0 pkgdesc="Useful classes and functions to be used with python-requests" options="!check" # Requires unpackaged 'betamax' module url="https://github.com/requests/toolbelt" arch="noarch" license="Apache-2.0" depends="py3-requests" makedepends="py3-setuptools" checkdepends="py3-mock py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/requests/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { python3 -m pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 1ee5d5dbb0d140796c81d42c051ccfab8810bf5ec511b32c9a54b4adccbab460f3108acdfe5a65b3cb68377586ff0f55206bf231e64651aaea077feda7984953 py3-requests-toolbelt-1.0.0.tar.gz "