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: Sun, 02 Jun 2019 19:06:27
Message-Id: 1559502361.c3005b91380d235dea6addd0e74aa4a59ba0c208.zzam@gentoo
1 commit: c3005b91380d235dea6addd0e74aa4a59ba0c208
2 Author: Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 2 12:47:14 2019 +0000
4 Commit: Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 2 19:06:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3005b91
7
8 dev-util/dwarves: version bump
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.13
11 Signed-off-by: Matthias Schwarzott <zzam <AT> gentoo.org>
12
13 dev-util/dwarves/Manifest | 1 +
14 dev-util/dwarves/dwarves-1.13.ebuild | 44 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 45 insertions(+)
16
17 diff --git a/dev-util/dwarves/Manifest b/dev-util/dwarves/Manifest
18 index 7f96b711a1c..8f793eb8702 100644
19 --- a/dev-util/dwarves/Manifest
20 +++ b/dev-util/dwarves/Manifest
21 @@ -1 +1,2 @@
22 DIST dwarves-1.12.tar.bz2 112400 BLAKE2B e71051041dfdbefc603dc041303de82e2e44c8b0f4f888577722466aaf7958cab7b04c15154faa8cbfcaa44fe60fc549e09b2fb68747cc3cdd08b8bce487cfdf SHA512 20644344e694253b79ede65e489696a319f10eaf424af81882414ae6efeaf34a82132321430d647916b78f97ef504907b3bd32919420f2cd14384910e283ff27
23 +DIST dwarves-1.13.tar.xz 222008 BLAKE2B db73f5c9a319a1a57ef37127350a9da117e3f5c89e199445393e3e312139ce8f88f46e6e5bbf302d708c0b075b1c2b2cd75dc7bc213ed144d1db792c55358220 SHA512 26485b183b4c7b608dd0392f9155dd570a14c86fdeafee232e44ad30f14a1357b408b61b0e8a31ea4bf976ed7fc44e7d5a4a3ccede9713c47265ad52c13dadf0
24
25 diff --git a/dev-util/dwarves/dwarves-1.13.ebuild b/dev-util/dwarves/dwarves-1.13.ebuild
26 new file mode 100644
27 index 00000000000..5af51df1a8e
28 --- /dev/null
29 +++ b/dev-util/dwarves/dwarves-1.13.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python2_7 )
37 +inherit multilib cmake-utils 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 ~x86"
45 +IUSE="debug"
46 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
47 +
48 +RDEPEND="${PYTHON_DEPS}
49 + >=dev-libs/elfutils-0.131
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 + S=${WORKDIR}
56 +else
57 + SRC_URI="https://dev.gentoo.org/~zzam/${PN}/${P}.tar.xz"
58 +fi
59 +
60 +DOCS=( README README.ctracer NEWS )
61 +PATCHES=( "${FILESDIR}"/${PN}-1.10-python-import.patch )
62 +
63 +src_configure() {
64 + local mycmakeargs=( "-D__LIB=$(get_libdir)" )
65 + cmake-utils_src_configure
66 +}
67 +
68 +src_test() { :; }
69 +
70 +src_install() {
71 + cmake-utils_src_install
72 + python_fix_shebang "${D}"/usr/bin/ostra-cg \
73 + "${D}"/usr/share/dwarves/runtime/python/ostra.py
74 +}