[arch-commits] Commit in python-btchip/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Tue Mar 13 23:52:27 UTC 2018
Date: Tuesday, March 13, 2018 @ 23:52:26
Author: shibumi
Revision: 307503
upgpkg: python-btchip 0.1.26-1
moved back to community as optional dependency for electrum
Modified:
python-btchip/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-13 23:52:03 UTC (rev 307502)
+++ PKGBUILD 2018-03-13 23:52:26 UTC (rev 307503)
@@ -4,41 +4,41 @@
# Contributor: Andy Weidenbaum <archbaum at gmail.com>
pkgbase=python-btchip
-pkgname=(python-btchip python2-btchip)
+pkgname=('python-btchip' "python2-btchip")
pkgver=0.1.26
pkgrel=1
pkgdesc="Python library to communicate with BTChip dongle"
arch=('any')
-makedepends=(python-setuptools python2-setuptools)
+makedepends=('python-setuptools' 'python2-setuptools')
optdepends=('btchip-udev: access BTChip as non-root user')
url="https://github.com/LedgerHQ/btchip-python"
license=('Apache')
-source=($pkgname-$pkgver.tar.gz::https://github.com/LedgerHQ/btchip-python/archive/v$pkgver.tar.gz)
-sha256sums=('2afab0f326b96bd819e8bc9cb69edc7c55773741a50a5e5a36d224bcfd93a4a2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/LedgerHQ/btchip-python/archive/v$pkgver.tar.gz")
+sha256sums=('482df6d331db3855b48873bc4e82182a25f79e79dee147f90b2b9e7c14eef12a')
prepare() {
- cp -r btchip-python-$pkgver btchip-python2-$pkgver
+ cp -r "btchip-python-$pkgver" "btchip-python2-$pkgver"
}
build() {
- cd btchip-python-$pkgver
+ cd "btchip-python-$pkgver"
python setup.py build
- cd ../btchip-python2-$pkgver
+ cd "../btchip-python2-$pkgver"
python2 setup.py build
}
package_python-btchip() {
- depends=(python-hidapi)
+ depends=('python-hidapi')
- cd btchip-python-$pkgver
+ cd "btchip-python-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
package_python2-btchip() {
- depends=(python2-hidapi)
+ depends=('python2-hidapi')
- cd btchip-python2-$pkgver
+ cd "btchip-python2-$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1
}
More information about the arch-commits
mailing list