# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-pocketsphinx pkgver=0.1.15 pkgrel=0 pkgdesc="Python interface to CMU Sphinxbase and Pocketsphinx libraries" url="https://github.com/bambocher/pocketsphinx-python" arch="all" license="BSD-2-Clause" depends="python3" makedepends="py3-setuptools swig python3-dev pulseaudio-dev alsa-lib-dev" checkdepends="py3-pytest" source="https://pypi.python.org/packages/source/p/pocketsphinx/pocketsphinx-$pkgver.tar.gz" # PyPi release package doesn't include the tests even though they exist # https://github.com/bambocher/pocketsphinx-python/issues/55 options="!check" # No tests builddir="$srcdir/pocketsphinx-$pkgver" build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="5693d76b46fee482439d937425ef78746265db8936747aac6757520adc3b6866dda79972315b7273783d2d3a42194d0b9a78dadf1fab746f6d7f257f3dd3a05a pocketsphinx-0.1.15.tar.gz"