View previous topic :: View next topic |
Author |
Message |
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1249
|
Posted: Mon Sep 24, 2018 10:07 am Post subject: [Solved] How to use both python major version in ebuild? |
|
|
For example, ebuild for chromium has PYTHON_COMPAT=( python2_7 ). I want to add PYTHON_COMPAT=( python3_7 ) to have PYTHON_COMPAT=( python2_7 python3_7 ).
Is it possible?
Last edited by Perfect Gentleman on Tue Sep 25, 2018 11:17 am; edited 1 time in total |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Mon Sep 24, 2018 10:36 am Post subject: |
|
|
move from python-any-r1 to python-r1 eclass.
Code: | # setup python2
python_setup -2
# execute code with py2
...
# setup python3
python_setup -3
# execute code with py3
... | well, AFAIUI _________________ hear hear |
|
Back to top |
|
|
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1249
|
Posted: Mon Sep 24, 2018 11:10 am Post subject: |
|
|
thanx, I'll try it |
|
Back to top |
|
|
|