diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-07 10:28:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-07 10:28:02 +0100 |
commit | 24beafaaa74162a20d550f2ee7c4997724e34d95 (patch) | |
tree | 837cc95f211fd637e2a0b4f52355baf389f58db1 /dev-python/pyelftools | |
parent | 2fe3545788a28893084c9f3b6f992cff1230505e (diff) |
gentoo auto-resync : 07:09:2023 - 10:28:01
Diffstat (limited to 'dev-python/pyelftools')
-rw-r--r-- | dev-python/pyelftools/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyelftools/pyelftools-0.30.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pyelftools/Manifest b/dev-python/pyelftools/Manifest index 13fc94f9f7f0..94d199235534 100644 --- a/dev-python/pyelftools/Manifest +++ b/dev-python/pyelftools/Manifest @@ -1,3 +1,5 @@ DIST pyelftools-0.29.gh.tar.gz 14176561 BLAKE2B 441260492f8cd512445249700a79f1d823ef96f6213ab9183e17160b76efe51493c28d2ae8ecea79acf45e78987b4c24940441e9bc0a3deaeda0ee4fb72b58c3 SHA512 0eba3b029a734abe9f8df92cd58bc967f10bf9f61c3a419bdbc5e637200844dddd947bcb485e8ebbe2eeaa7f7e91efc6500316af51aace1db051a658cf61153e +DIST pyelftools-0.30.gh.tar.gz 14115024 BLAKE2B b7974bc1a51ff5ba6ced17aac44e3911ff8d892564a3bef07ae6a5fc261eb7d2eb02170678c4d0bafedaa9e393fa4ca6d2059c420436ea73aa4f6aa7b49a894e SHA512 5bd4c797f90307e351d541b8de8f76124c66e497b68b811f7012e1271c902beb6ab530a424b338777d12277d44f9b5f89f049e05d9fc2ec36a90b6fa16f1c1a4 EBUILD pyelftools-0.29.ebuild 964 BLAKE2B b61e00d9591d490e8be38770ea4a1a93b721c3a43d02470f5393ce520b60d7374f3f66d8335dc61b3ace3cd41c488274b4fedae56cce14a71f96b3fd76cc4796 SHA512 94012cfc6c4a3925d96a86ca079bc9aeb0bc3a2e8a602415edb70e68c89309b02b7acd19678cdf3e331bf04cf97e32b576e480d46d2ac268b4f50598bac12aac +EBUILD pyelftools-0.30.ebuild 862 BLAKE2B b1fb1a0ab4fdd12cc1a6b384a4b137d159a0054b39d3f60358d47d2c7f931f05a67a070753c503260723b92ab87fb984292a23f5500d0e71a2df07971b99e65f SHA512 2c75bd113d94ff4ccd85ac0155ee1350f1176ad78738180e01ae36b7a985998de4214ec58033df81486964123e25aff66824ecccb51ae703d02ac2030eb03209 MISC metadata.xml 395 BLAKE2B 18e95b29b16eeee438d7391b2370b4955f631578117df6bdf841f50af5c52c688a16e5819b521a37b7737ae0cbe8705c399c2483dd2c066e6e21a7c9b81ec477 SHA512 6ae9650404b3213bb2e1dcc730e782672cb35bc24e3f4b35b02a74d7866ddbda2fc2dc37809856a7e064968502f02d78e2cd1b7a078f44beadd62566913b9f08 diff --git a/dev-python/pyelftools/pyelftools-0.30.ebuild b/dev-python/pyelftools/pyelftools-0.30.ebuild new file mode 100644 index 000000000000..8d04f7b51519 --- /dev/null +++ b/dev-python/pyelftools/pyelftools-0.30.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="pure-Python library for analyzing ELF files and DWARF debugging information" +HOMEPAGE=" + https://pypi.org/project/pyelftools/ + https://github.com/eliben/pyelftools/ +" +# PyPI tarball lacks some test files +SRC_URI=" + https://github.com/eliben/pyelftools/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +python_test() { + # readelf_tests often fails due to host `readelf` changing output format + "${EPYTHON}" test/run_all_unittests.py || die + "${EPYTHON}" test/run_examples_test.py || die +} |