aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-22 10:47:25 -0800
committerKhem Raj <raj.khem@gmail.com>2020-01-22 11:10:25 -0800
commite7c7e2f457e936e94f69c9c4daa96d91272bd16e (patch)
treeadbf65736a096670c1bab68863fbd7e26d3a8d6a
parent5b82e30cc5f07c9fd2345d9031d517ac7b1eab75 (diff)
downloadmeta-openembedded-e7c7e2f457e936e94f69c9c4daa96d91272bd16e.tar.gz
iotop: Switch to using git src_uri
Gets python3 support Remove python2 specific modules which are absent in py3 Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/iotop/iotop_0.6.bb14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta-oe/recipes-extended/iotop/iotop_0.6.bb b/meta-oe/recipes-extended/iotop/iotop_0.6.bb
index 68cc352249..3a597218db 100644
--- a/meta-oe/recipes-extended/iotop/iotop_0.6.bb
+++ b/meta-oe/recipes-extended/iotop/iotop_0.6.bb
@@ -4,13 +4,15 @@ DESCRIPTION = "iotop does for I/O usage what top(1) does for CPU usage. \
a table of current I/O usage by processes on the system."
HOMEPAGE = "http://guichaz.free.fr/iotop/"
-
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
-SRC_URI = "http://guichaz.free.fr/iotop/files/${BP}.tar.bz2"
-SRC_URI[md5sum] = "5ef9456b26d7694abf3101a72e1e0d1d"
-SRC_URI[sha256sum] = "3adea2a24eda49bbbaeb4e6ed2042355b441dbd7161e883067a02bfc8dcef75b"
+PV .= "+git${SRCPV}"
+
+SRCREV = "1bfb3bc70febb1ffb95146b6dcd65257228099a3"
+SRC_URI = "git://repo.or.cz/iotop.git"
+
+S = "${WORKDIR}/git"
UPSTREAM_CHECK_URI = "http://repo.or.cz/iotop.git/tags"
UPSTREAM_CHECK_REGEX = "iotop-(?P<pver>\d+(\.\d+)+)"
@@ -22,6 +24,6 @@ do_install_append() {
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.py || true
}
-RDEPENDS_${PN} = "python3-curses python3-textutils \
+RDEPENDS_${PN} = "python3-curses \
python3-codecs python3-ctypes python3-pprint \
- python3-shell python3-subprocess python3-core"
+ python3-shell python3-core"