1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/py3-pronouncing/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

31 lines
813 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pronouncing
pkgver=0.2.0
pkgrel=3
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 --skip-build --root="$pkgdir"
}
sha512sums="a10ceef3e9a6ff0788f5ea6446c81d5c00649d05d085d42074d74aa547edf1b41357792ee532e9e5605ac345f351982c25a26a423e41eda78df921e13d28ebe9 pronouncing-0.2.0.tar.gz"