# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) _pyname=twilio pkgname="py3-$_pyname" pkgver=7.13.0 pkgrel=1 arch="noarch" pkgdesc="Twilio API client and TwiML generator" url="https://pypi.python.org/project/$_pyname" license="MIT" depends="py3-requests py3-mock py3-flake8 py3-six py3-nose py3-python-jwt py3-twine py3-tz" makedepends="py3-setuptools" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver check() { PYTHONPATH="$srcdir" pytest || true } package() { python3 setup.py install --root="$pkgdir/" --optimize=1 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ } sha512sums=" 6bc37d51dca7928d258d633b16d53434bd1aa37e72325079245c68cd854655718b8e577efe61ee056d2b7d490db93a07862f6e851ba149eec848c62345f1340c py3-twilio-7.13.0.tar.gz "