diff --git a/testing/py3-asyncmock/APKBUILD b/testing/py3-asyncmock/APKBUILD new file mode 100644 index 0000000000000000000000000000000000000000..e95af6daa1217eefaafba1c69430d31975425618 --- /dev/null +++ b/testing/py3-asyncmock/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Duncan Bellamy +# Maintainer: Duncan Bellamy +pkgname=py3-asyncmock +pkgver=0.4.2 +pkgrel=0 +pkgdesc="Extension to the standard mock framework to support support async" +url="https://github.com/timsavage/asyncmock" +arch="noarch" +license="BSD-3-Clause" +# PyPi tarball has no tests +options="!check" +depends="python3 py3-mock" +makedepends="py3-setuptools py3-pytest-runner" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/a/asyncmock/asyncmock-$pkgver.tar.gz" +builddir="$srcdir/asyncmock-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums=" +b421849eda8edddd9e5d12b90ed3544ae164b890deff4052d5be252d65b9ad11ee32a45250de1e103fc84d5de06bf05d76aacaa4b907b1b784ccc18135674959 py3-asyncmock-0.4.2.tar.gz +"