[arch-commits] Commit in python-btchip/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 06:02:19 UTC 2019


    Date: Monday, November 4, 2019 @ 06:02:18
  Author: felixonmars
Revision: 523280

archrelease: copy trunk to community-staging-any

Added:
  python-btchip/repos/community-staging-any/
  python-btchip/repos/community-staging-any/PKGBUILD
    (from rev 523279, python-btchip/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: python-btchip/repos/community-staging-any/PKGBUILD (from rev 523279, python-btchip/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 06:02:18 UTC (rev 523280)
@@ -0,0 +1,26 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python-btchip
+pkgver=0.1.28
+pkgrel=2
+pkgdesc="Python library to communicate with BTChip dongle"
+arch=('any')
+depends=('python-hidapi')
+makedepends=('python-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=('b257357321afc641c15deb7b7cc5f6c54a060739dfb4acddc55fdbd18ba17917')
+
+build() {
+  cd "btchip-python-$pkgver"
+  python setup.py build
+}
+
+package_python-btchip() {
+  cd "btchip-python-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list