2020-09-28 18:56:08 +02:00
|
|
|
# Template file for 'python3-pyelftools'
|
|
|
|
pkgname=python3-pyelftools
|
|
|
|
version=0.25
|
2020-10-07 15:55:59 +02:00
|
|
|
revision=6
|
2020-09-28 18:56:08 +02:00
|
|
|
wrksrc="pyelftools-${version}"
|
|
|
|
build_style=python3-module
|
|
|
|
hostmakedepends="python3-setuptools"
|
|
|
|
depends="python3"
|
|
|
|
short_desc="Python3 library for parsing ELF and DWARF"
|
|
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
|
|
license="Public Domain"
|
|
|
|
homepage="https://github.com/eliben/pyelftools"
|
|
|
|
distfiles="${PYPI_SITE}/p/pyelftools/pyelftools-${version}.tar.gz"
|
|
|
|
checksum=89c6da6f56280c37a5ff33468591ba9a124e17d71fe42de971818cbff46c1b24
|
2020-10-03 05:26:27 +02:00
|
|
|
alternatives="pyelftools:readelf.py:/usr/bin/readelf.py3"
|
2020-09-28 18:56:08 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
mv $DESTDIR/usr/bin/readelf.py $DESTDIR/usr/bin/readelf.py3
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|