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 E81B91382C5 for ; Mon, 7 Dec 2020 13:18:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 306AFE0971; Mon, 7 Dec 2020 13:18:47 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04F94E0971 for ; Mon, 7 Dec 2020 13:18:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 99427341231 for ; Mon, 7 Dec 2020 13:18:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 485D9481 for ; Mon, 7 Dec 2020 13:18:44 +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: <1607347122.b0efddd253a0d9b1c4afded40fa8ad38c29a63f4.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.0.3.ebuild sys-process/htop/metadata.xml X-VCS-Directories: sys-process/htop/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: b0efddd253a0d9b1c4afded40fa8ad38c29a63f4 X-VCS-Branch: master Date: Mon, 7 Dec 2020 13:18:44 +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: 184d25cb-dde0-41dc-8d00-f4ed180d73e4 X-Archives-Hash: 2ab7d9706a88defa1e032aa26ca6ba40 commit: b0efddd253a0d9b1c4afded40fa8ad38c29a63f4 Author: Lars Wendler gentoo org> AuthorDate: Mon Dec 7 13:15:49 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Dec 7 13:18:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0efddd2 sys-process/htop: Bump to version 3.0.3 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> sys-process/htop/Manifest | 1 + sys-process/htop/htop-3.0.3.ebuild | 67 ++++++++++++++++++++++++++++++++++++++ sys-process/htop/metadata.xml | 1 + 3 files changed, 69 insertions(+) diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest index 07ecf183204..c6eae48c37a 100644 --- a/sys-process/htop/Manifest +++ b/sys-process/htop/Manifest @@ -1,3 +1,4 @@ DIST htop-2.2.0.tar.gz 308109 BLAKE2B 323a3bfe5032b6d59a3f751831a2af6aa7ae7e9ecceb35828812cb375d919de51f401ffe59fffdfc83a72c8dace879c5d5a0e857511c20e2126d11cdc4101b0b SHA512 ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e DIST htop-3.0.1.tar.gz 179925 BLAKE2B d722bc49d7b546aec1359a5dc838e0f6cc4b17f8d2d2c59fd7fbeaf827233f658ea819f4c69832af5cfd4f836d3d66c223a9580037cf8d6d2ae28c6a6b3499b5 SHA512 0d6a1b0839a94f01429c85a459b0c6439051d1b6e69bf77c6b3bb31c81902a3127936ab9adc5bf1807f4b3d7b10a177a89fb9b883931f8dcf828ed06727d6945 DIST htop-3.0.2.tar.gz 176132 BLAKE2B 9abc28461d346eeac7f9741bc1ba08c898d00be013abce972be4370b9b35d92661fcb4521fa715bc779c1c9b56bc3c0eeb5375c0df8ec7585df3774ac67ca504 SHA512 5b578972e40e3229aa8b2bdc931c4c8bceaafd2a150b02e0257ab35a4fbac25852e959ecc472bd6747be57ea8734b59cc4b872a5ac829624cc80e1722c54d868 +DIST htop-3.0.3.tar.gz 292925 BLAKE2B 7e227188e3954c0cb273b4bc95eaf2e11237daca3d929d4674dcdfc987c4af26e4b08da2b0f184d6d3e06952dee5704e468bf4b7bc03dfa0b6602c058beac495 SHA512 208eff95a0df3ab38f5e3175bb34420c8833ad630c797825a3fb188a1111476a3287aa5f53511c83da90d181afc3e6ea246ea01fbc3227466c5c928a5d70badc diff --git a/sys-process/htop/htop-3.0.3.ebuild b/sys-process/htop/htop-3.0.3.ebuild new file mode 100644 index 00000000000..3e1ec19ce2e --- /dev/null +++ b/sys-process/htop/htop-3.0.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit autotools linux-info python-any-r1 + +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 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +LICENSE="BSD GPL-2" +SLOT="0" +IUSE="debug hwloc kernel_FreeBSD kernel_linux lm-sensors openvz unicode vserver" + +BDEPEND="virtual/pkgconfig" +RDEPEND="sys-libs/ncurses:0=[unicode?] + hwloc? ( sys-apps/hwloc ) + 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=( + $(use_enable debug) + $(use_enable hwloc) + $(use_enable openvz) + $(use_enable unicode) + $(use_enable vserver) + $(use_with lm-sensors sensors) + ) + + if ! use hwloc && use kernel_linux ; then + myeconfargs+=( --enable-linux-affinity ) + else + myeconfargs+=( --disable-linux-affinity ) + fi + + econf ${myeconfargs[@]} +} diff --git a/sys-process/htop/metadata.xml b/sys-process/htop/metadata.xml index 0101007448c..ffeb3655365 100644 --- a/sys-process/htop/metadata.xml +++ b/sys-process/htop/metadata.xml @@ -10,6 +10,7 @@ Lars Wendler + Use sys-apps/hwloc for CPU affinity support Enable openvz support Enable vserver support