Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[solved] Howto adjust PYTHON_SINGLE_TARGET per-package

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
DeIM
Guru
Guru
User avatar
Posts: 465
Joined: Tue Apr 11, 2006 7:03 pm

[solved] Howto adjust PYTHON_SINGLE_TARGET per-package

  • Quote

Post by DeIM » Fri Oct 23, 2015 6:39 am

I've problem while upgrade world with new installed asciidoc:

Code: Select all

!!! 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:Py ... ON_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.
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Fri Oct 23, 2015 7:14 am

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.
Top
sumerman
n00b
n00b
User avatar
Posts: 51
Joined: Sun Jun 26, 2005 8:24 pm
Location: New York, NY

  • Quote

Post by sumerman » Sat Mar 17, 2018 6:26 pm

Thank you for the nice little tutorial on the REQUIRED_USE syntax. It did the trick with installing asciidoc!
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic