View previous topic :: View next topic |
Author |
Message |
DeIM Guru
Joined: 11 Apr 2006 Posts: 429
|
Posted: Fri Oct 23, 2015 6:39 am Post subject: [solved] Howto adjust PYTHON_SINGLE_TARGET per-package |
|
|
I've problem while upgrade world with new installed asciidoc:
Code: | !!! The ebuild selected to satisfy "asciidoc" has unmet requirements.
- app-text/asciidoc-8.6.9-r1::gentoo USE="-examples -graphviz -highlight -test -vim-syntax" ABI_X86="64" PYTHON_SINGLE_TARGET="-pypy -python2_7" PYTHON_TARGETS="python2_7 -pypy"
The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( python_single_target_pypy python_single_target_python2_7 )
The above constraints are a subset of the following complete expression:
exactly-one-of ( python_single_target_pypy python_single_target_python2_7 ) python_single_target_pypy? ( python_targets_pypy ) python_single_target_python2_7? ( python_targets_python2_7 ) |
Since I've set PYTHON_SINGLE_TARGET="python3_4", it can't proceed
In https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS is that PYTHON_SINGLE_TARGET can be set per-package, but I didn't find how. Thanks for help.
Last edited by DeIM on Fri Oct 23, 2015 1:19 pm; edited 1 time in total |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Fri Oct 23, 2015 7:14 am Post subject: |
|
|
To just add the value python2_7, use /etc/portage/package.use wrote: | app-text/asciidoc PYTHON_SINGLE_TARGET: python2_7 | which is just another syntax for /etc/portage/package.use wrote: | app-text/asciidoc python_single_target_python2_7 | However, if you want to replace the old value, use /etc/portage/package.use wrote: | app-text/asciidoc PYTHON_SINGLE_TARGET: -* python2_7 | In your particular case, all is the same, because python_single_target_python3_4 is ignored by the ebuild. However, for packages which support both, the situation might be different. |
|
Back to top |
|
|
sumerman n00b
Joined: 26 Jun 2005 Posts: 51 Location: New York, NY
|
Posted: Sat Mar 17, 2018 6:26 pm Post subject: |
|
|
Thank you for the nice little tutorial on the REQUIRED_USE syntax. It did the trick with installing asciidoc! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|