summaryrefslogblamecommitdiff
path: root/user/py3-pytest-expect/APKBUILD
blob: a8fcfadcf0110d1b64a964eb5cf2bf413953d6f6 (plain) (tree)
































                                                                                                                                                                             
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-pytest-expect
_pkgname=pytest-expect
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/${_pkgname:0:1}/$_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"