diff options
author | Leo Mao | 2019-07-06 20:21:22 +0800 |
---|---|---|
committer | Leo Mao | 2019-07-06 20:21:22 +0800 |
commit | e9da1df09f2ab187b6f9eb84227e621eefe6df32 (patch) | |
tree | 5edccb72144f3612b4f498e2c24cbb15b48fb678 | |
download | aur-e9da1df09f2ab187b6f9eb84227e621eefe6df32.tar.gz |
Initial upload: python-kaldi-io 0.9.1-1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0cf24de5b4f2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-kaldi-io + pkgdesc = Python functions for reading kaldi data formats. Useful for rapid prototyping with python. + pkgver = 0.9.1 + pkgrel = 1 + url = http://pypi.python.org/project/kaldi_io + arch = any + license = Apache + makedepends = python-setuptools + depends = python + depends = python-numpy + source = https://pypi.python.org/packages/source/k/kaldi_io/kaldi_io-0.9.1.tar.gz + md5sums = 2ec3668346699cffd2bb59d881adeb59 + +pkgname = python-kaldi-io + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7778555639c2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Fabio Zanini <fabio.zanini _at_ fastmail.fm> +_pypiname=kaldi_io +pkgname=python-kaldi-io +pkgver=0.9.1 +pkgrel=1 +pkgdesc="Python functions for reading kaldi data formats. Useful for rapid prototyping with python." +arch=('any') +url="http://pypi.python.org/project/${_pypiname}" +license=('Apache') +depends=('python' 'python-numpy') +makedepends=('python-setuptools') +source=("https://pypi.python.org/packages/source/${_pypiname:0:1}/${_pypiname}/${_pypiname}-$pkgver.tar.gz") +md5sums=('2ec3668346699cffd2bb59d881adeb59') + +build() { + cd "${srcdir}/${_pypiname}-$pkgver" + python setup.py build +} + +package() { + cd ${_pypiname}-$pkgver + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} +# vim:set ts=2 sw=2 et: |