summaryrefslogtreecommitdiff
path: root/main/py3-testtools/APKBUILD
blob: ceeaf620441ad718940611a80c7bc3ab1eb91545 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-testtools
_pkgname=testtools
pkgver=2.5.0
pkgrel=2
pkgdesc="Extensions to the Python standard library unit testing framework"
url="https://pypi.python.org/pypi/testtools"
arch="noarch"
license="MIT"
depends="python3 py3-pbr py3-fixtures py3-extras py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
options="!check" # needs community/py3-twisted and testscenarios from pypi

build() {
	python3 setup.py build
}

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

sha512sums="
6adbf9e90f0647a44130e99cd94e4c0cbfab3a1b5c28b6bb124d061defe69d8043186cfe554099936effe16a6b07d59927bfeb6820f5a0fb34970ff243030fd4  testtools-2.5.0.tar.gz
"