| Summary: | sys-process/iotop-0.6 version bump | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michael Weber (RETIRED) <xmw> |
| Component: | New packages | Assignee: | Justin Lecher (RETIRED) <jlec> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Michael Weber (RETIRED)
2013-06-16 21:45:50 UTC
unfortunately, the setup.py fails with python3, dict.itervalues no longer exists and it should be safe to just call values instead. python2 dict.values is no iterator, but that shouldn't hurt.
--- iotop-0.5-r1.ebuild 2013-02-06 21:22:11.000000000 +0100
+++ iotop-0.6.ebuild 2013-06-16 23:35:46.203349062 +0200
@@ -25,9 +25,14 @@
linux-info_pkg_setup
}
+src_prepare() {
+ sed -e 's:itervalues:values:' \
+ -i setup.py || die
+}
+
python_install() {
if [[ ${EPYTHON} == *python3* ]]; then
- 2to3 -w -n "${BUILD_DIR}"/scripts/${PN} || die
+ 2to3 -w -n --list-fixes "${BUILD_DIR}"/scripts/${PN} || die
fi
distutils-r1_python_install --install-scripts="${EPREFIX}"/usr/sbin
}
+*iotop-0.6 (18 Jun 2013) + + 18 Jun 2013; Justin Lecher <jlec@gentoo.org> +iotop-0.6.ebuild, + +files/iotop-0.6-setup.py3.patch: + Version Bump, #473528 + |