mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	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
		
			
				
	
	
		
			28 lines
		
	
	
		
			1000 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1000 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Bart Ribbers <bribbers@disroot.org>
 | |
| # Maintainer: Bart Ribbers <bribbers@disroot.org>
 | |
| pkgname=py3-pocketsphinx
 | |
| pkgver=0.1.15
 | |
| pkgrel=4
 | |
| 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 --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="5693d76b46fee482439d937425ef78746265db8936747aac6757520adc3b6866dda79972315b7273783d2d3a42194d0b9a78dadf1fab746f6d7f257f3dd3a05a  pocketsphinx-0.1.15.tar.gz"
 |