blob: c6d55ef84e59b3ad030c389a985d1797ae483500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer GI Jack <GI_Jack@hackermail.com>
pkgname=python-u2flib-host
pkgver=3.0.3
pkgrel=3
pkgdesc='Python-based U2F host library by Yubico'
arch=(any)
url='https://github.com/Yubico/python-u2flib-host'
license=('BSD')
depends=('python' 'python-hidapi')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Yubico/python-u2flib-host/releases/download/python-u2flib-host-${pkgver}/python-u2flib-host-${pkgver}.tar.gz")
sha256sums=('ab678b9dc29466a779efcaa2f0150dce35059a7d17680fc26057fa599a53fc0a')
build() {
cd "${pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|