summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2021-06-01 11:58:06 +0200
committerMatthias Schwarzott <zzam@gentoo.org>2021-06-01 15:52:55 +0200
commit56a33b831f6ca1afd71a0e66f397c0ff5dcc1a97 (patch)
tree8ae1c078d390df99b852226a666220051a730c53 /dev-util/dwarves
parentapp-emulation/diskimage-builder: 3.11.0 stable amd64/x86 (diff)
downloadgentoo-56a33b831f6ca1afd71a0e66f397c0ff5dcc1a97.tar.gz
gentoo-56a33b831f6ca1afd71a0e66f397c0ff5dcc1a97.tar.bz2
gentoo-56a33b831f6ca1afd71a0e66f397c0ff5dcc1a97.zip
dev-util/dwarves: Rename package to dev-util/pahole
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Diffstat (limited to 'dev-util/dwarves')
-rw-r--r--dev-util/dwarves/Manifest1
-rw-r--r--dev-util/dwarves/dwarves-1.20.ebuild49
-rw-r--r--dev-util/dwarves/files/dwarves-1.10-python-import.patch15
-rw-r--r--dev-util/dwarves/metadata.xml16
4 files changed, 0 insertions, 81 deletions
diff --git a/dev-util/dwarves/Manifest b/dev-util/dwarves/Manifest
deleted file mode 100644
index 3b69b6bf7767..000000000000
--- a/dev-util/dwarves/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dwarves-1.20.tar.xz 688728 BLAKE2B c57f390f7e1d20c861a4acb8cd7fe238a3f7c3f2d915d96fc051dba2587942e8fabfa4f524d18555c486863fa02bc4ab63d90e90d477f376dc5e547aa36cccac SHA512 306bb74c498527a5a9bdae4d304e90511336cab627d9acad5237d93cbb48efe11dbca4418c540fa03e3ecdd168ce224cabe9fd2f6fbb50520d0dd17741c80817
diff --git a/dev-util/dwarves/dwarves-1.20.ebuild b/dev-util/dwarves/dwarves-1.20.ebuild
deleted file mode 100644
index df4c7825b90a..000000000000
--- a/dev-util/dwarves/dwarves-1.20.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-inherit multilib cmake 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 ~arm ~arm64 ppc64 x86"
-IUSE="debug"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- >=dev-libs/elfutils-0.178
- sys-libs/zlib"
-DEPEND="${RDEPEND}"
-
-if [[ ${PV//_p} == ${PV} ]]; then
- SRC_URI="http://fedorapeople.org/~acme/dwarves/${P}.tar.xz"
-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_prepare() {
- cmake_src_prepare
- python_fix_shebang ostra/ostra-cg ostra/python/ostra.py
-}
-
-src_configure() {
- local mycmakeargs=( "-D__LIB=$(get_libdir)" )
- cmake_src_configure
-}
-
-src_test() { :; }
-
-src_install() {
- cmake_src_install
-}
diff --git a/dev-util/dwarves/files/dwarves-1.10-python-import.patch b/dev-util/dwarves/files/dwarves-1.10-python-import.patch
deleted file mode 100644
index e308ac6e2788..000000000000
--- a/dev-util/dwarves/files/dwarves-1.10-python-import.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=423817
-
---- dwarves-1.10/ostra/ostra-cg
-+++ dwarves-1.10/ostra/ostra-cg
-@@ -10,7 +10,9 @@
- # under the terms of version 2 of the GNU General Public License as
- # published by the Free Software Foundation.
-
--import sys, datetime, os, ostra
-+import sys
-+sys.path.insert(0, "/usr/share/dwarves/runtime/python")
-+import datetime, os, ostra
-
- class_def = None
-
diff --git a/dev-util/dwarves/metadata.xml b/dev-util/dwarves/metadata.xml
deleted file mode 100644
index 28be736073c3..000000000000
--- a/dev-util/dwarves/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>zzam@gentoo.org</email>
- <name>Matthias Schwarzott</name>
- </maintainer>
- <longdescription lang="en">
- The more-than-seven dwarves is a collection of tools that allows
- to inspect and query the DWARF2 information present in ELF files
- built with full debug information. These tools include pahole
- (Poke-a-hole) and codiff, and were originally designed to inspect
- the Linux kernel and its modules, but can be used in for
- user-space software too.
- </longdescription>
-</pkgmetadata>