diff --git a/testing/py3-python-monkey-business/APKBUILD b/testing/py3-python-monkey-business/APKBUILD new file mode 100644 index 00000000000..62c016a8c7f --- /dev/null +++ b/testing/py3-python-monkey-business/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-python-monkey-business +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=python-monkey-business +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Utility functions for monkey-patching python code" +url="https://pypi.org/project/python-monkey-business/" +arch="noarch" +license="BSD" +depends="py3-six" +makedepends="py3-setuptools py3-gpep517 py3-wheel" +source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/p/python-monkey-business/python-monkey-business-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" +options="!check" # No test suite" +subpackages="$pkgname-pyc" + +build() { + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 +} + +package() { + python3 -m installer -d "$pkgdir" \ + .dist/*.whl +} + +sha512sums=" +a0d5985cd73cbae5551ddb003067f4e5bd65e9b19475903bb041ef3ef2f4ec21d52a37c70b230e989501588948b5585020932aae56ca0634e4bad48159857cc0 py3-python-monkey-business-1.0.0.tar.gz +"