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>
This commit is contained in:
Khem Raj 2020-01-22 10:47:25 -08:00
parent 5b82e30cc5
commit e7c7e2f457

View File

@ -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"