commit:     a7169906fd57f809292cf0cc0f67b490785d89e6
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 18:27:36 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 18:27:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/dev/tamiko.git/commit/?id=a7169906

sys-fs/btrfs-heatmap: update to modern python eclass

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sys-fs/btrfs-heatmap/btrfs-heatmap-7.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-fs/btrfs-heatmap/btrfs-heatmap-7.ebuild 
b/sys-fs/btrfs-heatmap/btrfs-heatmap-7.ebuild
index 0f82cf3..11e1004 100644
--- a/sys-fs/btrfs-heatmap/btrfs-heatmap-7.ebuild
+++ b/sys-fs/btrfs-heatmap/btrfs-heatmap-7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,7 +20,8 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
        ${PYTHON_DEPS}
-       dev-python/python-btrfs[${PYTHON_USEDEP}]"
+       $(python_gen_cond_usedep \
+               dev-python/python-btrfs[${PYTHON_USEDEP}])"
 DEPEND="${RDEPEND}"
 
 src_install()

Reply via email to