summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13e60b72503eba258656cfb8872cf7e063989683 (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: Michael Yeatts <mwyeatts at gmail dot com>

pkgname=python-mnemonic
pkgver=0.21
pkgrel=1
pkgdesc="Implementation of Bitcoin BIP-0039"
arch=('any')
depends=('python')
makedepends=('python-poetry')
url="https://github.com/trezor/python-mnemonic"
license=('MIT')
source=("https://files.pythonhosted.org/packages/ff/77/e6232ed59fbd7b90208bb8d4f89ed5aabcf30a524bc2fb8f0dafbe8e7df9/mnemonic-0.21.tar.gz")
sha256sums=('1fe496356820984f45559b1540c80ff10de448368929b9c60a2b55744cc88acf')

build() {
    cd "${pkgname#python-}-$pkgver"
    poetry build
}

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