diff options
author | Robert Sacks <robert@sacks.email> | 2019-07-05 17:09:59 -0400 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-29 17:58:06 +0100 |
commit | de1a5741379f95509d2cfce56e4f7c2844a985e1 (patch) | |
tree | cce0b36628c22ea731ffaf8199ccc2142f2f1b08 | |
parent | de7419581bd229c5d25925039513fd3d7dd5ced7 (diff) | |
download | aports-de1a5741379f95509d2cfce56e4f7c2844a985e1.tar.gz aports-de1a5741379f95509d2cfce56e4f7c2844a985e1.tar.bz2 aports-de1a5741379f95509d2cfce56e4f7c2844a985e1.tar.xz |
testing/py3-testresources: new aport
https://launchpad.net/testresources
A pyunit extension for managing expensive test resources
-rw-r--r-- | testing/py3-testresources/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-testresources/APKBUILD b/testing/py3-testresources/APKBUILD new file mode 100644 index 0000000000..6b0a002c5f --- /dev/null +++ b/testing/py3-testresources/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Robert Sacks <robert@sacks.email> +# Maintainer: Robert Sacks <robert@sacks.email> +pkgname=py3-testresources +_pyname=testresources +pkgver=2.0.1 +pkgrel=0 +pkgdesc="A pyunit extension for managing expensive test resources" +url="https://launchpad.net/testresources" +arch="noarch" +license="Apache-2.0 OR BSD-3-Clause" +depends="python3" +makedepends="py3-setuptools py3-pbr" +checkdepends="py3-testtools" +source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="0b23432b019400fe378e957d14a91083eef7fe1130a494b567a5274d69e4e8e09ab75861e5453c3f217507e144cf179c908f84dd1a807992d4bee0b8d32cb0f4 testresources-2.0.1.tar.gz" |