I wish to emerge the setuptools package for all Python versions. emerge -va setuptools showed the following:
- Code: Select all
[ebuild N ] dev-python/python-exec-0.2 PYTHON_TARGETS="(jython2_5) (pypy1_8) (pypy1_9) (python2_5) (python2_6) (python2_7) (python3_1) (python3_2) (-python3_3)" 64 kB
[ebuild U ] dev-python/setuptools-0.6.32 [0.6.27] PYTHON_TARGETS="python2_7%* -pypy1_8% -pypy1_9% -python2_5% -python2_6% -python3_1% -python3_2% (-python3_3)" 629 kB
So i created /etc/portage/package.env which contains the following:
- Code: Select all
dev-python/setuptools python.conf
dev-python/python-exec python.conf
and /etc/portage/env/python.conf which contains:
- Code: Select all
PYTHON_TARGETS="python3_2 python2_7 python3_3"
Ran emerge again and now it shows:
- Code: Select all
[ebuild N ] dev-python/python-exec-0.2 PYTHON_TARGETS="(jython2_5) (pypy1_8) (pypy1_9) (python2_5) (python2_6) (python2_7) (python3_1) (python3_2) (-python3_3)" 64 kB
[ebuild U ] dev-python/setuptools-0.6.32 [0.6.27] PYTHON_TARGETS="python2_7%* python3_2%* -pypy1_8% -pypy1_9% -python2_5% -python2_6% -python3_1% (-python3_3)" 629 kB
Python 3.2 was enabled this time, but Python 3.3 is still disabled. It is also wrapped with brackets in contrary to the other versions. Why is that?
