python-pyelftools: install /usr/bin/pyreadelf
authorAlexandru Ardelean <redacted>
Mon, 1 Jun 2026 05:37:26 +0000 (08:37 +0300)
committerAlexandru Ardelean <redacted>
Tue, 2 Jun 2026 11:42:30 +0000 (14:42 +0300)
commitf5f9d16e1ade559da53e3eda86b46f4457185249
tree89e32f9858a5d64a24d5f6a1337338053e132899
parentb5751e57be06011e521fc28b7810b9b90c218627
python-pyelftools: install /usr/bin/pyreadelf

The wheel's /usr/bin/readelf.py collides with binutils' /usr/bin/readelf
and gets its shebang stripped by CompileAll + DeleteSourceFiles. Rename
to pyreadelf via the Py3Package install hook, matching Fedora's package.

Also depend on python3-asyncio and python3-codecs: elftools.construct.debug
imports pdb, and Python 3.14's pdb pulls in asyncio (via _pyrepl) and
unicodedata (via _pyrepl.utils) at import time.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-pyelftools/Makefile
git clone https://git.99rst.org/PROJECT