From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7270B158086 for ; Thu, 14 Oct 2021 23:22:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32D10E07EF; Thu, 14 Oct 2021 23:22:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0BD11E07EF for ; Thu, 14 Oct 2021 23:22:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E564B342E59 for ; Thu, 14 Oct 2021 23:22:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33732EC for ; Thu, 14 Oct 2021 23:22:18 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1634253687.4f2d1fa464be3df654d0ed470098c61edd2ab19a.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/htop/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/htop/Manifest sys-process/htop/htop-3.1.1.ebuild X-VCS-Directories: sys-process/htop/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 4f2d1fa464be3df654d0ed470098c61edd2ab19a X-VCS-Branch: master Date: Thu, 14 Oct 2021 23:22:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5667f873-baff-4644-87f7-168af931974c X-Archives-Hash: 70c80110553262e6fa0c47d1eef336e0 commit: 4f2d1fa464be3df654d0ed470098c61edd2ab19a Author: Lars Wendler gentoo org> AuthorDate: Thu Oct 14 23:13:59 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Oct 14 23:21:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2d1fa4 sys-process/htop: Bump to version 3.1.1 Signed-off-by: Lars Wendler gentoo.org> sys-process/htop/Manifest | 1 + sys-process/htop/htop-3.1.1.ebuild | 99 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+) diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest index 98489952d89..bb327552d13 100644 --- a/sys-process/htop/Manifest +++ b/sys-process/htop/Manifest @@ -1,2 +1,3 @@ DIST htop-3.0.5.tar.gz 297931 BLAKE2B a6e62f99ef349809d11bb14b4d515036601aa457507b34a96354607f136cc4e0d3d40a715f1576c70833db051d989fa55142b4f8bba0f5f432ea3676364d9575 SHA512 7dae83ceff6b3f30e69c30c9559dbb3bf69281df006c6a26e4e2c49dd5a147e05ed7bafeeac8ec5bedc8ba670470100cc128209a92654858f98df09a9394594f DIST htop-3.1.0.tar.gz 378838 BLAKE2B c5b09f714c27879c0f3fe0d7233d1eacb979ceb76007ee0c2720bce5d08f84d0e6b9e3747c57fca11f2354909285365749d57d597911641fdb6dd834bec23166 SHA512 bb4422591a61978d1cc5b423413820c14cc571c4660087387949f1071609da38e42be2be8485863cb19b0b957d1fdeb5b2df46212d9ddd3891871b1c9d276c6e +DIST htop-3.1.1.tar.gz 381277 BLAKE2B 4383991e8821e4c27a4f5cb002b198fa7915465c03d9fb83324fa2df732d8553be4061c2c559b92de934b0c214bb4445b068795050e1bee2afb803d7f32b9a67 SHA512 5e4ec9b5fdf4583c8a345dcc2fe9395737e3a6e8dd8e6547800b959be084b9d57ae30bf891f79a25f6bf99ec0b6eb7eaba8bc851072c5a550de70df4178dc07d diff --git a/sys-process/htop/htop-3.1.1.ebuild b/sys-process/htop/htop-3.1.1.ebuild new file mode 100644 index 00000000000..ad00e02ff84 --- /dev/null +++ b/sys-process/htop/htop-3.1.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit autotools linux-info python-any-r1 xdg-utils + +DESCRIPTION="interactive process viewer" +HOMEPAGE="https://htop.dev/ https://github.com/htop-dev/htop" +SRC_URI="https://github.com/htop-dev/${PN}/archive/${PV/_}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +LICENSE="BSD GPL-2+" +SLOT="0" +IUSE="caps debug delayacct hwloc kernel_FreeBSD kernel_linux lm-sensors openvz unicode vserver" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + sys-libs/ncurses:=[unicode(+)?] + hwloc? ( sys-apps/hwloc ) + kernel_linux? ( + caps? ( sys-libs/libcap ) + delayacct? ( dev-libs/libnl:3 ) + lm-sensors? ( sys-apps/lm-sensors ) + ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS}" + +DOCS=( ChangeLog README ) + +CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS" + +S="${WORKDIR}/${P/_}" + +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-any-r1_pkg_setup + linux-info_pkg_setup +} + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + [[ ${CBUILD} != ${CHOST} ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971 + + local myeconfargs=( + --enable-unicode + $(use_enable debug) + $(use_enable hwloc) + $(use_enable !hwloc affinity) + $(use_enable openvz) + $(use_enable unicode) + $(use_enable vserver) + ) + + if use kernel_linux ; then + myeconfargs+=( + $(use_enable caps capabilities) + $(use_enable delayacct) + $(use_enable lm-sensors sensors) + ) + else + if use kernel_Darwin ; then + # Upstream default to checking but --enable-affinity + # overrides this. Simplest to just disable on Darwin + # given it works on BSD anyway. + myeconfargs+=( --disable-affinity ) + fi + + myeconfargs+=( + --disable-capabilities + --disable-delayacct + --disable-sensors + ) + fi + + econf ${myeconfargs[@]} +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}