dev-util/uftrace: Address QA reports
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 2 Aug 2019 13:51:37 +0000 (13:51 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 2 Aug 2019 13:53:13 +0000 (13:53 +0000)
And drop the older ebuild, it is ~ as well.

Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
dev-util/uftrace/Manifest
dev-util/uftrace/metadata.xml
dev-util/uftrace/uftrace-0.9.1.ebuild [deleted file]
dev-util/uftrace/uftrace-0.9.3.ebuild

index 03add0ce8e44ba8ae8c2a5ed03338bdb4eb811c0..9db5f04e0e10870f9c8332ebe032d6bb217469e4 100644 (file)
@@ -1,2 +1 @@
-DIST uftrace-0.9.1.tar.gz 967083 BLAKE2B 2e381f5cda92fadd963fc7e0ccebaec6b6796acd75d8436b66f9b6ee4257141f704471832e224712bb65e7570fe4997f953458455b2b0f257ead7f4093140313 SHA512 a906664f883e08f19063229e7dd43aebc9115b08829d866fb887dd281a0375a5684332920c3f7307a4d62baa14e982cb7535bdfe454ab3ad5d8ec7fb5792402e
 DIST uftrace-0.9.3.tar.gz 1003880 BLAKE2B ae5e1c44412055ea59e85378877cf3c18f33e0c6ae3a904253b03587dae2c7cce4350f1480f499e645375b1b2502a51a8b8d44e9b7ff1ee588be7180c12b63f3 SHA512 671486a05da8c44400169f21426505266db89e94ef9483370dff8f465b673f70fba994174458f3033991ea0640225e13c639418380a6a580d24c302d42327382
index 83b016d15402d6b17d57edb639ab0dea80d138a2..0162146a7ba727997e058b38d11c4d8906e5b3fb 100644 (file)
@@ -6,6 +6,6 @@
                <remote-id type="github">namhyung/uftrace</remote-id>
        </upstream>
        <use>
-        <flag name="capstone">Use capstone to provide dynamic tracing without recompilation</flag>
-    </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.1.ebuild
deleted file mode 100644 (file)
index 60c4d37..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RESTRICT="test"
-
-RDEPEND="
-       dev-lang/python:2.7
-       sys-devel/gcc:*[cxx]
-       sys-libs/ncurses:=
-       virtual/libelf:=
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-       default
-       sed -i -e "s/ARCH/MYARCH/g" -e "/ldconfig/d" Makefile || die
-}
index 4ba0892400704dc6cef84951ca58b2254ce4266c..9520ab25fb8c939673e3da48ceecefc01af64793 100644 (file)
@@ -3,6 +3,10 @@
 
 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"
@@ -15,7 +19,7 @@ IUSE="capstone"
 RESTRICT="test"
 
 RDEPEND="
-       dev-lang/python:2.7
+       ${PYTHON_DEPS}
        sys-devel/gcc:*[cxx]
        sys-libs/ncurses:=
        virtual/libelf:=