commit:     041a351fb5cf78d89047ba18bc68307e8a723074
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri May 19 18:16:55 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri May 19 18:18:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=041a351f

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 <AT> gentoo.org>

 sys-fs/btrfs-heatmap/btrfs-heatmap-9-r1.ebuild | 6 ++++--
 sys-fs/btrfs-heatmap/metadata.xml              | 3 +++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/sys-fs/btrfs-heatmap/btrfs-heatmap-9-r1.ebuild 
b/sys-fs/btrfs-heatmap/btrfs-heatmap-9-r1.ebuild
index 9bd96a27f..706b94391 100644
--- a/sys-fs/btrfs-heatmap/btrfs-heatmap-9-r1.ebuild
+++ b/sys-fs/btrfs-heatmap/btrfs-heatmap-9-r1.ebuild
@@ -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()

diff --git a/sys-fs/btrfs-heatmap/metadata.xml 
b/sys-fs/btrfs-heatmap/metadata.xml
index 81d898764..ae1724cee 100644
--- a/sys-fs/btrfs-heatmap/metadata.xml
+++ b/sys-fs/btrfs-heatmap/metadata.xml
@@ -5,5 +5,8 @@
                <email>[email protected]</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>

Reply via email to