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, 02 May 2022 07:07:15
Message-Id: 1651475223.8e81a3a72fa3c6dc0043bbb3cdbd54ed66f13bbe.polynomial-c@gentoo
1 commit: 8e81a3a72fa3c6dc0043bbb3cdbd54ed66f13bbe
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 07:04:01 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 07:07:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e81a3a7
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 | 2 -
13 sys-process/htop/htop-3.0.5-r2.ebuild | 77 ---------------------------
14 sys-process/htop/htop-3.1.1-r1.ebuild | 99 -----------------------------------
15 3 files changed, 178 deletions(-)
16
17 diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest
18 index 1e8c23f8a542..a321ed370318 100644
19 --- a/sys-process/htop/Manifest
20 +++ b/sys-process/htop/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST htop-3.0.5.tar.gz 297931 BLAKE2B a6e62f99ef349809d11bb14b4d515036601aa457507b34a96354607f136cc4e0d3d40a715f1576c70833db051d989fa55142b4f8bba0f5f432ea3676364d9575 SHA512 7dae83ceff6b3f30e69c30c9559dbb3bf69281df006c6a26e4e2c49dd5a147e05ed7bafeeac8ec5bedc8ba670470100cc128209a92654858f98df09a9394594f
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 DIST htop-3.2.0.tar.gz 393712 BLAKE2B fff50fce1dd58d5738ca4a75a8b4078aa34e9544798c81bb18a2674823ab13a93ecec8c00d034704ecaab6a871efa2b021550dc1f0a03aa86f638c28e84f769e SHA512 174eaa7333fa60e40f67148560c53125e7aaf46a48e7f3ecfa2daa68553c94b3d076d03320afd479dcee07e739c0ff286a81b67cbc994782c33e798d3ed4605c
26
27 diff --git a/sys-process/htop/htop-3.0.5-r2.ebuild b/sys-process/htop/htop-3.0.5-r2.ebuild
28 deleted file mode 100644
29 index 6249887e7d60..000000000000
30 --- a/sys-process/htop/htop-3.0.5-r2.ebuild
31 +++ /dev/null
32 @@ -1,77 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{7..9} )
39 -
40 -inherit autotools linux-info python-any-r1 xdg-utils
41 -
42 -DESCRIPTION="interactive process viewer"
43 -HOMEPAGE="https://htop.dev/ https://github.com/htop-dev/htop"
44 -SRC_URI="https://github.com/htop-dev/${PN}/archive/${PV/_}.tar.gz -> ${P}.tar.gz"
45 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
46 -
47 -LICENSE="BSD GPL-2"
48 -SLOT="0"
49 -IUSE="debug hwloc lm-sensors openvz unicode vserver"
50 -
51 -BDEPEND="virtual/pkgconfig"
52 -RDEPEND="sys-libs/ncurses:=[unicode(+)?]
53 - hwloc? ( sys-apps/hwloc:= )
54 - lm-sensors? ( sys-apps/lm-sensors )"
55 -DEPEND="${RDEPEND}
56 - ${PYTHON_DEPS}"
57 -
58 -DOCS=( ChangeLog README )
59 -
60 -CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS"
61 -
62 -S="${WORKDIR}/${P/_}"
63 -
64 -pkg_setup() {
65 - if ! has_version sys-process/lsof; then
66 - ewarn "To use lsof features in htop (what processes are accessing"
67 - ewarn "what files), you must have sys-process/lsof installed."
68 - fi
69 -
70 - python-any-r1_pkg_setup
71 - linux-info_pkg_setup
72 -}
73 -
74 -src_prepare() {
75 - default
76 -
77 - eautoreconf
78 -}
79 -
80 -src_configure() {
81 - [[ ${CBUILD} != ${CHOST} ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971
82 -
83 - local myeconfargs=(
84 - $(use_enable debug)
85 - $(use_enable hwloc)
86 - $(use_enable openvz)
87 - $(use_enable unicode)
88 - $(use_enable vserver)
89 - $(use_with lm-sensors sensors)
90 - )
91 -
92 - if ! use hwloc && use kernel_linux ; then
93 - myeconfargs+=( --enable-linux-affinity )
94 - else
95 - myeconfargs+=( --disable-linux-affinity )
96 - fi
97 -
98 - econf ${myeconfargs[@]}
99 -}
100 -
101 -pkg_postinst() {
102 - xdg_desktop_database_update
103 - xdg_icon_cache_update
104 -}
105 -
106 -pkg_postrm() {
107 - xdg_desktop_database_update
108 - xdg_icon_cache_update
109 -}
110
111 diff --git a/sys-process/htop/htop-3.1.1-r1.ebuild b/sys-process/htop/htop-3.1.1-r1.ebuild
112 deleted file mode 100644
113 index 807d51af35fe..000000000000
114 --- a/sys-process/htop/htop-3.1.1-r1.ebuild
115 +++ /dev/null
116 @@ -1,99 +0,0 @@
117 -# Copyright 1999-2022 Gentoo Authors
118 -# Distributed under the terms of the GNU General Public License v2
119 -
120 -EAPI=8
121 -
122 -PYTHON_COMPAT=( python3_{8..10} )
123 -
124 -inherit autotools linux-info python-any-r1 xdg-utils
125 -
126 -DESCRIPTION="interactive process viewer"
127 -HOMEPAGE="https://htop.dev/ https://github.com/htop-dev/htop"
128 -SRC_URI="https://github.com/htop-dev/${PN}/archive/${PV/_}.tar.gz -> ${P}.tar.gz"
129 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
130 -
131 -LICENSE="BSD GPL-2+"
132 -SLOT="0"
133 -IUSE="caps debug delayacct hwloc lm-sensors openvz unicode vserver"
134 -
135 -BDEPEND="virtual/pkgconfig"
136 -RDEPEND="
137 - sys-libs/ncurses:=[unicode(+)?]
138 - hwloc? ( sys-apps/hwloc:= )
139 - kernel_linux? (
140 - caps? ( sys-libs/libcap )
141 - delayacct? ( dev-libs/libnl:3 )
142 - lm-sensors? ( sys-apps/lm-sensors )
143 - )
144 -"
145 -DEPEND="${RDEPEND}
146 - ${PYTHON_DEPS}"
147 -
148 -DOCS=( ChangeLog README )
149 -
150 -CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS"
151 -
152 -S="${WORKDIR}/${P/_}"
153 -
154 -pkg_setup() {
155 - if ! has_version sys-process/lsof; then
156 - ewarn "To use lsof features in htop (what processes are accessing"
157 - ewarn "what files), you must have sys-process/lsof installed."
158 - fi
159 -
160 - python-any-r1_pkg_setup
161 - linux-info_pkg_setup
162 -}
163 -
164 -src_prepare() {
165 - default
166 -
167 - eautoreconf
168 -}
169 -
170 -src_configure() {
171 - [[ ${CBUILD} != ${CHOST} ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971
172 -
173 - local myeconfargs=(
174 - --enable-unicode
175 - $(use_enable debug)
176 - $(use_enable hwloc)
177 - $(use_enable !hwloc affinity)
178 - $(use_enable openvz)
179 - $(use_enable unicode)
180 - $(use_enable vserver)
181 - )
182 -
183 - if use kernel_linux ; then
184 - myeconfargs+=(
185 - $(use_enable caps capabilities)
186 - $(use_enable delayacct)
187 - $(use_enable lm-sensors sensors)
188 - )
189 - else
190 - if use kernel_Darwin ; then
191 - # Upstream default to checking but --enable-affinity
192 - # overrides this. Simplest to just disable on Darwin
193 - # given it works on BSD anyway.
194 - myeconfargs+=( --disable-affinity )
195 - fi
196 -
197 - myeconfargs+=(
198 - --disable-capabilities
199 - --disable-delayacct
200 - --disable-sensors
201 - )
202 - fi
203 -
204 - econf ${myeconfargs[@]}
205 -}
206 -
207 -pkg_postinst() {
208 - xdg_desktop_database_update
209 - xdg_icon_cache_update
210 -}
211 -
212 -pkg_postrm() {
213 - xdg_desktop_database_update
214 - xdg_icon_cache_update
215 -}