aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pytest-runner/APKBUILD
blob: 8f0764ce66d542d18c003b26f64e45adf00ba5b7 (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.1
pkgrel=0
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="db98e5247aec3f545f4ab680f6ba739910bf119b0d08ea7d8c48cac2d97482e22aa9722c3307ad170e474ea6b793af32f6ac7c8926ccbb4e694c22cb7e6b50f4  pytest-runner-5.1.tar.gz"