Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Howto adjust PYTHON_SINGLE_TARGET per-package
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
DeIM
Guru
Guru


Joined: 11 Apr 2006
Posts: 429

PostPosted: Fri Oct 23, 2015 6:39 am    Post subject: [solved] Howto adjust PYTHON_SINGLE_TARGET per-package Reply with quote

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
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Fri Oct 23, 2015 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message
sumerman
n00b
n00b


Joined: 26 Jun 2005
Posts: 51
Location: New York, NY

PostPosted: Sat Mar 17, 2018 6:26 pm    Post subject: Reply with quote

Thank you for the nice little tutorial on the REQUIRED_USE syntax. It did the trick with installing asciidoc!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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