commit:     ed2ace908b4d5dc23d0f3b873f6d5df867f513d5
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  8 20:33:03 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Mar  8 22:49:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed2ace90

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 <whissi <AT> gentoo.org>

 eclass/mozcoreconf-v6.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 862d632cd99..945b95c31b3 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

Reply via email to