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 D524F138334 for ; Wed, 18 Dec 2019 20:50:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C127E088B; Wed, 18 Dec 2019 20:50:21 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 00A0EE088B for ; Wed, 18 Dec 2019 20:50:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 17B2F34D9FA for ; Wed, 18 Dec 2019 20:50:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D529778 for ; Wed, 18 Dec 2019 20:50:12 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1576702187.5cccdc8ee5c2332f858788c12ede75fa9938b22e.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/smem/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/smem/Manifest dev-util/smem/smem-1.5.ebuild X-VCS-Directories: dev-util/smem/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 5cccdc8ee5c2332f858788c12ede75fa9938b22e X-VCS-Branch: master Date: Wed, 18 Dec 2019 20:50:12 +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: 6e5f6a6c-0f0d-4fa5-b1a0-e4c61c015e85 X-Archives-Hash: e5007fef665e40dd08b6eb7d7641faf4 commit: 5cccdc8ee5c2332f858788c12ede75fa9938b22e Author: Conrad Kostecki gentoo org> AuthorDate: Wed Dec 18 20:49:34 2019 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Dec 18 20:49:47 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cccdc8e dev-util/smem: bump to version 1.5 Latest version adds python3 support. Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Conrad Kostecki gentoo.org> dev-util/smem/Manifest | 1 + dev-util/smem/smem-1.5.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-util/smem/Manifest b/dev-util/smem/Manifest index 03ce62ba268..9c63ceb5a57 100644 --- a/dev-util/smem/Manifest +++ b/dev-util/smem/Manifest @@ -1 +1,2 @@ DIST smem-1.4.tar.gz 15733 BLAKE2B 6c097c10625050a9d3a133144054d9791bb0ae2f498335398889b58c243b4477d38aefd8203a0483016647a6a72b4bcf4b9af23c241c0e87494614ca6cdaeade SHA512 2740b9ebede8e742e3d01f5f2e7a77a4d3ed04bee78585a904d07c299ea5a77be135dd5b6626abfdebcf2742b9004035443d3faeca04ca9b59c603f74708af9b +DIST smem-1.5.tar.xz 16016 BLAKE2B 7c7e5dae6b047780275eebe2b9ec4fb06b27b8d3d2e70fc50c07136c18d414d7f51203760ab3bca98906c6566633c908dd18a7a8c390339850d80ad1ffe7f188 SHA512 8f3f5447060e6d857c3eb59ccbebbd62f18280f3993b31e55369b31ea74bc0e54109fd6d3f7088a23c48af050ff67eb738efceb0adeaff1dc7466f50efd9bc82 diff --git a/dev-util/smem/smem-1.5.ebuild b/dev-util/smem/smem-1.5.ebuild new file mode 100644 index 00000000000..d536b2ed6a3 --- /dev/null +++ b/dev-util/smem/smem-1.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) + +inherit eutils python-single-r1 toolchain-funcs + +DESCRIPTION="A tool that can give numerous reports on memory usage on Linux systems" +HOMEPAGE="https://www.selenic.com/smem/" +SRC_URI="https://dev.gentoo.org/~conikost/files/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +BDEPEND="${RDEPEND}" + +src_compile() { + "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -o smemcap smemcap.c || die +} + +src_install() { + dobin smemcap + python_doexe smem + + dodoc README.txt + doman smem.8 +} + +pkg_postinst() { + optfeature "for chart generation." dev-python/matplotlib +}