Latest changes

This commit is contained in:
Gerardo J. Puerta
2019-10-21 21:46:58 +02:00
parent 894391a8e5
commit dc24a8362d
6 changed files with 118 additions and 1 deletions

View File

@ -0,0 +1,3 @@
DIST pyelftools-0.24.tar.gz 411874 BLAKE2B 304721cc440599d6436366c14a17d7e3132464686cdd870257a0180dd5f292a23c50a4e654966552d643875ac2683fda8584684cfeb611a3f22f02f73852a288 SHA512 5169617f9a8446ffc21dfc44ee185a388c8945a0296bdc6752483b0756888dccb10e3ee88e529d101cf31a4595de924b5c95f5459d5ee4448f57c0c4f2c56887
EBUILD pyelftools-0.24.ebuild 898 BLAKE2B 0cd615b2b72ef946012f55f91818bc67ed644eb653a9e9190d6d2d31c9e9566ba856e402e56545f360d27747fa5d6ef86bcb5856f5aed4e53f452d44f0df654e SHA512 2cdb324db9b663c815e5b9f63bc953dac8f04c412f31ac0b0968f73554b7201d5330a584da36b4dcb7b6d3410401a4fc5a532ca3b2f3aa6bf47d026ca61d371a
MISC metadata.xml 370 BLAKE2B 8dcbbb8d9add514bc0daf421c6739f8ee8426af39a0cf36758c594ee859a1aead4bddcfab3466cb50761ae289f7d58426dacb5a51b745a290530abeb511204eb SHA512 0f00113fb42e48e7b232b8a500ac77958f3ead50ff51d547e015a2c1aa7b87ff7a25495094ba10480176f3653742f18473378fe336f544ec93d645db9057ec20

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">pyelftools</remote-id>
<remote-id type="github">eliben/pyelftools</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,29 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
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"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~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
}