[arch-commits] Commit in python2-btchip/repos/community-any (3 files)

Timothy Redaelli tredaelli at archlinux.org
Tue Sep 8 14:06:48 UTC 2015


    Date: Tuesday, September 8, 2015 @ 16:06:47
  Author: tredaelli
Revision: 139612

archrelease: copy trunk to community-any

Added:
  python2-btchip/repos/community-any/PKGBUILD
    (from rev 139611, python2-btchip/trunk/PKGBUILD)
Deleted:
  python2-btchip/repos/community-any/PKGBUILD
  python2-btchip/repos/community-any/remove-pyusb-dependency.patch

-------------------------------+
 PKGBUILD                      |   64 +++++++++++++++++-----------------------
 remove-pyusb-dependency.patch |   22 -------------
 2 files changed, 28 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-08 14:06:40 UTC (rev 139611)
+++ PKGBUILD	2015-09-08 14:06:47 UTC (rev 139612)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-
-pkgname=python2-btchip
-pkgver=0.1.14
-pkgrel=2
-pkgdesc="Python library to communicate with BTChip dongle"
-arch=('any')
-depends=('python2-hidapi')
-makedepends=('python2-setuptools')
-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
-        remove-pyusb-dependency.patch)
-sha256sums=('6adfa69f18bc3ecff07a877dd46eff62dc747bd8cac491d882ba1bcb16bd16d5'
-            '36dd49db4931e5ef6010e5673d4aaa3adb671ca955db97787cd0ae5726538141')
-
-prepare() {
-  cd btchip-python-$pkgver
-
-  # Disable useless (on linux) pyusb dependency
-  patch -uNp1 -i ../remove-pyusb-dependency.patch
-}
-
-build() {
-  cd btchip-python-$pkgver
-
-  python2 setup.py build
-}
-
-package() {
-  cd btchip-python-$pkgver
-
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python2-btchip/repos/community-any/PKGBUILD (from rev 139611, python2-btchip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-09-08 14:06:47 UTC (rev 139612)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python2-btchip
+pkgver=0.1.16
+pkgrel=1
+pkgdesc="Python library to communicate with BTChip dongle"
+arch=('any')
+depends=('python2-hidapi')
+makedepends=('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=('4c9e85977485c01c11fa4513f10f2e5a5f06afa1d04b5270a13d70606ccd4527')
+
+build() {
+  cd btchip-python-$pkgver
+
+  python2 setup.py build
+}
+
+package() {
+  cd btchip-python-$pkgver
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}

Deleted: remove-pyusb-dependency.patch
===================================================================
--- remove-pyusb-dependency.patch	2015-09-08 14:06:40 UTC (rev 139611)
+++ remove-pyusb-dependency.patch	2015-09-08 14:06:47 UTC (rev 139612)
@@ -1,22 +0,0 @@
-From 7d6bc6105ed2f405fbb683a5d6ceafc55e92e3c0 Mon Sep 17 00:00:00 2001
-From: drizzt <timothy.redaelli at gmail.com>
-Date: Wed, 18 Mar 2015 16:01:27 +0100
-Subject: [PATCH] Don't include usb.core in btchipPersoWizard.py
-
-It's useless and it enforce pyusb to be a mandatory depends, but on not-Windows it's not needed.
----
- btchip/btchipPersoWizard.py | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/btchip/btchipPersoWizard.py b/btchip/btchipPersoWizard.py
-index 3220227..486e6d9 100644
---- a/btchip/btchipPersoWizard.py
-+++ b/btchip/btchipPersoWizard.py
-@@ -28,7 +28,6 @@
- except:
- 	MNEMONIC = False
- 
--from usb.core import USBError
- from btchipComm import getDongle, DongleWait
- from btchip import btchip
- from btchipUtils import compress_public_key,format_transaction, get_regular_input_script



More information about the arch-commits mailing list