From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 17C51158020 for ; Wed, 30 Nov 2022 09:08:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F380E07D4; Wed, 30 Nov 2022 09:08:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E477DE07D4 for ; Wed, 30 Nov 2022 09:08:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7DE4340F90 for ; Wed, 30 Nov 2022 09:08:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED0F354C for ; Wed, 30 Nov 2022 09:08:31 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1669799286.8242ba9bf9123e12cd1582a9c27cc1f65c36fa59.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ply/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ply/Manifest dev-util/ply/ply-2.3.0.ebuild X-VCS-Directories: dev-util/ply/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 8242ba9bf9123e12cd1582a9c27cc1f65c36fa59 X-VCS-Branch: master Date: Wed, 30 Nov 2022 09:08:31 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b18a58d1-0a5f-467f-b765-c5a9e8549481 X-Archives-Hash: b2566b7122013c3f7d4dfb4256236b76 commit: 8242ba9bf9123e12cd1582a9c27cc1f65c36fa59 Author: Jakov Smolić gentoo org> AuthorDate: Wed Nov 30 09:07:59 2022 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Wed Nov 30 09:08:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8242ba9b dev-util/ply: add 2.3.0 - Now with riscv support added upstream. Signed-off-by: Jakov Smolić gentoo.org> dev-util/ply/Manifest | 2 ++ dev-util/ply/ply-2.3.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-util/ply/Manifest b/dev-util/ply/Manifest index 3c1fa95d949a..707ac1054413 100644 --- a/dev-util/ply/Manifest +++ b/dev-util/ply/Manifest @@ -2,3 +2,5 @@ DIST ply-2.1.1-arm-build-fix.patch 1433 BLAKE2B 305bb06ce1e5516dc3868cd276edc94d DIST ply-2.1.1.tar.gz 71578 BLAKE2B b63d0bd355985035b8d1c934c13982e21eeda0d710f40b8131562e9ef6a21a3eaf04960b871f5ab83d718ab1726450996988a2aef1a6fbd2e8f1a3c55db92beb SHA512 fdc66d752989a239e01d2746e6c56610c2c945fbeeff8f2a79be1db487a6cbba365d1bd1b553d25c43a3fdc3634ab96bf4a37ab4f694c6eb6eba82c35b37231e DIST ply-2.2.0-arm-build-fix.patch 1433 BLAKE2B 305bb06ce1e5516dc3868cd276edc94d89cb7c20866094c6947092048af2c090a29bae52dc82956cbf7f36e42e15d873c553948dade17f4b1f9d490bb8191ed9 SHA512 e7572e5e777e13b483e9123fc5c62d63f3f1a2c753d7dedce8de8d78a4c5baa9c10b45b0e31ba16a92b0e2af11e206662cfe815643f0a8145f8d79e388d536b9 DIST ply-2.2.0.tar.gz 80367 BLAKE2B 111469f7a63a2b6442e60da78185e450630a372e423c4bfdd110868cf766537995cc54e8f7c790222f361162b8cb741c320310a2ae4f72faffd02bfc4ac707b2 SHA512 e0c34893be8b461d0e633125d412957c89a854a0e63f598d62d0fc93c6942a35694eb2020e534fd5004296cc83dd3e159dcc4ac29a63f9441d03714776d25c3a +DIST ply-2.3.0-arm-build-fix.patch 1433 BLAKE2B 305bb06ce1e5516dc3868cd276edc94d89cb7c20866094c6947092048af2c090a29bae52dc82956cbf7f36e42e15d873c553948dade17f4b1f9d490bb8191ed9 SHA512 e7572e5e777e13b483e9123fc5c62d63f3f1a2c753d7dedce8de8d78a4c5baa9c10b45b0e31ba16a92b0e2af11e206662cfe815643f0a8145f8d79e388d536b9 +DIST ply-2.3.0.tar.gz 79753 BLAKE2B 7c2f71a6078ff65ce92b3959c3dac31d44fcf3b99fc0b2d0390152fcdfcb5f1620090b26a47f6579aaa7b7644700f2865e2693707e8746cdd78c77ce66e9ead1 SHA512 ee8acd31bef7b2ac318ef64f7775aae2b288bae15a7b7b5b28c2ce5728e8ece7833ce192bd10488dd54228685d3dc9053679a033960ed75fd91a10bb0fa6d912 diff --git a/dev-util/ply/ply-2.3.0.ebuild b/dev-util/ply/ply-2.3.0.ebuild new file mode 100644 index 000000000000..f5bbba6567e2 --- /dev/null +++ b/dev-util/ply/ply-2.3.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info + +DESCRIPTION="Dynamic instrumentation of the Linux kernel with BPF and kprobes" +HOMEPAGE="https://github.com/iovisor/ply" +SRC_URI="https://github.com/iovisor/ply/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/iovisor/ply/commit/1bc183af8703023e377f92716ecd3f339ffffd11.patch -> ${P}-arm-build-fix.patch" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv" +IUSE="static-libs" +# Bug 733248 file collisions with sys-boot/plymouth: +# /usr/lib64/libply.la +# /usr/lib64/libply.so +RDEPEND="!sys-boot/plymouth" +DEPEND="elibc_musl? ( sys-libs/queue-standalone )" + +pkg_pretend() { + local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF + ~BPF_JIT ~HAVE_EBPF_JIT ~BPF_EVENTS" + + check_extra_config +} + +src_prepare() { + sed -i "/^AC_INIT/c\AC_INIT(${PN}, ${PV}," configure.ac || die + + default + eautoreconf +} + +src_install() { + default + rm -f "${ED}/usr/share/doc/${P}/COPYING" + + if ! use static-libs; then + find "${D}" -type f -name '*.a' -delete || die + find "${ED}" -name '*.la' -delete || die + fi +}