# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-hexdump
pkgver=3.3
pkgrel=2
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
"
