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 41E141382C5 for ; Mon, 15 Feb 2021 07:11:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83E99E0A76; Mon, 15 Feb 2021 07:11:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 42121E0A76 for ; Mon, 15 Feb 2021 07:11:15 +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 B77E5340CD7 for ; Mon, 15 Feb 2021 07:11:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37ADA4C8 for ; Mon, 15 Feb 2021 07:11:12 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1613310660.834e0a223c772563a7cf3fd6cc1d099cac047ae4.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-fs/btrfs-heatmap/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-fs/btrfs-heatmap/Manifest sys-fs/btrfs-heatmap/btrfs-heatmap-9.ebuild sys-fs/btrfs-heatmap/metadata.xml X-VCS-Directories: sys-fs/btrfs-heatmap/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 834e0a223c772563a7cf3fd6cc1d099cac047ae4 X-VCS-Branch: master Date: Mon, 15 Feb 2021 07:11: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: 3b9aff98-6780-468c-8d13-c581150db0ea X-Archives-Hash: b6584e8765289b0baead2ecc5706ad5e commit: 834e0a223c772563a7cf3fd6cc1d099cac047ae4 Author: Steven Davies steev me uk> AuthorDate: Sun Feb 14 13:49:54 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Sun Feb 14 13:51:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=834e0a22 sys-fs/btrfs-heatmap: New ebuild Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Steven Davies steev.me.uk> sys-fs/btrfs-heatmap/Manifest | 1 + sys-fs/btrfs-heatmap/btrfs-heatmap-9.ebuild | 32 +++++++++++++++++++++++++++++ sys-fs/btrfs-heatmap/metadata.xml | 9 ++++++++ 3 files changed, 42 insertions(+) diff --git a/sys-fs/btrfs-heatmap/Manifest b/sys-fs/btrfs-heatmap/Manifest new file mode 100644 index 00000000..fd6110f1 --- /dev/null +++ b/sys-fs/btrfs-heatmap/Manifest @@ -0,0 +1 @@ +DIST btrfs-heatmap-9.tar.gz 661880 BLAKE2B e714dc3d54c099d74aa811a36b25097b32a11de20a92a92e1e9380ad3019cb9d260a1061aee222e800fd0a0718d80810810674d67cd202a7ac3a3abc4b181658 SHA512 0eeeed72ee26d469577c7c8671c2bf93d258537aa606d7d92e866982136b0ebc151419fbd59bc062062f9537651b4a93afc06d1c804a611a89253fc592f3c996 diff --git a/sys-fs/btrfs-heatmap/btrfs-heatmap-9.ebuild b/sys-fs/btrfs-heatmap/btrfs-heatmap-9.ebuild new file mode 100644 index 00000000..5448620f --- /dev/null +++ b/sys-fs/btrfs-heatmap/btrfs-heatmap-9.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit python-single-r1 + +DESCRIPTION="Python 3 script to draw a heatmap of a btrfs filesystem" +HOMEPAGE="https://github.com/knorrie/btrfs-heatmap" +SRC_URI="https://github.com/knorrie/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + >=sys-fs/python-btrfs-12[${PYTHON_MULTI_USEDEP}] + ')" +DEPEND="${RDEPEND}" + +src_install() +{ + dobin btrfs-heatmap + python_fix_shebang "${ED}"/usr/bin/btrfs-heatmap + default +} diff --git a/sys-fs/btrfs-heatmap/metadata.xml b/sys-fs/btrfs-heatmap/metadata.xml new file mode 100644 index 00000000..23cb676b --- /dev/null +++ b/sys-fs/btrfs-heatmap/metadata.xml @@ -0,0 +1,9 @@ + + + + + gentoo-guru@steev.me.uk + Steven Davies + + The btrfs heatmap script creates a visualization of how a btrfs filesystem is using the underlying disk space of the block devices that are added to it. +