47 lines
1,000 B
Text
47 lines
1,000 B
Text
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||
|
|
||
|
_pyname=twilio
|
||
|
pkgname="py3-$_pyname"
|
||
|
pkgver=8.5.0
|
||
|
pkgrel=0
|
||
|
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
|
||
|
py3-gpep517
|
||
|
py3-wheel
|
||
|
py3-installer
|
||
|
"
|
||
|
options="!check" # No testsuite
|
||
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
||
|
builddir="$srcdir"/$_pyname-$pkgver
|
||
|
subpackages="$pkgname-pyc"
|
||
|
|
||
|
build() {
|
||
|
gpep517 build-wheel \
|
||
|
--wheel-dir dist \
|
||
|
--output-fd 3 3>&1 >&2
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
python3 -m installer -d "$pkgdir" \
|
||
|
dist/*.whl
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
d82d6f1d9c7e589d42416d6d045b57a9c181bcdbc51b7e7d7ecb42d79d49160227790cb202a351a36f80ddfb6998d66b63ca46e998e03fe1fefdc64b2f67f0a1 py3-twilio-8.5.0.tar.gz
|
||
|
"
|