diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-10-08 08:25:01 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-10-08 08:25:11 +0200 |
commit | d4cce97d7f441fcddeb5089125268bf8512957c1 (patch) | |
tree | f831651e9cf8b1cd24f83c105fe3f18c1241f8d0 /dev-util/ply | |
parent | www-client/firefox-bin: add 105.0.3, drop 105.0.2 (diff) | |
download | gentoo-d4cce97d7f441fcddeb5089125268bf8512957c1.tar.gz gentoo-d4cce97d7f441fcddeb5089125268bf8512957c1.tar.bz2 gentoo-d4cce97d7f441fcddeb5089125268bf8512957c1.zip |
dev-util/ply: add 2.2.0
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-util/ply')
-rw-r--r-- | dev-util/ply/Manifest | 2 | ||||
-rw-r--r-- | dev-util/ply/ply-2.2.0.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/ply/Manifest b/dev-util/ply/Manifest index 3ebf13c3a8f7..3c1fa95d949a 100644 --- a/dev-util/ply/Manifest +++ b/dev-util/ply/Manifest @@ -1,2 +1,4 @@ DIST ply-2.1.1-arm-build-fix.patch 1433 BLAKE2B 305bb06ce1e5516dc3868cd276edc94d89cb7c20866094c6947092048af2c090a29bae52dc82956cbf7f36e42e15d873c553948dade17f4b1f9d490bb8191ed9 SHA512 e7572e5e777e13b483e9123fc5c62d63f3f1a2c753d7dedce8de8d78a4c5baa9c10b45b0e31ba16a92b0e2af11e206662cfe815643f0a8145f8d79e388d536b9 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 diff --git a/dev-util/ply/ply-2.2.0.ebuild b/dev-util/ply/ply-2.2.0.ebuild new file mode 100644 index 000000000000..5734efa8d475 --- /dev/null +++ b/dev-util/ply/ply-2.2.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" +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 +} |