summaryrefslogtreecommitdiff
path: root/community/py3-crashtest/APKBUILD
blob: bffbeceb50806c4d8e8738c48fd664373c767b09 (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
29
30
31
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-crashtest
_pyname=crashtest
pkgver=0.4.1
pkgrel=1
pkgdesc="Manage Python errors with ease"
url="https://github.com/sdispater/crashtest"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="https://files.pythonhosted.org/packages/source/c/crashtest/crashtest-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="
3f4d940450bcd40ff56059756ed81894556b75b4c17f99ac8d899088eab07a6c2cbbf206188b381801d143e590bdd05f609d48541f041e380383031c98f4d874  crashtest-0.4.1.tar.gz
"