sys-fs/btrfs-heatmap: fix RDEPEND

Add python_gen_cond_dep so correct python3_10 dependency is pulled in.

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2023-05-19 21:16:55 +03:00
parent 59512a3bbb
commit 041a351fb5
2 changed files with 7 additions and 2 deletions

View File

@@ -19,8 +19,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
>=sys-fs/python-btrfs-12
"
$(python_gen_cond_dep '
>=sys-fs/python-btrfs-12[${PYTHON_USEDEP}]
')
"
DEPEND="${RDEPEND}"
src_install()

View File

@@ -5,5 +5,8 @@
<email>gentoo-guru@steev.me.uk</email>
<name>Steven Davies</name>
</maintainer>
<upstream>
<remote-id type="github">knorrie/btrfs-heatmap</remote-id>
</upstream>
<longdescription lang="en">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>