From bc165d784681b20934318f5e50386951c3ecdeb4 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Tue, 10 Dec 2019 10:49:58 -0500 Subject: media-fonts/liberation-fonts: Fix python-any-r1 usage Non-maintainer commit. The usage of python-any-r1 was incomplete. This commit fixes: * Adding python_gen_any_dep so valid USE are connected to python deps * Adding python_check_deps to validate if a dep is actually installed * sed the Makefile to use EPYTHON for consistent builds instead of user pref * Changing DEPEND to BDEPEND on EAPI7 as they are tools run by the build Closes: https://bugs.gentoo.org/698128 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Brian Evans --- .../liberation-fonts-2.00.1-r3.ebuild | 15 +++++++++++++-- .../liberation-fonts/liberation-fonts-2.00.5.ebuild | 19 +++++++++++++++---- 2 files changed, 28 insertions(+), 6 deletions(-) (limited to 'media-fonts/liberation-fonts') diff --git a/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild b/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild index 78a09b75e220..f8b2526afc60 100644 --- a/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild +++ b/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -25,10 +25,21 @@ DEPEND=" fontforge? ( ${PYTHON_DEPS} media-gfx/fontforge - dev-python/fonttools + $(python_gen_any_dep '