From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B9C0113829C for ; Sat, 11 Jun 2016 22:11:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3590AE0916; Sat, 11 Jun 2016 22:11:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4D45E0916 for ; Sat, 11 Jun 2016 22:11:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06DB9340806 for ; Sat, 11 Jun 2016 22:11:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9405209C for ; Sat, 11 Jun 2016 22:11:47 +0000 (UTC) From: "Matthias Schwarzott" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Schwarzott" Message-ID: <1465683010.1e1c21623774123c66b7fdef57f538021c9daab9.zzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/dwarves/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/dwarves/Manifest dev-util/dwarves/dwarves-1.10_p20160519.ebuild X-VCS-Directories: dev-util/dwarves/ X-VCS-Committer: zzam X-VCS-Committer-Name: Matthias Schwarzott X-VCS-Revision: 1e1c21623774123c66b7fdef57f538021c9daab9 X-VCS-Branch: master Date: Sat, 11 Jun 2016 22:11:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c1a02e60-ccc6-4f0c-9bc9-02be5a96b76a X-Archives-Hash: f0e74f402203c0a1870e7c540e561d48 commit: 1e1c21623774123c66b7fdef57f538021c9daab9 Author: Matthias Schwarzott gentoo org> AuthorDate: Sat Jun 11 22:10:10 2016 +0000 Commit: Matthias Schwarzott gentoo org> CommitDate: Sat Jun 11 22:10:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1c2162 dev-util/dwarves: Added a new snapshot that can read output of recent compiler versions Package-Manager: portage-2.3.0_rc1 dev-util/dwarves/Manifest | 1 + dev-util/dwarves/dwarves-1.10_p20160519.ebuild | 44 ++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-util/dwarves/Manifest b/dev-util/dwarves/Manifest index 5018918..b2c8416 100644 --- a/dev-util/dwarves/Manifest +++ b/dev-util/dwarves/Manifest @@ -1 +1,2 @@ DIST dwarves-1.10_p20140618.tar.xz 105912 SHA256 1955f854206ad26a2949fd2ff20da2403db84393fe9db5769fafcbaacde001c6 SHA512 522a6d674da5cc2316c180bcb4e90419d5811ff34e6aeeef875950dbcc4c12ea5a133d159360629d687f93ae2db622bb87d9b94a747aade90a61b239b9137a2c WHIRLPOOL 63a4ff06e76e55a0bdd1feb3c5e3c450170f3fbfae80b3d61a36e69f0616ed90e2cdbe065f47cd08caaf8de57e2ed366ded8f581eb2b228bac917b23f66f8ab8 +DIST dwarves-1.10_p20160519.tar.xz 106532 SHA256 01e7d1bc697c21253e9eef4e481fbb55a35c59d4e5e1eade571ea26aab0fae0b SHA512 74797e934db900e78235705f70de45667e4ba7f56c0b7454d148365b8c87b617dcbf07fa12bdfdcaa2c129cd2111b029b458e71f77261b237de46fc2759a37da WHIRLPOOL 8e574aad93fd3c32ade8476622c9d853291e5596b91570141f345f70d51645b2ee04f84801b1cc1367b23150c1156f92c29efb3e21b2dcc3706a85de6584e385 diff --git a/dev-util/dwarves/dwarves-1.10_p20160519.ebuild b/dev-util/dwarves/dwarves-1.10_p20160519.ebuild new file mode 100644 index 0000000..f90756e --- /dev/null +++ b/dev-util/dwarves/dwarves-1.10_p20160519.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit multilib cmake-utils python-single-r1 + +DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities" +HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/" + +LICENSE="GPL-2" # only +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/elfutils-0.131 + sys-libs/zlib" +DEPEND="${RDEPEND}" + +if [[ ${PV//_p} == ${PV} ]]; then + SRC_URI="http://fedorapeople.org/~acme/dwarves/${P}.tar.bz2" + S=${WORKDIR} +else + SRC_URI="https://dev.gentoo.org/~zzam/${PN}/${P}.tar.xz" +fi + +DOCS=( README README.ctracer NEWS ) +PATCHES=( "${FILESDIR}"/${PN}-1.10-python-import.patch ) + +src_configure() { + local mycmakeargs=( "-D__LIB=$(get_libdir)" ) + cmake-utils_src_configure +} + +src_test() { :; } + +src_install() { + cmake-utils_src_install + python_fix_shebang "${D}"/usr/bin/ostra-cg \ + "${D}"/usr/share/dwarves/runtime/python/ostra.py +}