mozcoreconf-v6.eclass: add still required Python 2.7 dependency
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 8 Mar 2019 20:33:03 +0000 (21:33 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 8 Mar 2019 22:49:55 +0000 (23:49 +0100)
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 <whissi@gentoo.org>
eclass/mozcoreconf-v6.eclass

index 862d632cd99d7b7a3bd20307b6e086566c395fb6..945b95c31b32d699c7ca28549be0aa6a89cd2744 100644 (file)
@@ -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