# Contributor: Marian Buschsieweke # Maintainer: Marian Buschsieweke pkgname=elf_diff pkgver=0.7.1 pkgrel=1 pkgdesc="Tool to compare ELF binaries" url="https://github.com/noseglasses/elf_diff" arch="noarch !s390x" # py3-progressbar2 license="GPL-3.0-only" depends=" py3-anytree py3-beautifulsoup4 py3-deepdiff py3-dict2xml py3-gitpython py3-jinja2 py3-progressbar2 py3-yaml python3 " makedepends="py3-setuptools" checkdepends="py3-pytest" options="!check" # unit tests fail subpackages="$pkgname-pyc" source=" https://files.pythonhosted.org/packages/source/e/elf_diff/elf_diff-$pkgver.tar.gz elf_diff " build() { python3 setup.py build } check() { PYTHONPATH="$PWD" pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" install -Dm755 "$srcdir"/elf_diff "$pkgdir"/usr/bin/elf_diff } sha512sums=" b1eef9954ceabf3a1936423131eacd71cf942a5d2f28419b3afac837b6b56cf81a9ff884f6e36495d0f61840aa9f5e68836960d29b0a7d7e00f4a0e938fcc141 elf_diff-0.7.1.tar.gz 1ca2c8c7325f78df0d4033fe7cc8ed2e1da2716e4407b10fbcdf38cededcd1113dcc7a74b1816dff84103119c894dd499b061cf9936f2ff18eebef632b494617 elf_diff "