diff options
Diffstat (limited to 'dev-util/uftrace')
-rw-r--r-- | dev-util/uftrace/Manifest | 6 | ||||
-rw-r--r-- | dev-util/uftrace/metadata.xml | 3 | ||||
-rw-r--r-- | dev-util/uftrace/uftrace-0.9.3.ebuild (renamed from dev-util/uftrace/uftrace-0.9.1.ebuild) | 15 |
3 files changed, 18 insertions, 6 deletions
diff --git a/dev-util/uftrace/Manifest b/dev-util/uftrace/Manifest index 1de18c36f3ac..774076513013 100644 --- a/dev-util/uftrace/Manifest +++ b/dev-util/uftrace/Manifest @@ -1,3 +1,3 @@ -DIST uftrace-0.9.1.tar.gz 967083 BLAKE2B 2e381f5cda92fadd963fc7e0ccebaec6b6796acd75d8436b66f9b6ee4257141f704471832e224712bb65e7570fe4997f953458455b2b0f257ead7f4093140313 SHA512 a906664f883e08f19063229e7dd43aebc9115b08829d866fb887dd281a0375a5684332920c3f7307a4d62baa14e982cb7535bdfe454ab3ad5d8ec7fb5792402e -EBUILD uftrace-0.9.1.ebuild 569 BLAKE2B 1cf7567d53eb11bbbc78fde2486090b4a6d99c24cf8f1165887c986efd40bf948bc3dd163b372bcbdef6c8ffd7d3a75aa29fa6c5cc8cabadeb8fe00f76b2e2b1 SHA512 b7f361630c453e0cbc1282f18bb2c97e7da54ab825f1b0437f134ffb39747da82fbde61e81c79bf845142aed1a7fd72138b3bf29d488af4837841755abe7d6ea -MISC metadata.xml 248 BLAKE2B 839a984864aeb89b07996cf03470a078ae558a5b832690c25adea12868e54f82b950d52e391262da8649e40b97f400a7a45040d54365ee581743e5b61e85fa3d SHA512 047ffd8442624867a708f2a0473700fc91ddcf36aa9a0617308c7cdf956a63b8fc21e7d5a77779ca76ea6abafe89a9d8b7a1fba521f9ccb5b966ea1b5e716678 +DIST uftrace-0.9.3.tar.gz 1003880 BLAKE2B ae5e1c44412055ea59e85378877cf3c18f33e0c6ae3a904253b03587dae2c7cce4350f1480f499e645375b1b2502a51a8b8d44e9b7ff1ee588be7180c12b63f3 SHA512 671486a05da8c44400169f21426505266db89e94ef9483370dff8f465b673f70fba994174458f3033991ea0640225e13c639418380a6a580d24c302d42327382 +EBUILD uftrace-0.9.3.ebuild 712 BLAKE2B 836f16dd5694735c932701dde54e77fc8ddbff45fe0320058f4b5c9185b96b551c37f7549021d895a99ec71aef741d609972ad1565216bc5c233dfb58c2a2e51 SHA512 70b65c4cefec22afe141c3b9c70e9498a3e347a61ef5e42f321b224c72cf6bfcc5cddcac96ba6d275e7fef7324657b4a32865783e5acc517fa88d7357a584b19 +MISC metadata.xml 356 BLAKE2B cb0c4a184a36f1184494927f5cd72f945d9b7361cbf6ecde1d884197ec6b12c156566c8e61d635647637bb7924f9a3515d232cc6466b38bb463f13be769f88c4 SHA512 c9794b1bd56251df386da82b80d9d2979613f2f158cbb44fc478f8299da022193860cd7387d44f56ef5c14c747e5e276eb0f6db5864a6c78c8e689ddf5fe5643 diff --git a/dev-util/uftrace/metadata.xml b/dev-util/uftrace/metadata.xml index 9be2c3f269d6..0162146a7ba7 100644 --- a/dev-util/uftrace/metadata.xml +++ b/dev-util/uftrace/metadata.xml @@ -5,4 +5,7 @@ <upstream> <remote-id type="github">namhyung/uftrace</remote-id> </upstream> + <use> + <flag name="capstone">Use capstone to provide dynamic tracing without recompilation</flag> + </use> </pkgmetadata> diff --git a/dev-util/uftrace/uftrace-0.9.1.ebuild b/dev-util/uftrace/uftrace-0.9.3.ebuild index 60c4d3793442..9520ab25fb8c 100644 --- a/dev-util/uftrace/uftrace-0.9.1.ebuild +++ b/dev-util/uftrace/uftrace-0.9.3.ebuild @@ -1,8 +1,12 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + DESCRIPTION="Function (graph) tracer for user-space" HOMEPAGE="https://github.com/namhyung/uftrace" SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -10,15 +14,16 @@ SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" -IUSE="" +IUSE="capstone" RESTRICT="test" RDEPEND=" - dev-lang/python:2.7 + ${PYTHON_DEPS} sys-devel/gcc:*[cxx] sys-libs/ncurses:= virtual/libelf:= + capstone? ( dev-libs/capstone:0= ) " DEPEND="${RDEPEND}" @@ -26,3 +31,7 @@ src_prepare() { default sed -i -e "s/ARCH/MYARCH/g" -e "/ldconfig/d" Makefile || die } + +src_configure() { + econf $(use_with capstone) +} |