From e7c7e2f457e936e94f69c9c4daa96d91272bd16e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 22 Jan 2020 10:47:25 -0800 Subject: iotop: Switch to using git src_uri Gets python3 support Remove python2 specific modules which are absent in py3 Signed-off-by: Khem Raj --- meta-oe/recipes-extended/iotop/iotop_0.6.bb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'meta-oe') 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\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" -- cgit v1.2.3-54-g00ecf