summaryrefslogblamecommitdiff
path: root/user/py3-pytest-expect/APKBUILD
blob: 2b82dc8635e2e20ebc8ab7a28c3dac5ec7ecf7b9 (plain) (tree)
1
2
3
4
5
6


                                                     
                      






                                                                                
                                                                                                                       

                                    


                              



                             
                                                               

                                                                                                                                                                             
# 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() {
	python3 setup.py build
}

check() {
	# No tests available
	python3 setup.py test
}

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

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