# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) _pyname=twilio pkgname="py3-$_pyname" pkgver=7.17.0 pkgrel=0 arch="!armv7 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=" 73f286d9c8571942e8f4ce2c03e87d5ec5ba075daa189e7e60014aece7b80bcc2da3ffcaea7b0f2a1e95ed2c193d389d7f3e7be02450a5c5bbc532dd928edcb7 py3-twilio-7.17.0.tar.gz "