[arch-commits] Commit in python-pyaudio (5 files)

Balló György bgyorgy at archlinux.org
Tue Feb 7 21:58:25 UTC 2017


    Date: Tuesday, February 7, 2017 @ 21:58:24
  Author: bgyorgy
Revision: 210937

archrelease: copy trunk to community-x86_64, community-i686

Added:
  python-pyaudio/repos/
  python-pyaudio/repos/community-i686/
  python-pyaudio/repos/community-i686/PKGBUILD
    (from rev 210936, python-pyaudio/trunk/PKGBUILD)
  python-pyaudio/repos/community-x86_64/
  python-pyaudio/repos/community-x86_64/PKGBUILD
    (from rev 210936, python-pyaudio/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   43 +++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: python-pyaudio/repos/community-i686/PKGBUILD (from rev 210936, python-pyaudio/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2017-02-07 21:58:24 UTC (rev 210937)
@@ -0,0 +1,43 @@
+# $Id$
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgbase=PyAudio
+pkgbase=python-pyaudio
+pkgname=('python-pyaudio' 'python2-pyaudio')
+pkgver=0.2.10
+pkgrel=1
+pkgdesc="Python bindings for PortAudio"
+arch=('x86_64' 'i686')
+url="https://people.csail.mit.edu/hubert/pyaudio/"
+license=('MIT')
+depends=('portaudio' 'python' 'python2')
+source=("$pkgbase-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/P/$_pkgbase/$_pkgbase-$pkgver.tar.gz")
+sha256sums=('b87ff95a44a6ba6628957a529f0c23ef5659e905c246f8419018cb3f60a1d3d0')
+
+prepare() {
+	cp -a $_pkgbase-$pkgver{,-python2}
+}
+
+build() {
+	cd $_pkgbase-$pkgver
+	python setup.py build
+
+	cd ../$_pkgbase-$pkgver-python2
+	python2 setup.py build
+}
+
+package_python-pyaudio() {
+	depends=('portaudio' 'python')
+
+	cd $_pkgbase-$pkgver
+	python3 setup.py install --root "$pkgdir" --optimize=1
+	install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/README"
+}
+
+package_python2-pyaudio() {
+	depends=('portaudio' 'python2')
+
+	cd $_pkgbase-$pkgver-python2
+	python2 setup.py install --root "$pkgdir" --optimize=1
+	install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/README"
+}

Copied: python-pyaudio/repos/community-x86_64/PKGBUILD (from rev 210936, python-pyaudio/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2017-02-07 21:58:24 UTC (rev 210937)
@@ -0,0 +1,43 @@
+# $Id$
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgbase=PyAudio
+pkgbase=python-pyaudio
+pkgname=('python-pyaudio' 'python2-pyaudio')
+pkgver=0.2.10
+pkgrel=1
+pkgdesc="Python bindings for PortAudio"
+arch=('x86_64' 'i686')
+url="https://people.csail.mit.edu/hubert/pyaudio/"
+license=('MIT')
+depends=('portaudio' 'python' 'python2')
+source=("$pkgbase-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/P/$_pkgbase/$_pkgbase-$pkgver.tar.gz")
+sha256sums=('b87ff95a44a6ba6628957a529f0c23ef5659e905c246f8419018cb3f60a1d3d0')
+
+prepare() {
+	cp -a $_pkgbase-$pkgver{,-python2}
+}
+
+build() {
+	cd $_pkgbase-$pkgver
+	python setup.py build
+
+	cd ../$_pkgbase-$pkgver-python2
+	python2 setup.py build
+}
+
+package_python-pyaudio() {
+	depends=('portaudio' 'python')
+
+	cd $_pkgbase-$pkgver
+	python3 setup.py install --root "$pkgdir" --optimize=1
+	install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/README"
+}
+
+package_python2-pyaudio() {
+	depends=('portaudio' 'python2')
+
+	cd $_pkgbase-$pkgver-python2
+	python2 setup.py install --root "$pkgdir" --optimize=1
+	install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/README"
+}



More information about the arch-commits mailing list