blob: e72a7da93580f04d800af87512afa111efd9bf49 (
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
32
33
34
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-parameterized
_pkgname=parameterized
pkgver=0.7.0
pkgrel=2
pkgdesc="Parameterized testing with any Python test framework"
url="https://github.com/wolever/parameterized"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-mock py3-pytest"
source="https://files.pythonhosted.org/packages/source/p/parameterized/parameterized-$pkgver.tar.gz"
builddir="$srcdir/"$_pkgname-$pkgver
replaces="py-parameterized" # Backwards compatibility
provides="py-parameterized=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
nosetests
py.test-3 parameterized/test.py
python3 -m unittest parameterized.test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="b76e18a7eee62fcab4385fd5d053253c096d4c3fc3a6300e8539afc4d8decc995e533085297c52f8a26411d2591a326033a740cc30a250d510aa1c11ee904246 parameterized-0.7.0.tar.gz"
|