1 |
commit: f8e2351e2fc6d869593ce5f1775526ec399270bf |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 27 11:47:08 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 27 11:48:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e2351e |
7 |
|
8 |
sys-process/htop: bump to v3.0.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
sys-process/htop/Manifest | 1 + |
14 |
sys-process/htop/htop-3.0.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 61 insertions(+) |
16 |
|
17 |
diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest |
18 |
index 47f15a7d70f..9498c38b03f 100644 |
19 |
--- a/sys-process/htop/Manifest |
20 |
+++ b/sys-process/htop/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST htop-2.2.0.tar.gz 308109 BLAKE2B 323a3bfe5032b6d59a3f751831a2af6aa7ae7e9ecceb35828812cb375d919de51f401ffe59fffdfc83a72c8dace879c5d5a0e857511c20e2126d11cdc4101b0b SHA512 ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e |
23 |
+DIST htop-3.0.0.tar.gz 179371 BLAKE2B 7501d8277eb97e39f7a8e2e9191bdde97deca6f3240a3e497ce55e71b0659122223356d4ff03086f9303b82ea4de0fa4e7909baca6de063ac6b22d7b6530f9be SHA512 36dc37b416b9917005007448fe73fdd6475a3f7f8442a083923d3f5dfb706d0f1731255522a99b67cc547b239acb1c68b144f8d600e243eeba160b2a43e8339a |
24 |
DIST htop-3.0.0_beta5.tar.gz 175780 BLAKE2B f7d03485e74387c656e5a576f0a53c832bac668cee79750402335b2051a17d405392b99316f1546cc76fa83dc3bc85055ca58b928225df0e162ffdb9c1889a5f SHA512 eaa04a278257a1447cd60825083c864d3c23a4a5607447ce05356d550f42ff68a810f14bf91314b7266f9741aab8141d67d98316a31fa7806fb6b858cc804344 |
25 |
|
26 |
diff --git a/sys-process/htop/htop-3.0.0.ebuild b/sys-process/htop/htop-3.0.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..eacb7a88db2 |
29 |
--- /dev/null |
30 |
+++ b/sys-process/htop/htop-3.0.0.ebuild |
31 |
@@ -0,0 +1,60 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
38 |
+ |
39 |
+inherit autotools linux-info python-any-r1 |
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 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
45 |
+ |
46 |
+LICENSE="BSD GPL-2" |
47 |
+SLOT="0" |
48 |
+IUSE="kernel_FreeBSD kernel_linux openvz unicode vserver" |
49 |
+ |
50 |
+BDEPEND="virtual/pkgconfig" |
51 |
+RDEPEND="sys-libs/ncurses:0=[unicode?]" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ ${PYTHON_DEPS}" |
54 |
+ |
55 |
+DOCS=( ChangeLog README ) |
56 |
+ |
57 |
+CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS" |
58 |
+ |
59 |
+PATCHES=() |
60 |
+ |
61 |
+pkg_setup() { |
62 |
+ if ! has_version sys-process/lsof; then |
63 |
+ ewarn "To use lsof features in htop (what processes are accessing" |
64 |
+ ewarn "what files), you must have sys-process/lsof installed." |
65 |
+ fi |
66 |
+ |
67 |
+ python-any-r1_pkg_setup |
68 |
+ linux-info_pkg_setup |
69 |
+} |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ default |
73 |
+ |
74 |
+ eautoreconf |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ [[ $CBUILD != $CHOST ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971 |
79 |
+ |
80 |
+ local myeconfargs=( |
81 |
+ # fails to build against recent hwloc versions |
82 |
+ --disable-hwloc |
83 |
+ --enable-taskstats |
84 |
+ $(use_enable kernel_linux cgroup) |
85 |
+ $(use_enable kernel_linux linux-affinity) |
86 |
+ $(use_enable openvz) |
87 |
+ $(use_enable unicode) |
88 |
+ $(use_enable vserver) |
89 |
+ ) |
90 |
+ econf ${myeconfargs[@]} |
91 |
+} |