diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2022-09-05 09:34:07 +0200 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2022-09-05 09:34:44 +0200 |
commit | 6035dad288e97438e533138a4cb0995c9490a397 (patch) | |
tree | 1edd8bc6266bacbf37a3f65514145a340ad09edc /dev-util/pahole | |
parent | dev-python/aiofiles: Bump to 22.1.0 (diff) | |
download | gentoo-6035dad288e97438e533138a4cb0995c9490a397.tar.gz gentoo-6035dad288e97438e533138a4cb0995c9490a397.tar.bz2 gentoo-6035dad288e97438e533138a4cb0995c9490a397.zip |
dev-util/pahole: add version 1.24
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Diffstat (limited to 'dev-util/pahole')
-rw-r--r-- | dev-util/pahole/Manifest | 1 | ||||
-rw-r--r-- | dev-util/pahole/pahole-1.24.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/pahole/Manifest b/dev-util/pahole/Manifest index b1ddadeaf0a1..b232c9e09f43 100644 --- a/dev-util/pahole/Manifest +++ b/dev-util/pahole/Manifest @@ -1 +1,2 @@ DIST dwarves-1.23.tar.xz 815076 BLAKE2B 2d89ac2d8cacb70a322b1c946356c0b18a2276f7a549efc2cf530c087dd718c7d01f5bcf8b9208965e066770064b6d8db7a9f6ab9a3f3a4612f6fcc8d146c1e8 SHA512 5255930d6898ce35a41e3e553363964663d2b686d12732ff6140fa1d06fcc3806adf28e24ec35ab0712eec0562c52c3943afe9ecce468b0053b852ffeb04c3dc +DIST dwarves-1.24.tar.xz 875744 BLAKE2B 6766b5a5ecbf64013227e7cd459af662fc213f230b5b1279354fcaaccebfa3d74f9a2254542dc4f3f1bb4a5def1d4c77e2445fa8b531fa8b9e331cdfc23155fe SHA512 3cdca183cf68ec46fd9a0301ae4a8a30b23a8139c65ffba64ae11f85f9e942f7341dca6f88a4a3b49f32bfd880927193a80fa011726e4a33d3e5a1a146326c06 diff --git a/dev-util/pahole/pahole-1.24.ebuild b/dev-util/pahole/pahole-1.24.ebuild new file mode 100644 index 000000000000..8a8a28a9f3a2 --- /dev/null +++ b/dev-util/pahole/pahole-1.24.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit 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 ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/elfutils-0.178 + sys-libs/zlib" +DEPEND="${RDEPEND}" + +MY_PN=dwarves +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} +if [[ ${PV//_p} == ${PV} ]]; then + SRC_URI="http://fedorapeople.org/~acme/${MY_PN}/${MY_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 +} |