Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Re: How does PYTHON_COMPAT work?
Date: Tue, 19 Aug 2014 06:08:00
Message-Id: lsupj7$ssa$1@ger.gmane.org
In Reply to: Re: [gentoo-devhelp] How does PYTHON_COMPAT work? by justin
1 On 10/08/14 12:08, justin wrote:
2 > On 06/08/14 14:26, Nikos Chantziaras wrote:
3 >> I have an ebuild where:
4 >>
5 >> PYTHON_COMPAT=( python3_3 python3_4 )
6 >> inherit distutils-r1
7 >>
8 >> works just fine. Now python 3.3 doesn't work anymore for the software,
9 >> so I removed that. But this:
10 >>
11 >> PYTHON_COMPAT=( python3_4 )
12 >> # or: PYTHON_COMPAT=python3_4
13 >> inherit distutils-r1
14 >>
15 >> doesn't work. During emerge:
16 >>
17 >> Calculating dependencies \
18 >>
19 >> !!! Problem resolving dependencies for net-misc/livestreamer
20 >> ... done!
21 >>
22 >> !!! The ebuild selected to satisfy "livestreamer" has unmet requirements.
23 >> - net-misc/livestreamer-1.9.0::Local USE="" ABI_X86="64"
24 >> PYTHON_TARGETS="-python3_4"
25 >>
26 >> The following REQUIRED_USE flag constraints are unsatisfied:
27 >> python_targets_python3_4
28 >>
29 >> The above constraints are a subset of the following complete expression:
30 >> any-of ( python_targets_python3_4 )
31 >>
32 >>
33 >
34 > Hi,
35 >
36 > You have not enable python 3.4 as a python provider in your make.conf.
37 > But for the emerge you need to set at least one python ABI. Just add
38 >
39 > net-misc/livestreamer python_targets_python3_4
40 >
41 > to your package.use.
42
43 I'm not making any progress. I've added:
44
45 USE_PYTHON='3.4'
46
47 in my make.conf. I've also done "eselect python set python3.4". I still get:
48
49
50 !!! The ebuild selected to satisfy "livestreamer" has unmet requirements.
51 - net-misc/livestreamer-1.10.0::Local USE="" ABI_X86="64"
52 PYTHON_TARGETS="-python3_4"
53
54 The following REQUIRED_USE flag constraints are unsatisfied:
55 python_targets_python3_4
56
57 The above constraints are a subset of the following complete expression:
58 any-of ( python_targets_python3_4 )
59
60
61 Doesn't make any sense. So I added:
62
63 net-misc/livestreamer python_targets_python3_4
64
65 to my package.use (even though I shouldn't need to, since I've set
66 PYTHON_USE). Now the emerge begins, but fails:
67
68
69 * python3_4: running distutils-r1_run_phase distutils-r1_python_compile
70 /usr/bin/python3.4 setup.py build
71 Traceback (most recent call last):
72 File "setup.py", line 5, in <module>
73 from setuptools import setup
74 ImportError: No module named 'setuptools'

Replies

Subject Author
[gentoo-devhelp] Re: How does PYTHON_COMPAT work? Nikos Chantziaras <realnc@×××××.com>