summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78f60383f345fa48c80844771581734a2edcb300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
_name='bip32'
_commit='1492d39312f1d9630363c292f6ab8beb8ceb16dd'
pkgname="python-$_name"
pkgver='3.4'
pkgrel=1
pkgdesc="A basic implementation of the bip-0032."
url="http://github.com/darosior/python-bip32"
depends=('python' 'python-base58' 'python-coincurve')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
license=('BSD')
arch=('any')
source=(
    "git+https://github.com/darosior/$pkgname.git#commit=$_commit"
)
b2sums=(
    'SKIP'
)

build() {
    cd "$pkgname"
    python -m build --wheel --no-isolation
}

package() {
    cd "$pkgname"
    python -m installer --destdir="$pkgdir" dist/*.whl
}