aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pronouncing/APKBUILD
blob: 6e26d2270218e400ad07ad1c2cf3cd3f74bd6e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pronouncing
pkgver=0.2.0
pkgrel=0
pkgdesc="A simple interface for the CMU pronouncing dictionary"
url="https://github.com/aparrish/pronouncingpy"
arch="noarch"
license="BSD-3-Clause"
depends="
	py3-cmudict
	python3
	"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/p/pronouncing/pronouncing-$pkgver.tar.gz"
builddir="$srcdir/pronouncing-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="a10ceef3e9a6ff0788f5ea6446c81d5c00649d05d085d42074d74aa547edf1b41357792ee532e9e5605ac345f351982c25a26a423e41eda78df921e13d28ebe9  pronouncing-0.2.0.tar.gz"