diff options
Diffstat (limited to 'user/py3-pytest-expect')
-rw-r--r-- | user/py3-pytest-expect/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/py3-pytest-expect/APKBUILD b/user/py3-pytest-expect/APKBUILD new file mode 100644 index 000000000..a8fcfadcf --- /dev/null +++ b/user/py3-pytest-expect/APKBUILD @@ -0,0 +1,33 @@ +# 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" |