# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-gtts-token pkgver=1.1.3 pkgrel=0 pkgdesc="Calculates a token to run the Google Translate text to speech" url="https://github.com/Boudewijn26/gTTS-token" arch="noarch" license="MIT" depends="python3 py3-requests" makedepends="py3-setuptools" source="https://github.com/Boudewijn26/gTTS-token/archive/v$pkgver/gTTS-token-v$pkgver.tar.gz" options="net" # Net required for tests builddir="$srcdir/gTTS-token-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="f711707d975801c0026ed88c87f2f79e94a390c15cc179c06aa8c4f02db026f614f3698f599e3acbc4eee606846210a8ec3690ead799c23eab643bdf30dfb00f gTTS-token-v1.1.3.tar.gz"