aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-boltons/APKBUILD
blob: 5421b4b1fe190dd2353135c31377c44f026a7cd6 (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=19.3.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="531805de8e2a7c7c1eb2f251a2e296cb77d88e966e51cac68acaf2f408f40772be4dd85b3c36e27f2a962fccec4f6952fa82fe76908f9bbcf43f5e1cbd91f82a  py3-boltons-19.3.0.tar.gz"