cleanup PYTHON_COMPAT, remove unused Ebuilds (https://bugs.gentoo.org/793464)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST pyelftools-0.25.tar.gz 499493 BLAKE2B 941b21526d1225a4effa25d8f0245b326d5ec652cea6741240613c19af61e03a537fe363dd4c10a90760a7ddc6201e20dd83b6825ad185ae21696be6f4d1e52f SHA512 06ead53ada32676161193d7e5cdb3b9e4c1910dcb34f77a544f53445651f8118b582716bf8c5cc54efb21b1ddbbcdb4b41c533350af3c41553d103c7fc74702f
|
||||
EBUILD pyelftools-0.25-r1.ebuild 819 BLAKE2B eda1a35c9ceaae8ffcaa8017e23990de82b52267264879433c6cd3cc15f88ff513a3d41c0d985d221d36d0c3b7cf8789183fe5a0145bc030ca80447c7d195788 SHA512 83a85dc0060cfa222b937611aed495af7c6d6de94ed38bc1e2cec13bd4a9f6ef43d4eb30ff714f052aef3665158ce5c1e2d225a1cd0eaf91100ae7e05b27c627
|
||||
EBUILD pyelftools-0.25.ebuild 818 BLAKE2B 287226f4d20b1110b4d1a0b0335798898411fd7f4640477f65cb16e84a8b3284e23f14809c3a3cc33bdcbd99d24aa89944983bfd7d816b4c7a8445c21e4da65e SHA512 b482c246bd2782f37a34ad7c9d9e9fcef9468b2ac9dbf0a8e7c68794316ee63f1984d7e25565104a4fa228761290b09593b9d737c0ae0eff821c1d6e0abee46b
|
||||
EBUILD pyelftools-0.25-r1.ebuild 818 BLAKE2B ac2d5ccd9eccae02f2be6c517a068b5d8e87e96b53489ea0f64861ad769773528d3ab835cdf4f345b4595ad2efe44f79b784e30c99fed0ef93737c5c251a6131 SHA512 50c5a688306ade71895b492d13fd7d55acb52d3d8d96ee50639fd455d3660b66e7c35289f4e617f1ca0358bf8812a991bd6eaeb7f1d40168241ce3da9261c3a9
|
||||
MISC metadata.xml 370 BLAKE2B 8dcbbb8d9add514bc0daf421c6739f8ee8426af39a0cf36758c594ee859a1aead4bddcfab3466cb50761ae289f7d58426dacb5a51b745a290530abeb511204eb SHA512 0f00113fb42e48e7b232b8a500ac77958f3ead50ff51d547e015a2c1aa7b87ff7a25495094ba10480176f3653742f18473378fe336f544ec93d645db9057ec20
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="pure-Python library for analyzing ELF files and DWARF debugging information"
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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="amd64 ~arm 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
|
||||
}
|
||||
Reference in New Issue
Block a user