aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-clint/APKBUILD
blob: 13e3c75a33e0f3a0ee370f0609460c33edea39f1 (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: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=py3-clint
pkgver=0.5.1
pkgrel=0
pkgdesc="Set of tools for python commandline applications"
url="https://github.com/kennethreitz/clint"
arch="noarch"
license="ISC"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/kennethreitz/clint/archive/v$pkgver.tar.gz"
builddir="$srcdir/clint-$pkgver"

build() {
	python3 setup.py build
}

check() {
	py.test-3 --junitxml=junit-{envname}.xml
}

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

sha512sums="3ad8bfc587acb1322c7d7c3e73756a07c98f3b4215a3d4dc409b5a2067bc70dce2dd98d19250b8122b319b7bcf5e2859251de2829780345de06f93b35447c4e8  py3-clint-0.5.1.tar.gz"