[arch-commits] Commit in python-pyalsa/repos/community-testing-x86_64 (2 files)

David Runge dvzrv at archlinux.org
Sat Jul 28 15:04:20 UTC 2018


    Date: Saturday, July 28, 2018 @ 15:04:20
  Author: dvzrv
Revision: 363802

archrelease: copy trunk to community-testing-x86_64

Added:
  python-pyalsa/repos/community-testing-x86_64/PKGBUILD
    (from rev 363801, python-pyalsa/trunk/PKGBUILD)
Deleted:
  python-pyalsa/repos/community-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 46 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-28 15:04:11 UTC (rev 363801)
+++ PKGBUILD	2018-07-28 15:04:20 UTC (rev 363802)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=pyalsa
-pkgname=python-pyalsa
-pkgver=1.1.6
-pkgrel=1
-pkgdesc="Python binding for the ALSA library"
-arch=('x86_64')
-url="https://www.alsa-project.org"
-license=('LGPL2.1')
-groups=('alsa')
-depends=('alsa-lib' 'python')
-makedepends=('python-setuptools')
-source=("ftp://ftp.alsa-project.org/pub/${_name}/${_name}-${pkgver}.tar.bz2")
-sha512sums=('6c6aee1ad32c2208ab3f91defee5651cca8bb414479ff80e8a1bd6791ec1df2218a61dd8e7c01f95bd5d51807776034ff96cca2b935e9e4e23d13b6c3c40a0dd')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}/"
-}

Copied: python-pyalsa/repos/community-testing-x86_64/PKGBUILD (from rev 363801, python-pyalsa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-28 15:04:20 UTC (rev 363802)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=pyalsa
+pkgbase=pyalsa
+pkgname=( 'python-pyalsa' 'python2-pyalsa')
+pkgver=1.1.6
+pkgrel=2
+pkgdesc="Python binding for the ALSA library"
+arch=('x86_64')
+url="https://www.alsa-project.org"
+license=('LGPL2.1')
+groups=('alsa')
+depends=('alsa-lib')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("ftp://ftp.alsa-project.org/pub/${_name}/${_name}-${pkgver}.tar.bz2")
+sha512sums=('6c6aee1ad32c2208ab3f91defee5651cca8bb414479ff80e8a1bd6791ec1df2218a61dd8e7c01f95bd5d51807776034ff96cca2b935e9e4e23d13b6c3c40a0dd')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+  python2 setup.py build
+}
+
+package_python-pyalsa() {
+  pkgdesc="Python binding for the ALSA library"
+  depends=('alsa-lib' 'python')
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}/"
+}
+
+package_python2-pyalsa() {
+  pkgdesc="Python2 binding for the ALSA library"
+  depends=('alsa-lib' 'python2')
+  cd "python-$pkgbase-$pkgver"
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}/"
+}



More information about the arch-commits mailing list