View previous topic :: View next topic |
Author |
Message |
Fitap Guru


Joined: 13 Mar 2011 Posts: 456 Location: Rosario, Argentina
|
Posted: Tue Feb 04, 2020 12:42 am Post subject: PYTHON_TARGETS y PYTHON_SINGLE_TARGET |
|
|
Buenas, queria consultarles como tienen estas variables dentro de make.conf
Me he encnotrado con algunos paquetes que tienen dos flags a elegir por uno, ejemplo, sys-devel/clang tiene python_single_target_python2_7 y python_single_target_python3_6.
He leido la wiki, pero no me queda claro porque deberia tener tantas versiones de python cuando la ultima estable para amd64 es la python3_7.
Saludos. |
|
Back to top |
|
 |
edgar_uriel84 Guru


Joined: 21 Dec 2008 Posts: 485 Location: Tultitlan, México
|
Posted: Wed Feb 05, 2020 8:12 pm Post subject: |
|
|
Me parece que portage las maneja automáticamente, aunque puedes modificarlas para forzar el uso de versiones de python, por ejemplo, durante mucho tiempo yo usé:
Code: |
PYTHON_TARGETS="python2_7"
PYTHON_SINGLE_TARGET="python2_7"
|
Así solo usaba Python 2.7 y no tenía otros instalados. Ahora que python 2 no tiene soporte he dejado que portage lo administre, no he tenido problemas y supongo/espero que no tarde en desechar python 2. _________________ Algún día habrá una persona mejor que yo, pero esa persona no eres tú ni ese momento es ahora. |
|
Back to top |
|
 |
azaeldevel n00b

Joined: 17 Sep 2019 Posts: 37
|
Posted: Sun Mar 29, 2020 5:29 am Post subject: |
|
|
Tambien puedes asignar en package.use como sigue:
Code: |
sys-devel/clang PYTHON_TARGETS: -* python3_6 PYTHON_SINGLE_TARGET: -* python3_6
|
La cuestion es que portage puede escoger que python usar para el paquete con esta objcion le indicas a cual deve usar. |
|
Back to top |
|
 |
|