commit:     8540e4435accab3ee168d02e6858886349521144
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat May  1 20:44:48 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat May  1 21:21:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8540e443

media-gfx/graphite2: python3_9, fix BDEPENDs

Closes: https://bugs.gentoo.org/787473
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/graphite2/graphite2-1.3.14.ebuild | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/media-gfx/graphite2/graphite2-1.3.14.ebuild 
b/media-gfx/graphite2/graphite2-1.3.14.ebuild
index 7293cfb0a10..3f1a3d4d8c2 100644
--- a/media-gfx/graphite2/graphite2-1.3.14.ebuild
+++ b/media-gfx/graphite2/graphite2-1.3.14.ebuild
@@ -3,10 +3,9 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
-
 CMAKE_ECLASS=cmake
 GENTOO_DEPEND_ON_PERL="no"
+PYTHON_COMPAT=( python3_{7,8,9} )
 inherit perl-module python-any-r1 cmake-multilib
 
 DESCRIPTION="Library providing rendering capabilities for complex non-Roman 
writing systems"
@@ -19,17 +18,19 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 
~riscv ~s390 sparc x
 IUSE="perl test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="
-       perl? ( dev-lang/perl:= )
+RDEPEND="perl? ( dev-lang/perl:= )"
+DEPEND="
+       perl? ( dev-lang/perl )
+       test? ( dev-libs/glib:2 )
 "
-DEPEND="${RDEPEND}
+BDEPEND="
        perl? (
+               dev-lang/perl
                dev-perl/Locale-Maketext-Lexicon
                dev-perl/Module-Build
        )
        test? (
                ${PYTHON_DEPS}
-               dev-libs/glib:2
                $(python_gen_any_dep 'dev-python/fonttools[${PYTHON_USEDEP}]')
                media-libs/fontconfig
                perl? ( virtual/perl-Test-Simple )

Reply via email to