diff options
Diffstat (limited to 'dev-util/ply')
-rw-r--r-- | dev-util/ply/Manifest | 3 | ||||
-rw-r--r-- | dev-util/ply/ply-2.3.0.ebuild | 45 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/ply/Manifest b/dev-util/ply/Manifest index 680703df678e..afadf4d6e80b 100644 --- a/dev-util/ply/Manifest +++ b/dev-util/ply/Manifest @@ -2,6 +2,9 @@ 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 EBUILD ply-2.1.1-r1.ebuild 1204 BLAKE2B 391dfeadb5a7fefa1f4b300d3529fde460adfe29b3195d1ba1a686a9340c02e94273bb373e5b2820e6785804b93cb67cc675c26413f7e81fdeba61069d10e890 SHA512 90e5ba22c0f1af30e52f7df0634951e031bfd21f8de40a9273cbb0eb0f66a35c8a6b43cf1a7de470d89029fe29924c9afda44349c99740cc790c035e0805b2fb EBUILD ply-2.2.0.ebuild 1159 BLAKE2B b031ec88a988219c0dc9dcd4171b27cfb78a92d00678b7f23e9fabeca41c63f2d6be0221baf5a5602297f5353018db4a830449e51285f6d4d49530ac2b3282ac SHA512 bfe505b29eb37aebf3e76bbb05932147a52fb1a8b06f6950ca9db824913859ce227f8be860562d4a14c991349f00a823548f509ee0b70c698ebfef8babdbfbde +EBUILD ply-2.3.0.ebuild 1166 BLAKE2B 42da8e6ce887cbe7208bdae3b69479624edf1d23db159535b25f1cbfb1cf2bd28be3002eab3a945c27cc1dd97ee7e330621321725bce6635c8a17fddb49f768a SHA512 05f226ceb6b5c04330ca4ddb93d748eb1ca9ca0090285c8912c3b681a80907344a37ba9160613bd94b3d9a5a631c59d9eac629a3289c1b5bcba273bbde46d1a7 MISC metadata.xml 417 BLAKE2B 28ebd45dbaf6cca1bb15bbf344ed122b15f1925ce45a0d74b408c512a9116f767508e7aba47798f6becc5bbaa647fa74dec5153c1c82783fbba336b6eeafab62 SHA512 cd1f87108a632e8741bc85eeb949f75cc7a7375aa472b0bfa1fdc421e25056178ce565b1eb64047e5c26dae0642e9038f586fbe356b162e8a957d71d7b37117b 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 +} |