aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-boltons/APKBUILD
blob: 81c3b05c2de7620290fbc97e210e9eb2b6556304 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-boltons
pkgver=20.0.0
pkgrel=0
pkgdesc="Bolted-on functionality for python3"
url="https://github.com/mahmoud/boltons"
arch="all"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="$pkgname-$pkgver.tar.gz::https://github.com/mahmoud/boltons/archive/$pkgver.tar.gz"
builddir="$srcdir/boltons-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="21fb5c1de2956d520fa3dfe610cf27d53c98ccc20c26a74448137065bb4e7c29529ea1a903c2bd1d01a4ce660b9afa47d7efe2833251a846b92a158e939843f9  py3-boltons-20.0.0.tar.gz"