From: Thomas Deutschmann Date: Fri, 8 Mar 2019 20:33:03 +0000 (+0100) Subject: mozcoreconf-v6.eclass: add still required Python 2.7 dependency X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ed2ace908b4d5dc23d0f3b873f6d5df867f513d5;p=gentoo.git mozcoreconf-v6.eclass: add still required Python 2.7 dependency In commit 9d973365a74e58731b62caae87d4ad521c90d947 and af9298355290622e1ab2ec5253550e6b8196722a Python 3 support was added and PYTHON_COMPAT was moved from eclass to ebuild as requested by QA. However, Python 2 dependency, which is still required, was lost. This commit will bring back Python 2 dependency. Note that we use python-any-r1_pkg_setup in moz_pkgsetup to initialize Python 3 via PYTHON_COMPAT but we will switch back to Python 2 manually using python_export later. Closes: https://bugs.gentoo.org/679582 Signed-off-by: Thomas Deutschmann --- diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass index 862d632cd99d..945b95c31b32 100644 --- a/eclass/mozcoreconf-v6.eclass +++ b/eclass/mozcoreconf-v6.eclass @@ -21,6 +21,7 @@ inherit multilib toolchain-funcs flag-o-matic python-any-r1 versionator IUSE="${IUSE} custom-cflags custom-optimization" DEPEND="virtual/pkgconfig + dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)] ${PYTHON_DEPS}" # @FUNCTION: mozconfig_annotate