summaryrefslogtreecommitdiff
path: root/dev-util/uftrace
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/uftrace')
-rw-r--r--dev-util/uftrace/Manifest6
-rw-r--r--dev-util/uftrace/uftrace-0.11.ebuild2
-rw-r--r--dev-util/uftrace/uftrace-0.12.ebuild (renamed from dev-util/uftrace/uftrace-0.10-r1.ebuild)17
3 files changed, 16 insertions, 9 deletions
diff --git a/dev-util/uftrace/Manifest b/dev-util/uftrace/Manifest
index b7a145c6dd1f..ef87763ad774 100644
--- a/dev-util/uftrace/Manifest
+++ b/dev-util/uftrace/Manifest
@@ -1,5 +1,5 @@
-DIST uftrace-0.10.tar.gz 1111530 BLAKE2B 29388523e1009276ba4609d85e5979e823d028ff647239aa02ec2cac5ae21c7812c7699d47c09c0b9289a0debb39a2f502615547c8e658a821d5078e3b12c6fe SHA512 788234e4156974a70f06d02527e56e5fac821e8b66363dc5fc55d68797c374043c0b66b18b4ab1488b9647e08969e8dc94a64d6bb1a38ccad4cf98eaecc6e919
DIST uftrace-0.11.tar.gz 1120956 BLAKE2B e3bda84a7323cc50780950e502856e28a380249a0f518ad3f7950c4147f0ab635e84b978395eb9025e6b47ecf7eefddcde59356a22f1c8a1d60ddf9820dc3d41 SHA512 519ca13665ba97cea4c349d81b4b5cacd8d3d9b2188ef5edb447f6b783cb7a92356bc0f9e63b67427a896d8df671f58091113e1de3fffd8d8000417a9fdb6e46
-EBUILD uftrace-0.10-r1.ebuild 1206 BLAKE2B e07c628649a6bd7c21673ef8f6b3a58aeb312650eaf3f4c4fef484888372d8ac9c60d34b32193af45c5f2ca8a9dfa8a770ef96b698bc52ee779aa56c6d918f7b SHA512 e81d3373c9110fb04e33ac397b7725129b05fafea22db9cb696f454cfdecd9e5bf8aaf5dddc7ff47593d7e9d571adc4dafd752b349323c6d88337c3653b757d0
-EBUILD uftrace-0.11.ebuild 1412 BLAKE2B c6bebff0d317cdcab16747bebdfd4e75a7d833935148dccd63181c269a714a9fd30f960ed8e46ce36cad805b6f05ae8cf2b28e9edb960d554f7cfe99b5b64200 SHA512 35f9dcd1f258086a75998556d7bc0ec9de483af7d2eb4c01f68a26014cbe4638e77f96738a7103dc803b43fe1018cb45ca74382da8ee5db81fa8ce147e4456a1
+DIST uftrace-0.12.tar.gz 1138670 BLAKE2B 0110f22e12231a8795b12722220b8e9ad6efb79eac99969f3f4c67b7925e1466753bcf7dbcf10fb98c3b3dfa77f6f01ebfd55705fb0b9a3672a725ff24a1483d SHA512 02331f9e76b5652b0464fb3e9e29320ca1d4691a9de7bc7e7e489c3eac040ecd389c201ff2875b1b6a6695c687d7eab640239728f8b66c97efea21414b215842
+EBUILD uftrace-0.11.ebuild 1411 BLAKE2B e83e729cbe60e7e3e3f9b8005694976751fd9bd96bc0e0a8c09dc7514239c05f63d1a6f66e959e8b206660b6808fd9dcbac8e6cb4e73e6f4867a6800339c1649 SHA512 0d4ce3509da9d8dd111bd316c688cb9f3cf13daa50110e59659194453ba2d069f1e3394a02dfc7aff0f68f8a634c6d680e19d086040b172731b75c5c6bd8b8b7
+EBUILD uftrace-0.12.ebuild 1412 BLAKE2B 2b13d8a8385688310ac9605dd85629e9f9c22c5568d14d3b1406dbbedb08834a0d60be6497a4289eb2fa8e2391a839583957a6efa52226f85de002c8ddaa968a SHA512 2b1a3e8ffd4ba9336d5bb2ddf8ea6da90538cc04aa00ee6a4cbeb12903e334f3e44d64ef94d15da4d6c960aaa275fe4544eae35e15d472b1bde6d37283819e4e
MISC metadata.xml 439 BLAKE2B 5164074d22c56fcba8f0677446484c392c347058c444e3f2760cc1e6d17e07406741f80a525ba99b575dca2d9347fe3b13b82fe5aa79bc734add9806695a5fe2 SHA512 d6e0f7ab729d6088748d5efe5c88910355f5ab7e70308b3b24f8cd27956b0ee21f8ff8bce18f9969694bd4677c229fe80317735de63e9a80b4dca638738dbe5d
diff --git a/dev-util/uftrace/uftrace-0.11.ebuild b/dev-util/uftrace/uftrace-0.11.ebuild
index 932d17460e98..dda417e13b4d 100644
--- a/dev-util/uftrace/uftrace-0.11.ebuild
+++ b/dev-util/uftrace/uftrace-0.11.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="capstone lua python unwind"
REQUIRED_USE="
diff --git a/dev-util/uftrace/uftrace-0.10-r1.ebuild b/dev-util/uftrace/uftrace-0.12.ebuild
index e29becbcca74..644fc9e3f90d 100644
--- a/dev-util/uftrace/uftrace-0.10-r1.ebuild
+++ b/dev-util/uftrace/uftrace-0.12.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
LUA_COMPAT=( luajit )
+PYTHON_COMPAT=( python3_{8..11} )
-inherit bash-completion-r1 lua-single toolchain-funcs
+inherit bash-completion-r1 lua-single python-single-r1 toolchain-funcs
DESCRIPTION="Function (graph) tracer for user-space"
HOMEPAGE="https://github.com/namhyung/uftrace"
@@ -14,9 +15,12 @@ SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
-IUSE="capstone lua"
+IUSE="capstone lua python unwind"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+REQUIRED_USE="
+ lua? ( ${LUA_REQUIRED_USE} )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
RESTRICT="test"
@@ -25,6 +29,8 @@ RDEPEND="
virtual/libelf:=
capstone? ( dev-libs/capstone:0= )
lua? ( ${LUA_DEPS} )
+ python? ( ${PYTHON_DEPS} )
+ unwind? ( sys-libs/libunwind:= )
"
DEPEND="${RDEPEND}"
@@ -37,7 +43,8 @@ src_configure() {
local myconf=(
--libdir="${EPREFIX}/usr/$(get_libdir)/uftrace"
$(use_with capstone)
- --without-libpython
+ $(use_with unwind libunwind)
+ $(use_with python libpython)
)
if use lua && use lua_single_target_luajit; then
myconf+=(