[arch-commits] Commit in python-snowboy/repos (2 files)

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 17:15:30
  Author: foutrelis
Revision: 752396

archrelease: copy trunk to community-staging-x86_64

Added:
  python-snowboy/repos/community-staging-x86_64/
  python-snowboy/repos/community-staging-x86_64/PKGBUILD
(from rev 752395, python-snowboy/trunk/PKGBUILD)

--+
 PKGBUILD |   33 +
 1 file changed, 33 insertions(+)

Copied: python-snowboy/repos/community-staging-x86_64/PKGBUILD (from rev 
752395, python-snowboy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-12 17:15:30 UTC (rev 752396)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan 
+# Contributor: NicoHood 
+
+pkgname=python-snowboy
+pkgver=1.3.0
+pkgrel=3
+pkgdesc="DNN based hotword and wake word detection toolkit"
+url="https://github.com/Kitt-AI/snowboy;
+license=('Apache')
+arch=('x86_64')
+depends=('python-pyaudio' 'cblas')
+makedepends=('python-setuptools' 'swig')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Kitt-AI/snowboy/archive/v$pkgver.tar.gz;)
+sha512sums=('3edd3038c11beb9ecc9a7f73f91c7097ec869841eade6715df061987313cdad60d7090d494f3d161bf64c921d5f75e8f64a2befc6bf7202b468f0122c7ecff1a')
+
+prepare() {
+  # TODO https://github.com/Kitt-AI/snowboy/issues/377
+  # TODO https://github.com/Kitt-AI/snowboy/pull/376
+  sed -i -e "s|-lf77blas -lcblas -llapack -latlas|-lcblas|g" \
+ -e 's/ -shared/ -Wl,-O1,--as-needed\0/g' \
+ snowboy-$pkgver/swig/Python3/Makefile
+}
+
+build() {
+  cd snowboy-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd snowboy-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-snowboy/repos (2 files)

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 06:43:58
  Author: felixonmars
Revision: 523450

archrelease: copy trunk to community-staging-x86_64

Added:
  python-snowboy/repos/community-staging-x86_64/
  python-snowboy/repos/community-staging-x86_64/PKGBUILD
(from rev 523449, python-snowboy/trunk/PKGBUILD)

--+
 PKGBUILD |   33 +
 1 file changed, 33 insertions(+)

Copied: python-snowboy/repos/community-staging-x86_64/PKGBUILD (from rev 
523449, python-snowboy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-04 06:43:58 UTC (rev 523450)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan 
+# Contributor: NicoHood 
+
+pkgname=python-snowboy
+pkgver=1.3.0
+pkgrel=2
+pkgdesc="DNN based hotword and wake word detection toolkit"
+url="https://github.com/Kitt-AI/snowboy;
+license=('Apache')
+arch=('x86_64')
+depends=('python-pyaudio' 'cblas')
+makedepends=('python-setuptools' 'swig')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Kitt-AI/snowboy/archive/v$pkgver.tar.gz;)
+sha512sums=('3edd3038c11beb9ecc9a7f73f91c7097ec869841eade6715df061987313cdad60d7090d494f3d161bf64c921d5f75e8f64a2befc6bf7202b468f0122c7ecff1a')
+
+prepare() {
+  # TODO https://github.com/Kitt-AI/snowboy/issues/377
+  # TODO https://github.com/Kitt-AI/snowboy/pull/376
+  sed -i -e "s|-lf77blas -lcblas -llapack -latlas|-lcblas|g" \
+ -e 's/ -shared/ -Wl,-O1,--as-needed\0/g' \
+ snowboy-$pkgver/swig/Python3/Makefile
+}
+
+build() {
+  cd snowboy-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd snowboy-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-snowboy/repos (2 files)

2018-08-16 Thread Felix Yan via arch-commits
Date: Thursday, August 16, 2018 @ 11:49:19
  Author: felixonmars
Revision: 371944

archrelease: copy trunk to community-x86_64

Added:
  python-snowboy/repos/community-x86_64/
  python-snowboy/repos/community-x86_64/PKGBUILD
(from rev 371943, python-snowboy/trunk/PKGBUILD)

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Copied: python-snowboy/repos/community-x86_64/PKGBUILD (from rev 371943, 
python-snowboy/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2018-08-16 11:49:19 UTC (rev 371944)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: NicoHood 
+
+pkgname=python-snowboy
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="DNN based hotword and wake word detection toolkit"
+url="https://github.com/Kitt-AI/snowboy;
+license=('Apache')
+arch=('x86_64')
+depends=('python-pyaudio' 'cblas')
+makedepends=('python-setuptools' 'swig')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Kitt-AI/snowboy/archive/v$pkgver.tar.gz;)
+sha512sums=('3edd3038c11beb9ecc9a7f73f91c7097ec869841eade6715df061987313cdad60d7090d494f3d161bf64c921d5f75e8f64a2befc6bf7202b468f0122c7ecff1a')
+
+prepare() {
+  # TODO https://github.com/Kitt-AI/snowboy/issues/377
+  # TODO https://github.com/Kitt-AI/snowboy/pull/376
+  sed -i -e "s|-lf77blas -lcblas -llapack -latlas|-lcblas|g" \
+ -e 's/ -shared/ -Wl,-O1,--as-needed\0/g' \
+ snowboy-$pkgver/swig/Python3/Makefile
+}
+
+build() {
+  cd snowboy-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd snowboy-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}