testing/py3-hexdump: new aport

This commit is contained in:
Bart Ribbers 2023-01-28 23:09:17 +01:00
parent 236ace23b4
commit 382c1a1f20

View File

@ -0,0 +1,35 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
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
"