From 0c1243696d6c90613d56a517017f4e01f55c5ecf Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Thu, 18 Nov 2010 22:25:51 +0000 Subject: pyusb: update --- abs/extra/pyusb/PKGBUILD | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/abs/extra/pyusb/PKGBUILD b/abs/extra/pyusb/PKGBUILD index 1922cd8..6ad9bc3 100644 --- a/abs/extra/pyusb/PKGBUILD +++ b/abs/extra/pyusb/PKGBUILD @@ -1,16 +1,18 @@ # Contributor: Jason Giangrande pkgname=pyusb -pkgver=0.4.1 -pkgrel=1 +pkgver=0.4.3 +pkgrel=3 pkgdesc="A native Python module written in C which provides USB access." arch=('i686' 'x86_64') url="http://pyusb.berlios.de/" license=('GPL') -depends=('python' 'libusb') -source=(http://downloads.sourceforge.net/pyusb/pyusb-$pkgver.tar.gz) -md5sums=('9576c3e471e40e021fa44f36712bbd04') +depends=('python2' 'libusb') +makedepends=('python2-distribute') +source=(http://downloads.sourceforge.net/project/pyusb/PyUSB%200.x/$pkgver/pyusb-$pkgver.tar.gz) +md5sums=('a1a43bc6407caccbc22073c56439aa06') build() { - cd $startdir/src/$pkgname-$pkgver - python setup.py install -f --root=$startdir/pkg || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py install -f --root="${pkgdir}" || return 1 } + -- cgit v0.12