2022-12-27 20:40:33 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
_pyname=twilio
|
|
|
|
pkgname="py3-$_pyname"
|
2023-04-01 13:18:27 +00:00
|
|
|
pkgver=7.17.0
|
|
|
|
pkgrel=0
|
2023-05-07 22:41:06 +00:00
|
|
|
arch="!armv7 noarch"
|
2022-12-27 20:40:33 +00:00
|
|
|
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() {
|
2023-01-12 18:48:03 +00:00
|
|
|
python3 setup.py install --root="$pkgdir/" --optimize=1
|
2022-12-27 20:40:33 +00:00
|
|
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
|
|
}
|
|
|
|
sha512sums="
|
2023-04-01 13:18:27 +00:00
|
|
|
73f286d9c8571942e8f4ce2c03e87d5ec5ba075daa189e7e60014aece7b80bcc2da3ffcaea7b0f2a1e95ed2c193d389d7f3e7be02450a5c5bbc532dd928edcb7 py3-twilio-7.17.0.tar.gz
|
2022-12-27 20:40:33 +00:00
|
|
|
"
|