diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
commit | 129160ec854dca4c3fedb5bcfbcb56930371da0f (patch) | |
tree | 53bf797418ac5e9b99c41ca0382c87b82421e5de /dev-python/pyelftools | |
parent | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff) |
gentoo new year resync : 01.01.2021
Diffstat (limited to 'dev-python/pyelftools')
-rw-r--r-- | dev-python/pyelftools/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyelftools/pyelftools-0.27.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pyelftools/Manifest b/dev-python/pyelftools/Manifest index 191caae595ac..c46660e6674f 100644 --- a/dev-python/pyelftools/Manifest +++ b/dev-python/pyelftools/Manifest @@ -1,3 +1,5 @@ DIST pyelftools-0.26.tar.gz 792390 BLAKE2B 523e6f64205273e8362db92900aebdc05849c5a55d48f75aeae4aa0c58d6dde35ba73c660a5993b211b210fba634360befbdfa90077a140d708c71091918e306 SHA512 dd166f56654592f6a0d7a91bc41c01b9300de6d2f08b204a61ac48eb3f4b3224f89271c5fe66adc41d71a5e2bed8ddfa4ad495098df917623f7aa90c2caffeca +DIST pyelftools-0.27.tar.gz 3328795 BLAKE2B 74e6e17c68b197d0ecdddedba81a96601003c41a9c095bc72dff7630511705d36d1bc2732005a87ad1420c99497d729c5b771eca7bf5409c0da77d7b348d9c1b SHA512 bb0a00e5500016e3d4f64be0a728e190f84b11a805f78d668b5a74716a30400e6794946f198ef4a3f3b8f64a63deb1b5a96180b09e56b7357b988b28e25fad0a EBUILD pyelftools-0.26.ebuild 937 BLAKE2B d8404070c6ab741da801f2ad52ec00f9db8563aff3aa5301cfc0e4d1c8d6599dcda28dd80a85b9dd72cfe01a10e109bb22a462ce2a07c11119874d24b00b6aff SHA512 71e4111e57aaea769115a6ccfc5df3e01d88947c1be4a192880e360897fbc23ab9aa1933031d730f1e5ccf68d7cc0a9e58b8a1f04c4d42136fa70dcb296da187 +EBUILD pyelftools-0.27.ebuild 946 BLAKE2B c8f47097bfd85010257ff78918282b5d901fe6f06cbd7d0354398b6f1ec082070673f64c7ce74f6ac0a0979a2246a899f9d270d35659a1df7ce48b88e08ca00f SHA512 43d063ed1746c410617abe9829ae89b70909476356575bddf9464e902bab7e4f5b653e14ea31f4ee33b63e03694b89fdf654dd8d022d556ab4077a1c5e52054e MISC metadata.xml 394 BLAKE2B c89bcd4af21dcb7e2136ac81fdd480baa7749aee4ec4760a95192daed4b1db944e30ad84338a147cfbf56e36b7b8bcb3d7130c3261b7a34a24c6b1ef7539a9cd SHA512 7a09765be5f629bffc63e9a0ce39b84d3671a10d6a5223bc0f4d96ec3305579e7f872c708e744bc90e5d6a43d9c6a948fc4f66da3398b1c160325829ff714e6b diff --git a/dev-python/pyelftools/pyelftools-0.27.ebuild b/dev-python/pyelftools/pyelftools-0.27.ebuild new file mode 100644 index 000000000000..876947e90675 --- /dev/null +++ b/dev-python/pyelftools/pyelftools-0.27.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +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}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +python_test() { + # readelf_tests often fails due to host `readelf` changing output format + local t + for t in all_unittests examples_test ; do + "${PYTHON}" ./test/run_${t}.py || die "Tests fail with ${EPYTHON}" + done +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} |