summaryrefslogtreecommitdiffstats
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. \
4 a table of current I/O usage by processes on the system." 4 a table of current I/O usage by processes on the system."
5HOMEPAGE = "http://guichaz.free.fr/iotop/" 5HOMEPAGE = "http://guichaz.free.fr/iotop/"
6 6
7
8LICENSE = "GPLv2+" 7LICENSE = "GPLv2+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" 8LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
10 9
11SRC_URI = "http://guichaz.free.fr/iotop/files/${BP}.tar.bz2" 10PV .= "+git${SRCPV}"
12SRC_URI[md5sum] = "5ef9456b26d7694abf3101a72e1e0d1d" 11
13SRC_URI[sha256sum] = "3adea2a24eda49bbbaeb4e6ed2042355b441dbd7161e883067a02bfc8dcef75b" 12SRCREV = "1bfb3bc70febb1ffb95146b6dcd65257228099a3"
13SRC_URI = "git://repo.or.cz/iotop.git"
14
15S = "${WORKDIR}/git"
14 16
15UPSTREAM_CHECK_URI = "http://repo.or.cz/iotop.git/tags" 17UPSTREAM_CHECK_URI = "http://repo.or.cz/iotop.git/tags"
16UPSTREAM_CHECK_REGEX = "iotop-(?P<pver>\d+(\.\d+)+)" 18UPSTREAM_CHECK_REGEX = "iotop-(?P<pver>\d+(\.\d+)+)"
@@ -22,6 +24,6 @@ do_install_append() {
22 rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.py || true 24 rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.py || true
23} 25}
24 26
25RDEPENDS_${PN} = "python3-curses python3-textutils \ 27RDEPENDS_${PN} = "python3-curses \
26 python3-codecs python3-ctypes python3-pprint \ 28 python3-codecs python3-ctypes python3-pprint \
27 python3-shell python3-subprocess python3-core" 29 python3-shell python3-core"