Date: Tuesday, March 17, 2015 @ 15:09:33 Author: tredaelli Revision: 129419
New package: python2-hidapi Added: python2-hidapi/ python2-hidapi/repos/ python2-hidapi/trunk/ python2-hidapi/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Added: python2-hidapi/trunk/PKGBUILD =================================================================== --- python2-hidapi/trunk/PKGBUILD (rev 0) +++ python2-hidapi/trunk/PKGBUILD 2015-03-17 14:09:33 UTC (rev 129419) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Timothy Redaelli <[email protected]> +# Contributor: Andy Weidenbaum <[email protected]> + +pkgname=python2-hidapi +pkgver=0.7.99.5 +_pkgver=${pkgver%.*}-${pkgver##*.} +pkgrel=1 +pkgdesc="A Cython interface to the hidapi from signal11/hidapi" +arch=('i686' 'x86_64') +depends=('libusb' 'python2') +makedepends=('cython2' 'python2-setuptools') +url="https://github.com/trezor/cython-hidapi" +license=('custom') +source=(https://pypi.python.org/packages/source/h/${pkgname#python2-}/${pkgname#python2-}-$_pkgver.tar.gz) +sha256sums=('9316c34c25a441e0c3f478a5a09a9e360e03d5bf5cf34e7f425419d3d3b6c8ac') + +build() { + cd "${pkgname#python2-}-$_pkgver" + + python2 setup.py build +} + +package() { + cd "${pkgname#python2-}-$_pkgver" + + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -dm 755 "$pkgdir/usr/share/licenses/$pkgname" + echo "You are free to use cython-hidapi code for any purpose." > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Property changes on: python2-hidapi/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
