Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
62dfb901
Commit
62dfb901
authored
3 years ago
by
Bart Ribbers
Browse files
Options
Downloads
Patches
Plain Diff
community/py3-gtts: upgrade to 2.2.3 and enable tests
parent
bddbb8c0
Loading
Loading
1 merge request
!23287
community/py3-gtts: upgrade to 2.2.3 and enable tests
Pipeline
#87624
canceled
3 years ago
Stage: lint
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/py3-gtts/APKBUILD
+8
-6
8 additions, 6 deletions
community/py3-gtts/APKBUILD
with
8 additions
and
6 deletions
community/py3-gtts/APKBUILD
+
8
−
6
View file @
62dfb901
# 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
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment