summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2021-06-01 21:43:21 -0500
committerMatthias Maier <tamiko@gentoo.org>2021-06-01 21:43:21 -0500
commit7b3a7d67ebc1f16c04710d6cee93ef90f79a786a (patch)
tree2fceb8ac7531bb7bd2ec1cee230f930af5d42259
parentsys-fs/btrfs-heatmap: add python3_9 (diff)
downloadtamiko-7b3a7d67ebc1f16c04710d6cee93ef90f79a786a.tar.gz
tamiko-7b3a7d67ebc1f16c04710d6cee93ef90f79a786a.tar.bz2
tamiko-7b3a7d67ebc1f16c04710d6cee93ef90f79a786a.zip
sys-fs/btrfs-heatmap: version bump to 9
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
-rw-r--r--sys-fs/btrfs-heatmap/Manifest1
-rw-r--r--sys-fs/btrfs-heatmap/btrfs-heatmap-9.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/sys-fs/btrfs-heatmap/Manifest b/sys-fs/btrfs-heatmap/Manifest
index 8e16490..20a3f6d 100644
--- a/sys-fs/btrfs-heatmap/Manifest
+++ b/sys-fs/btrfs-heatmap/Manifest
@@ -1 +1,2 @@
DIST btrfs-heatmap-8.tar.gz 660304 SHA256 bd8bceead5bb1ae3d15ab6dafa87c5b128dd0f71cdba284f6dffac7b27061f19 SHA512 aaf5c3765aeae18364ef68b2ff467384612073d97f8d038dd088a774d38cdf238c881f29409ecaeb2882fc4f546681293900b4cdd4e062af573d0ca846056c70 WHIRLPOOL 6ec26dec88203fae3bf4e4d654579970f586c8deb41fd8d3bd7e5afca5881777fa1bb067b8d627ec0fb7b2cc468c79972e8ca96cbf42959a8e6e7c5746926305
+DIST btrfs-heatmap-9.tar.gz 661880 SHA256 d2b03119cedbf76f63f377aa5c1711979611e7e5e2f8ad6a7c8cb837a1557127 SHA512 0eeeed72ee26d469577c7c8671c2bf93d258537aa606d7d92e866982136b0ebc151419fbd59bc062062f9537651b4a93afc06d1c804a611a89253fc592f3c996 WHIRLPOOL 592687e8ef2efdd4dfd8fad5e8ade9871d1c03619a9beffdf7d38776facda9bb14cf4d147d48f8e77193a15085a8a2be7529b7b67ff351581ac8433a3326c953
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 0000000..8e9b853
--- /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=6
+
+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="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ $(python_gen_cond_usedep \
+ dev-python/python-btrfs[${PYTHON_USEDEP}])"
+DEPEND="${RDEPEND}"
+
+src_install()
+{
+ newbin heatmap.py btrfs-heatmap
+ python_fix_shebang "${ED}"/usr/bin/btrfs-heatmap
+ default
+}