aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-07-16 21:42:13 +0200
committerBart Ribbers <bribbers@disroot.org>2021-07-16 20:00:07 +0000
commit62dfb901e5968643575e4b9c186f34ed539cd41c (patch)
tree87c5cc11a78133905734d23e4caba51120efcc46
parentbddbb8c09d09179b67ceb69c096e03bac3eda232 (diff)
downloadaports-62dfb901e5968643575e4b9c186f34ed539cd41c.tar.gz
aports-62dfb901e5968643575e4b9c186f34ed539cd41c.tar.bz2
aports-62dfb901e5968643575e4b9c186f34ed539cd41c.tar.xz
community/py3-gtts: upgrade to 2.2.3 and enable tests
-rw-r--r--community/py3-gtts/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/py3-gtts/APKBUILD b/community/py3-gtts/APKBUILD
index bcb95bcbd8..62c1590b06 100644
--- a/community/py3-gtts/APKBUILD
+++ b/community/py3-gtts/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-gtts
-pkgver=2.2.2
-pkgrel=2
+pkgver=2.2.3
+pkgrel=0
pkgdesc="A Python library and CLI tool to interface with Google Translate text-to-speech API"
url="https://github.com/pndurette/gTTS"
arch="noarch"
@@ -21,8 +21,7 @@ checkdepends="
"
source="https://pypi.python.org/packages/source/g/gTTS/gTTS-$pkgver.tar.gz"
# Net required for tests
-# Tests fail currently https://github.com/pndurette/gTTS/issues/220
-options="!check"
+options="net"
builddir="$srcdir/gTTS-$pkgver"
build() {
@@ -30,11 +29,14 @@ build() {
}
check() {
- pytest
+ # Tests fail currently https://github.com/pndurette/gTTS/issues/220
+ pytest -k 'not test_file_ascii and not test_file_utf8'
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="3c43ddd35ff55a15f06cde4972055a6216d2e03fc00ebf8ee9aed77738d4849a59a8fcc3572e96bb837a88c83ca084c42e0da1a5aa0bfc14ab8b879407a9168f gTTS-2.2.2.tar.gz"
+sha512sums="
+13f17c572bd9691cb15c8cb157f2f3b80e50dc11f596a268eccd59ba083dda3552b97238ed6206a08d1437316b7674ac16a0a8aa66e8a65c7dd62388ce716c77 gTTS-2.2.3.tar.gz
+"