commit:     a51d1e6bb9bd587eecc7ef81710e2e5a691a164d
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 11 08:09:50 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Apr 11 08:19:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51d1e6b

sys-process/htop: Bump to version 2.2.0

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sys-process/htop/Manifest          |  1 +
 sys-process/htop/htop-2.2.0.ebuild | 62 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest
index 7107a60affe..1660bf62cf1 100644
--- a/sys-process/htop/Manifest
+++ b/sys-process/htop/Manifest
@@ -1,3 +1,4 @@
 DIST htop-2.0.2.tar.gz 476364 BLAKE2B 
f5519977b4bd6d189cb7f379a9f9b535a4b67a575b30056a43e259ab39a69f84083d310bbefefe8408c7ca99918f1ea9ae775808b9afe9d0f78097ac6bb88dc7
 SHA512 
1c9bf71a36c56b301667aa6d03756fc757fbcb63e848d9581d10db3df6193cdeb00e55ceb6e2392794ac03ea034b04459a8fe550b3ac2318cd86263a74c78cda
 DIST htop-2.1.0.tar.gz 302938 BLAKE2B 
3e290a3dbb0bf5424780ba5dcb9de8ea478bf4cabbbde202c19eb3db7e0f8d1e108ec3ea41544ac095097c39100417c72477dab96f104a6317f4edd06d69199f
 SHA512 
203e8f4abd63334330fc673f6c9609adbeab763d80f553d8b48670091d18dd347599a9ce2dbbac374fa4a13fa904948711a441fa676f52ab1612bd2b4ee4c6eb
+DIST htop-2.2.0.tar.gz 308109 BLAKE2B 
323a3bfe5032b6d59a3f751831a2af6aa7ae7e9ecceb35828812cb375d919de51f401ffe59fffdfc83a72c8dace879c5d5a0e857511c20e2126d11cdc4101b0b
 SHA512 
ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e
 DIST htop-3.0.0_beta4.tar.gz 179849 BLAKE2B 
2990090a3b898673fd3bf985077721aed79d00ee07c8a6808b25eb84e320a9c494bd8ad7440ea142ae01bd634ab8863e2cca01c5a52bd19a7e2f4746334acce8
 SHA512 
4a9c8765ddbd366b06f23e14dc2176cd2da5346e32867c6fa9f11e57018acb6cc37f9ada044febb1b9d414e4dc5958c3c84455649e9c05f64ddf1b37c59fc05e

diff --git a/sys-process/htop/htop-2.2.0.ebuild 
b/sys-process/htop/htop-2.2.0.ebuild
new file mode 100644
index 00000000000..980d490717a
--- /dev/null
+++ b/sys-process/htop/htop-2.2.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit linux-info python-single-r1
+
+DESCRIPTION="interactive process viewer"
+HOMEPAGE="http://hisham.hm/htop/";
+SRC_URI="http://hisham.hm/htop/releases/${PV}/${P}.tar.gz";
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc 
~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="kernel_FreeBSD kernel_linux openvz unicode vserver"
+
+RDEPEND="sys-libs/ncurses:0=[unicode?]"
+DEPEND="${RDEPEND}
+       ${PYTHON_DEPS}
+       virtual/pkgconfig"
+
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+DOCS=( ChangeLog README )
+
+CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS"
+
+pkg_setup() {
+       if ! has_version sys-process/lsof; then
+               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
+       linux-info_pkg_setup
+}
+
+src_prepare() {
+       rm missing || die
+
+       default
+
+       python_fix_shebang scripts/MakeHeader.py
+}
+
+src_configure() {
+       [[ $CBUILD != $CHOST ]] && export ac_cv_file__proc_{meminfo,stat}=yes 
#328971
+
+       local myeconfargs=(
+               # fails to build against recent hwloc versions
+               --disable-hwloc
+               --enable-taskstats
+               $(use_enable kernel_linux cgroup)
+               $(use_enable kernel_linux linux-affinity)
+               $(use_enable openvz)
+               $(use_enable unicode)
+               $(use_enable vserver)
+       )
+       econf ${myeconfargs[@]}
+}

Reply via email to