aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pytest-runner/APKBUILD
blob: ba8b0cd520ecbe62558fe345c01953fe31a40e01 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-pytest-runner
_pkgname=pytest-runner
pkgver=5.2
pkgrel=1
pkgdesc="Invoke py.test as distutils command"
options="!check" # Requires unpackaged pytest-{checkdocs,flake8,virtualenv}
url="https://github.com/pytest-dev/pytest-runner"
arch="noarch"
license="MIT"
depends="py3-setuptools"
makedepends="py3-setuptools_scm"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="5fc62a4e681cfa0ef25dc815ccbbfe1a7ca0e9e7783c2ba2db0da7d2539f11c08d6c3fad2ab3dfe7f0d50fe7bfb41127b11ec9af67ef8e32361655bc910c8245  pytest-runner-5.2.tar.gz"