# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-bincopy pkgver=17.14.5 pkgrel=0 pkgdesc="Mangling of various file formats that conveys binary information (Motorola S-Record, Intel HEX and binary files)" url="https://github.com/eerimoq/bincopy" arch="noarch" license="MIT" depends=" py3-argparse_addons py3-humanfriendly py3-elftools python3 " makedepends=" py3-gpep517 py3-installer py3-setuptools py3-wheel " checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://pypi.python.org/packages/source/b/bincopy/bincopy-$pkgver.tar.gz" builddir="$srcdir/bincopy-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 6e50f25f4549a2f12f271ffc97b1bd28fbfd457384c4a642ac46b6e29fee18682dccd0b1ff9bf7f960a0d3059ccf684d0145fc661aaf9dfefc9976cb8f74455a bincopy-17.14.5.tar.gz "