aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-retrying/APKBUILD
blob: 700c5295242d2e0499d374e6cf0c73b9a73a73d0 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-retrying
pkgver=1.3.3
pkgrel=0
pkgdesc="General purpose Python3 retrying library"
url="https://github.com/rholder/retrying/releases"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-six"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/rholder/retrying/archive/v$pkgver.tar.gz"
builddir="$srcdir/retrying-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="e053e62cb71b31573b89b8fffa706c3410794b5cced829582c373a09af78158f7a16948e6ce52078589cf7d8f5bba726c889180588a2628be343f242bc40c035  py3-retrying-1.3.3.tar.gz"