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: Tue, 30 Nov 2021 07:10:45
Message-Id: 1638256228.f2d81485b027cee8c9f58aab7295758a6fcae64d.polynomial-c@gentoo
1 commit: f2d81485b027cee8c9f58aab7295758a6fcae64d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 30 07:10:28 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 30 07:10:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d81485
7
8 sys-process/htop: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 sys-process/htop/Manifest | 1 -
13 sys-process/htop/htop-3.1.0-r1.ebuild | 99 -----------------------------------
14 2 files changed, 100 deletions(-)
15
16 diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest
17 index 88d827d67ae3..48494e948695 100644
18 --- a/sys-process/htop/Manifest
19 +++ b/sys-process/htop/Manifest
20 @@ -1,4 +1,3 @@
21 DIST htop-3.0.5.tar.gz 297931 BLAKE2B a6e62f99ef349809d11bb14b4d515036601aa457507b34a96354607f136cc4e0d3d40a715f1576c70833db051d989fa55142b4f8bba0f5f432ea3676364d9575 SHA512 7dae83ceff6b3f30e69c30c9559dbb3bf69281df006c6a26e4e2c49dd5a147e05ed7bafeeac8ec5bedc8ba670470100cc128209a92654858f98df09a9394594f
22 -DIST htop-3.1.0.tar.gz 378838 BLAKE2B c5b09f714c27879c0f3fe0d7233d1eacb979ceb76007ee0c2720bce5d08f84d0e6b9e3747c57fca11f2354909285365749d57d597911641fdb6dd834bec23166 SHA512 bb4422591a61978d1cc5b423413820c14cc571c4660087387949f1071609da38e42be2be8485863cb19b0b957d1fdeb5b2df46212d9ddd3891871b1c9d276c6e
23 DIST htop-3.1.1.tar.gz 381277 BLAKE2B 4383991e8821e4c27a4f5cb002b198fa7915465c03d9fb83324fa2df732d8553be4061c2c559b92de934b0c214bb4445b068795050e1bee2afb803d7f32b9a67 SHA512 5e4ec9b5fdf4583c8a345dcc2fe9395737e3a6e8dd8e6547800b959be084b9d57ae30bf891f79a25f6bf99ec0b6eb7eaba8bc851072c5a550de70df4178dc07d
24 DIST htop-3.1.2.tar.gz 387656 BLAKE2B a9682b6f3475fbae6ab7fd57330271190ec32267c5a8f2aac845cd18c566eaa9beed642c1e67fbc9606f120df600c27ed2ef0480a29ef304875a99898c1f10e4 SHA512 7e08b820042e480ca61137ff24b468804b49b95c1bbedaf82029dd79d29c2c541c5211284ec075692203788bbb868a9d4326ffd24c68419e22eec13ae5012700
25
26 diff --git a/sys-process/htop/htop-3.1.0-r1.ebuild b/sys-process/htop/htop-3.1.0-r1.ebuild
27 deleted file mode 100644
28 index 937e09730eba..000000000000
29 --- a/sys-process/htop/htop-3.1.0-r1.ebuild
30 +++ /dev/null
31 @@ -1,99 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{7..9} )
38 -
39 -inherit autotools linux-info python-any-r1 xdg-utils
40 -
41 -DESCRIPTION="interactive process viewer"
42 -HOMEPAGE="https://htop.dev/ https://github.com/htop-dev/htop"
43 -SRC_URI="https://github.com/htop-dev/${PN}/archive/${PV/_}.tar.gz -> ${P}.tar.gz"
44 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
45 -
46 -LICENSE="BSD GPL-2"
47 -SLOT="0"
48 -IUSE="caps debug delayacct hwloc kernel_FreeBSD kernel_linux lm-sensors openvz unicode vserver"
49 -
50 -BDEPEND="virtual/pkgconfig"
51 -RDEPEND="
52 - sys-libs/ncurses:=[unicode(+)?]
53 - hwloc? ( sys-apps/hwloc:= )
54 - kernel_linux? (
55 - caps? ( sys-libs/libcap )
56 - delayacct? ( dev-libs/libnl:3 )
57 - lm-sensors? ( sys-apps/lm-sensors )
58 - )
59 -"
60 -DEPEND="${RDEPEND}
61 - ${PYTHON_DEPS}"
62 -
63 -DOCS=( ChangeLog README )
64 -
65 -CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS"
66 -
67 -S="${WORKDIR}/${P/_}"
68 -
69 -pkg_setup() {
70 - if ! has_version sys-process/lsof; then
71 - ewarn "To use lsof features in htop (what processes are accessing"
72 - ewarn "what files), you must have sys-process/lsof installed."
73 - fi
74 -
75 - python-any-r1_pkg_setup
76 - linux-info_pkg_setup
77 -}
78 -
79 -src_prepare() {
80 - default
81 -
82 - eautoreconf
83 -}
84 -
85 -src_configure() {
86 - [[ ${CBUILD} != ${CHOST} ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971
87 -
88 - local myeconfargs=(
89 - --enable-unicode
90 - $(use_enable debug)
91 - $(use_enable hwloc)
92 - $(use_enable !hwloc affinity)
93 - $(use_enable openvz)
94 - $(use_enable unicode)
95 - $(use_enable vserver)
96 - )
97 -
98 - if use kernel_linux ; then
99 - myeconfargs+=(
100 - $(use_enable caps capabilities)
101 - $(use_enable delayacct)
102 - $(use_enable lm-sensors sensors)
103 - )
104 - else
105 - if use kernel_Darwin ; then
106 - # Upstream default to checking but --enable-affinity
107 - # overrides this. Simplest to just disable on Darwin
108 - # given it works on BSD anyway.
109 - myeconfargs+=( --disable-affinity )
110 - fi
111 -
112 - myeconfargs+=(
113 - --disable-capabilities
114 - --disable-delayacct
115 - --disable-sensors
116 - )
117 - fi
118 -
119 - econf ${myeconfargs[@]}
120 -}
121 -
122 -pkg_postinst() {
123 - xdg_desktop_database_update
124 - xdg_icon_cache_update
125 -}
126 -
127 -pkg_postrm() {
128 - xdg_desktop_database_update
129 - xdg_icon_cache_update
130 -}