sys-fs/btrfs-heatmap: New ebuild

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Steven Davies <gentoo-guru@steev.me.uk>
This commit is contained in:
Steven Davies
2021-02-14 13:49:54 +00:00
parent a696d45b19
commit 834e0a223c
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST btrfs-heatmap-9.tar.gz 661880 BLAKE2B e714dc3d54c099d74aa811a36b25097b32a11de20a92a92e1e9380ad3019cb9d260a1061aee222e800fd0a0718d80810810674d67cd202a7ac3a3abc4b181658 SHA512 0eeeed72ee26d469577c7c8671c2bf93d258537aa606d7d92e866982136b0ebc151419fbd59bc062062f9537651b4a93afc06d1c804a611a89253fc592f3c996

View File

@@ -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
}

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>gentoo-guru@steev.me.uk</email>
<name>Steven Davies</name>
</maintainer>
<longdescription>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.</longdescription>
</pkgmetadata>