Gentoo Archives: gentoo-commits

From: Matthias Schwarzott <zzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pahole/
Date: Wed, 02 Jun 2021 08:20:22
Message-Id: 1622622015.fe4d899cf38c376a321302b7ec05f298bc65c9ed.zzam@gentoo
1 commit: fe4d899cf38c376a321302b7ec05f298bc65c9ed
2 Author: Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 2 08:19:31 2021 +0000
4 Commit: Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 2 08:20:15 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4d899c
7
8 dev-util/pahole: version bumped
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Matthias Schwarzott <zzam <AT> gentoo.org>
12
13 dev-util/pahole/Manifest | 1 +
14 dev-util/pahole/pahole-1.21.ebuild | 52 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 53 insertions(+)
16
17 diff --git a/dev-util/pahole/Manifest b/dev-util/pahole/Manifest
18 index 3b69b6bf776..ba18f4d0c77 100644
19 --- a/dev-util/pahole/Manifest
20 +++ b/dev-util/pahole/Manifest
21 @@ -1 +1,2 @@
22 DIST dwarves-1.20.tar.xz 688728 BLAKE2B c57f390f7e1d20c861a4acb8cd7fe238a3f7c3f2d915d96fc051dba2587942e8fabfa4f524d18555c486863fa02bc4ab63d90e90d477f376dc5e547aa36cccac SHA512 306bb74c498527a5a9bdae4d304e90511336cab627d9acad5237d93cbb48efe11dbca4418c540fa03e3ecdd168ce224cabe9fd2f6fbb50520d0dd17741c80817
23 +DIST dwarves-1.21.tar.xz 910480 BLAKE2B b6dcdaf008a7714838904b0bc1050e6af4617e00e168f45a3f1a5d4611a05c898182f3395b2f10478240e05c22ce82a3a7381a1ea7ab41684e3b05ea6e73620c SHA512 69f510025f5790a004c356546f7d92996ad84c4ff1636876b48f1c7d81bf66c83da70f11a1912d65b46f81bea79418782021396a018e74baae5cad9221af14e1
24
25 diff --git a/dev-util/pahole/pahole-1.21.ebuild b/dev-util/pahole/pahole-1.21.ebuild
26 new file mode 100644
27 index 00000000000..6e645bb8300
28 --- /dev/null
29 +++ b/dev-util/pahole/pahole-1.21.ebuild
30 @@ -0,0 +1,52 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{7,8,9} )
37 +inherit multilib cmake python-single-r1
38 +
39 +DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities"
40 +HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/"
41 +
42 +LICENSE="GPL-2" # only
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
45 +IUSE="debug"
46 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
47 +
48 +RDEPEND="${PYTHON_DEPS}
49 + >=dev-libs/elfutils-0.178
50 + sys-libs/zlib"
51 +DEPEND="${RDEPEND}"
52 +
53 +MY_PN=dwarves
54 +MY_P=${MY_PN}-${PV}
55 +S=${WORKDIR}/${MY_P}
56 +if [[ ${PV//_p} == ${PV} ]]; then
57 + SRC_URI="http://fedorapeople.org/~acme/${MY_PN}/${MY_P}.tar.xz"
58 +else
59 + SRC_URI="https://dev.gentoo.org/~zzam/${PN}/${P}.tar.xz"
60 +fi
61 +
62 +DOCS=( README README.ctracer NEWS )
63 +
64 +PATCHES=(
65 + "${FILESDIR}"/${PN}-1.10-python-import.patch
66 +)
67 +
68 +src_prepare() {
69 + cmake_src_prepare
70 + python_fix_shebang ostra/ostra-cg ostra/python/ostra.py
71 +}
72 +
73 +src_configure() {
74 + local mycmakeargs=( "-D__LIB=$(get_libdir)" )
75 + cmake_src_configure
76 +}
77 +
78 +src_test() { :; }
79 +
80 +src_install() {
81 + cmake_src_install
82 +}