Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/htop/
Date: Mon, 07 Mar 2016 15:10:02
Message-Id: 1457363390.a6d85bda0a3bca26e79b49bf82f4462c784e6e01.polynomial-c@gentoo
1 commit: a6d85bda0a3bca26e79b49bf82f4462c784e6e01
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 7 15:09:02 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 7 15:09:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d85bda
7
8 sys-process/htop: Removed old.
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-process/htop/htop-2.0.0.ebuild | 75 --------------------------------------
14 1 file changed, 75 deletions(-)
15
16 diff --git a/sys-process/htop/htop-2.0.0.ebuild b/sys-process/htop/htop-2.0.0.ebuild
17 deleted file mode 100644
18 index cef5dc5..0000000
19 --- a/sys-process/htop/htop-2.0.0.ebuild
20 +++ /dev/null
21 @@ -1,75 +0,0 @@
22 -# Copyright 1999-2016 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=6
27 -
28 -inherit autotools linux-info
29 -
30 -DESCRIPTION="interactive process viewer"
31 -HOMEPAGE="http://hisham.hm/htop/"
32 -SRC_URI="http://hisham.hm/htop/releases/${PV}/${P}.tar.gz"
33 -
34 -LICENSE="BSD GPL-2"
35 -SLOT="0"
36 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
37 -IUSE="kernel_FreeBSD kernel_linux openvz unicode vserver"
38 -
39 -RDEPEND="sys-libs/ncurses:0=[unicode?]"
40 -DEPEND="${RDEPEND}
41 - virtual/pkgconfig"
42 -
43 -DOCS=( ChangeLog README )
44 -
45 -CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS"
46 -
47 -PATCHES=(
48 - "${FILESDIR}/${PN}-2.0.0-tinfo.patch"
49 -)
50 -
51 -pkg_setup() {
52 - if use kernel_FreeBSD && ! [[ -f ${ROOT}/compat/linux/proc/stat && -f ${ROOT}/compat/linux/proc/meminfo ]]; then
53 - echo
54 - eerror "htop requires linprocfs mounted at /compat/linux/proc to build and function."
55 - eerror "To mount it, type:"
56 - [ -d /compat/linux/proc ] || eerror "mkdir -p /compat/linux/proc"
57 - eerror "mount -t linprocfs none /compat/linux/proc"
58 - eerror "Alternatively, place this information into /etc/fstab"
59 - echo
60 - die "htop needs /compat/linux/proc mounted"
61 - fi
62 -
63 - if ! has_version sys-process/lsof; then
64 - ewarn "To use lsof features in htop(what processes are accessing"
65 - ewarn "what files), you must have sys-process/lsof installed."
66 - fi
67 -
68 - linux-info_pkg_setup
69 -}
70 -
71 -src_prepare() {
72 - rm missing || die
73 -
74 - default
75 - eautoreconf
76 -}
77 -
78 -src_configure() {
79 - [[ $CBUILD != $CHOST ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971
80 -
81 - local myeconfargs=()
82 -
83 - use kernel_FreeBSD && myeconfargs+=( --with-proc=/compat/linux/proc )
84 -
85 - myeconfargs+=(
86 - # fails to build against recent hwloc versions
87 - --disable-hwloc
88 - --enable-native-affinity
89 - --enable-taskstats
90 - $(use_enable kernel_linux cgroup)
91 - $(use_enable openvz)
92 - $(use_enable unicode)
93 - $(use_enable vserver)
94 - )
95 - econf ${myeconfargs[@]}
96 -}