LINUX.ORG.RU

Непонятки с python в gentoo

 , ,


0

1

Прописал в /etc/make.conf:

PYTHON_TARGETS="python3_3 python2_7"
PYTHON_SINGLE_TARGET="python3_3"
USE_PYTHON="3.3"

Однако, «emerge -av kde-base/kde-meta» все равно не работает:

!!! The ebuild selected to satisfy ">=kde-base/kate-4.10.3:4[aqua=]" has unmet requirements.
- kde-base/kate-4.10.3::gentoo USE="handbook plasma python (-aqua) -debug" PYTHON_SINGLE_TARGET="-python2_7 -python3_1 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 -python3_1 -python3_2 -python3_3"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( exactly-one-of ( python_single_target_python2_7 python_single_target_python3_1 python_single_target_python3_2 python_single_target_python3_3 ) )

Почему это не работает ?

Подробности: http://pastebin.com/46Pqn2KW



Последнее исправление: AoD314 (всего исправлений: 2)
Ответ на: комментарий от x0r
[I] dev-lang/python
     Available versions:  
        (2.5)   2.5.4-r4 2.5.4-r5
        (2.6)   2.6.8 2.6.8-r1
        (2.7)   2.7.3-r2 2.7.3-r3 ~2.7.4 (~)2.7.5
        (3.1)   3.1.5 3.1.5-r1
        (3.2)   3.2.3 ~3.2.3-r1 3.2.3-r2 ~3.2.4 ~3.2.5
        (3.3)   (**)3.3.1 (~)3.3.2
        {{-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml}}
     Installed versions:  2.7.5(2.7)(11:52:16 PM 06/09/2013)(doc gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build -elibc_uclibc -examples -hardened -tk -wininst) 3.2.3-r2(3.2)(12:46:02 AM 06/10/2013)(doc gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -build -elibc_uclibc -examples -hardened -tk -wininst) 3.3.2(3.3)(11:53:57 PM 06/09/2013)(doc gdbm ipv6 ncurses readline sqlite ssl threads xml -build -elibc_uclibc -examples -hardened -tk -wininst)
     Homepage:            http://www.python.org/
     Description:         An interpreted, interactive, object-oriented programming language
AoD314
() автор топика
Ответ на: комментарий от AoD314

чета оно стремное:

╓─[santa@yukio ~ $]
║
╙─> emerge -pv kde-base/kate

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] kde-base/kate-4.10.4:4  USE="handbook plasma (-aqua) -debug -python" PYTHON_SINGLE_TARGET="python2_7 -python3_1 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 -python3_1 -python3_3" 2,461 kB

Total: 1 package (1 new), Size of downloads: 2,461 kB
╓─[santa@yukio ~ $]
║
╙─> eix dev-lang/python
[I] dev-lang/python
     Available versions:  
     (2.5)  2.5.4-r4 2.5.4-r5
     (2.6)  2.6.8 2.6.8-r1
     (2.7)  2.7.3-r2 2.7.3-r3 (~)2.7.4 (~)2.7.5
     (3.1)  3.1.5 3.1.5-r1
     (3.2)  3.2.3 (~)3.2.3-r1 3.2.3-r2 (~)3.2.4 (~)3.2.5
     (3.3)  **3.3.1 (~)3.3.2
       {-berkdb build doc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"}
     Installed versions:  2.7.5(2.7)(14:48:27 09.06.13)(gdbm ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build -doc -examples -hardened -ipv6 -tk -wininst ELIBC="-uclibc") 3.2.5(3.2)(14:58:15 09.06.13)(gdbm ncurses readline sqlite ssl threads wide-unicode xml -build -doc -examples -hardened -ipv6 -tk -wininst ELIBC="-uclibc") 3.3.2(3.3)(14:46:16 09.06.13)(gdbm ncurses readline sqlite ssl threads xml -build -doc -examples -hardened -ipv6 -tk -wininst ELIBC="-uclibc")
     Homepage:            http://www.python.org/
     Description:         An interpreted, interactive, object-oriented programming language

могу разве что посоветовать вписать python3_2 вместо 3_3

x0r ★★★★★
()
Ответ на: комментарий от x0r

помогло, хотя непонятно почему с 3.3 не работает. в use флагах 3.3 есть ...

AoD314
() автор топика

Что в eselect python liist?
Так уж необходим 3.3?

$ grep PYTHON /etc/make.conf                                                                                                    ~ 
PYTHON_ABIS="2.7 3.2"
PYTHON_TARGETS="python2_7"
$ USE="qt4" emerge -p kate                                                                                                      ~ 

These are the packages that would be merged, in order:

Calculating dependencies             ... done! 
...
[ebuild  N     ] kde-base/kate-4.10.4:4  USE="(-aqua) -debug -handbook -plasma -python" PYTHON_SINGLE_TARGET="python2_7 -python3_1 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 -python3_1 -python3_2 -python3_3" 0 kB
...

HTaeD ★★★★
()
Ответ на: комментарий от funeralismatic

/etc/portage/make.conf же!

«же» только на новых стейджах (на момент оглашения новости), а так работают оба.

science ★★☆
()

The following REQUIRED_USE flag constraints are unsatisfied:
PYTHON_SINGLE_TARGET="-python2_7 -python3_1 -python3_2 -python3_3"
python? ( exactly-one-of ( python_single_target_python2_7 python_single_target_python3_1 python_single_target_python3_2 python_single_target_python3_3 ) )
exactly-one-of

смотрим /usr/portage/profiles/eapi-5-files/use.stable.mask

# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Apr 2013)
# Remove when Python 3.3 is unmasked and ready for stabilization (bug #467894)
python_targets_python3_3
python_single_target_python3_3

То есть - в стабильных версиях пакетов флаги для python 3.3 замаскированы. Размаскируй их в /etc/portage/profile/use.mask или в package.use.mask - и будет тебе щастье

Pinkbyte ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.