aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-tox/APKBUILD
blob: 3c80101a6485b848dacc31938396f7e597719b95 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-tox
_pkgname=${pkgname#py3-*}
pkgver=3.16.0
pkgrel=0
pkgdesc="virtualenv management and test command line tool"
options="!check" #  Requires community/py3-pathlib2, and unpackaged flaky
url="https://tox.readthedocs.org/"
arch="noarch"
license="MIT"
depends="
	py3-packaging
	py3-pluggy
	py3-py
	py3-six
	py3-virtualenv
	py3-toml
	py3-filelock
	py3-setuptools
	"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-tox" # Backwards compatibility
provides="py-tox=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

check() {
	python3 setup.py test
}

sha512sums="5ee06961085f60565299405ed739053607bac99497854e342e71ef99b1c254dc98661c4968c8d9e15a89a79e29819012151b15f410bec73648e5383aa5ab0261  tox-3.16.0.tar.gz"