[arch-commits] Commit in python-btchip/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed Aug 28 10:22:27 UTC 2019
Date: Wednesday, August 28, 2019 @ 10:22:25
Author: jelle
Revision: 503794
remove python2 variant
Modified:
python-btchip/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++--------------------
1 file changed, 3 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-28 10:22:21 UTC (rev 503793)
+++ PKGBUILD 2019-08-28 10:22:25 UTC (rev 503794)
@@ -2,13 +2,13 @@
# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-pkgbase=python-btchip
-pkgname=('python-btchip' "python2-btchip")
+pkgname=python-btchip
pkgver=0.1.28
pkgrel=1
pkgdesc="Python library to communicate with BTChip dongle"
arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
+depends=('python-hidapi')
+makedepends=('python-setuptools')
optdepends=('btchip-udev: access BTChip as non-root user')
url="https://github.com/LedgerHQ/btchip-python"
license=('Apache')
@@ -15,29 +15,12 @@
source=("$pkgname-$pkgver.tar.gz::https://github.com/LedgerHQ/btchip-python/archive/v$pkgver.tar.gz")
sha256sums=('b257357321afc641c15deb7b7cc5f6c54a060739dfb4acddc55fdbd18ba17917')
-prepare() {
- cp -r "btchip-python-$pkgver" "btchip-python2-$pkgver"
-}
-
build() {
cd "btchip-python-$pkgver"
python setup.py build
-
- cd "../btchip-python2-$pkgver"
- python2 setup.py build
}
package_python-btchip() {
- depends=('python-hidapi')
-
cd "btchip-python-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
-
-package_python2-btchip() {
- depends=('python2-hidapi')
-
- cd "btchip-python2-$pkgver"
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
More information about the arch-commits
mailing list