diff --git a/testing/py3-hexdump/APKBUILD b/testing/py3-hexdump/APKBUILD new file mode 100644 index 00000000000..9e410a30490 --- /dev/null +++ b/testing/py3-hexdump/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=py3-hexdump +pkgver=3.3 +pkgrel=0 +pkgdesc="Library and tool to work with hex and binary data" +url="https://pypi.org/project/hexdump/" +arch="noarch" +license="PublicDomain" +depends="python3" +makedepends=" + py3-gpep517 + py3-installer + py3-setuptools + py3-wheel + " +subpackages="$pkgname-pyc" +source="https://pypi.python.org/packages/source/h/hexdump/hexdump-$pkgver.zip" +options="!check" # No tests +builddir="$srcdir" + +build() { + gpep517 build-wheel \ + --wheel-dir dist \ + --output-fd 3 3>&1 >&2 +} + +package() { + python3 -m installer -d "$pkgdir" \ + dist/*.whl +} + +sha512sums=" +3299f6a29dcf4293616c5ea652397429ee844ca30964ee0fc784fb2a93252b75eb28fb797640e26477eb6b291aa38e14ad5046d8b4488dc4e03bd79b9449898b hexdump-3.3.zip +"