aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-blockchain/APKBUILD
blob: 48ac9a09bd25c38579dee6316ca1e62388310d0b (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
28
29
30
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-blockchain
_pkgname=blockchain
pkgver=1.4.4
pkgrel=0
pkgdesc="Blockchain API library (v1)"
url="https://github.com/blockchain/api-v1-client-python"
arch="noarch"
license="MIT"
depends="py3-future"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-blockchain" # Backwards compatibility
provides="py-blockchain=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="46e9d83f3a8220aef67f90a5b1d0f29df709f48c69392eef3fa38eb22c5b346296e3f15cf61dcc612c57d0f94a838af6d74ae906c8ffffefec86e471bc036a8f  blockchain-1.4.4.tar.gz"