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/dwarves/
Date: Tue, 06 Oct 2020 05:06:41
Message-Id: 1601960783.0e5747d723a08bdf6508086f644052aac31cce87.zzam@gentoo
1 commit: 0e5747d723a08bdf6508086f644052aac31cce87
2 Author: Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 6 04:55:13 2020 +0000
4 Commit: Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 6 05:06:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5747d7
7
8 dev-util/dwarves: Bumped version to 1.18
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Matthias Schwarzott <zzam <AT> gentoo.org>
12
13 dev-util/dwarves/Manifest | 1 +
14 dev-util/dwarves/dwarves-1.18.ebuild | 44 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 45 insertions(+)
16
17 diff --git a/dev-util/dwarves/Manifest b/dev-util/dwarves/Manifest
18 index d9e36684235..31948b93031 100644
19 --- a/dev-util/dwarves/Manifest
20 +++ b/dev-util/dwarves/Manifest
21 @@ -1 +1,2 @@
22 DIST dwarves-1.17.tar.xz 309028 BLAKE2B 600d095359fa1ef208cc83655761505a07512faf9957144cc5fdd9e69bef98be3afc8b29a4c13aa0246aa43fdc9b4906de95f37c86fc6790ece52a79e3b13695 SHA512 8916ea24316efe1eb322d045fb2d81c230905f2fe33942eac641e9e0311f33a3bcf55be454eac32781799c255303bafacd8f1bd1b3ec08f0dae4d5f38d8186ba
23 +DIST dwarves-1.18.tar.xz 324912 BLAKE2B bdce2903608a1229e2fc7e8a01bc41249a17a1a003fc3616910959fc43b430569cd737a220edfab2473485cd2dc0519b4add0e0e3a690e51ad35c4fa082752a5 SHA512 01647607ce0f4dfceb464367f2dd8a432f33eb5d0e003b6bbb07b38bd992a2992844309b04aee2a0388658c41d8b2059d03064c6e450fe7c347c5bca445d7938
24
25 diff --git a/dev-util/dwarves/dwarves-1.18.ebuild b/dev-util/dwarves/dwarves-1.18.ebuild
26 new file mode 100644
27 index 00000000000..063b96dc5e5
28 --- /dev/null
29 +++ b/dev-util/dwarves/dwarves-1.18.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6,7,8} )
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 ~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 +if [[ ${PV//_p} == ${PV} ]]; then
54 + SRC_URI="http://fedorapeople.org/~acme/dwarves/${P}.tar.xz"
55 +else
56 + SRC_URI="https://dev.gentoo.org/~zzam/${PN}/${P}.tar.xz"
57 +fi
58 +
59 +DOCS=( README README.ctracer NEWS )
60 +
61 +PATCHES=(
62 + "${FILESDIR}"/${PN}-1.10-python-import.patch
63 +)
64 +
65 +src_configure() {
66 + local mycmakeargs=( "-D__LIB=$(get_libdir)" )
67 + cmake_src_configure
68 +}
69 +
70 +src_test() { :; }
71 +
72 +src_install() {
73 + cmake_src_install
74 +}