sys-process/htop: Use python-any-r1 eclass
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 24 Jul 2018 08:22:51 +0000 (10:22 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 24 Jul 2018 08:23:05 +0000 (10:23 +0200)
Closes: https://bugs.gentoo.org/661946
Package-Manager: Portage-2.3.43, Repoman-2.3.10

sys-process/htop/htop-3.0.0_beta4.ebuild

index e2ada9cf173ebfc63ed93dc1cb56c25e8f13bbd1..fff66cbf7257957b4889fb66ebb82ae3ca9b9271 100644 (file)
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
 
-inherit autotools linux-info python-single-r1
+inherit autotools linux-info python-any-r1
 
 DESCRIPTION="interactive process viewer"
 HOMEPAGE="https://hisham.hm/htop/"
@@ -39,11 +39,11 @@ PATCHES=(
 
 pkg_setup() {
        if ! has_version sys-process/lsof; then
-               ewarn "To use lsof features in htop(what processes are accessing"
+               ewarn "To use lsof features in htop (what processes are accessing"
                ewarn "what files), you must have sys-process/lsof installed."
        fi
 
-       python-single-r1_pkg_setup
+       python-any-r1_pkg_setup
        linux-info_pkg_setup
 }