summaryrefslogtreecommitdiff
path: root/user/py3-pytest-expect/APKBUILD
blob: 0a3d5cb17da66e567dd1fc716e2126d88dbe2683 (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
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-pytest-expect
_pkgname=pytest-expect
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=1.1.0
pkgrel=0
pkgdesc="py.test plugin to store test expectations and mark tests based on them"
url="https://pypi.python.org/pypi/pytest-expect"
arch="noarch"
license="MIT"
depends="python3 py3-pytest py3-u-msgpack-python"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	# No tests available
	python3 setup.py test
}

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

}

sha512sums="41d2b296844e9dab9429f34eec37fe106a4e6c2039824c37067ed048dcc328b13e666b22d3482ccfc6153af4e44b5d895f3011ec45df55ffa07a98459e3caefd  py3-pytest-expect-1.1.0.tar.gz"