* [gentoo-devhelp] How does PYTHON_COMPAT work?
@ 2014-08-06 12:26 Nikos Chantziaras
2014-08-10 9:08 ` justin
0 siblings, 1 reply; 4+ messages in thread
From: Nikos Chantziaras @ 2014-08-06 12:26 UTC (permalink / raw
To: gentoo-devhelp
I have an ebuild where:
PYTHON_COMPAT=( python3_3 python3_4 )
inherit distutils-r1
works just fine. Now python 3.3 doesn't work anymore for the software,
so I removed that. But this:
PYTHON_COMPAT=( python3_4 )
# or: PYTHON_COMPAT=python3_4
inherit distutils-r1
doesn't work. During emerge:
Calculating dependencies \
!!! Problem resolving dependencies for net-misc/livestreamer
... done!
!!! The ebuild selected to satisfy "livestreamer" has unmet requirements.
- net-misc/livestreamer-1.9.0::Local USE="" ABI_X86="64"
PYTHON_TARGETS="-python3_4"
The following REQUIRED_USE flag constraints are unsatisfied:
python_targets_python3_4
The above constraints are a subset of the following complete expression:
any-of ( python_targets_python3_4 )
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-devhelp] How does PYTHON_COMPAT work?
2014-08-06 12:26 [gentoo-devhelp] How does PYTHON_COMPAT work? Nikos Chantziaras
@ 2014-08-10 9:08 ` justin
2014-08-19 6:07 ` [gentoo-devhelp] " Nikos Chantziaras
0 siblings, 1 reply; 4+ messages in thread
From: justin @ 2014-08-10 9:08 UTC (permalink / raw
To: gentoo-devhelp
[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]
On 06/08/14 14:26, Nikos Chantziaras wrote:
> I have an ebuild where:
>
> PYTHON_COMPAT=( python3_3 python3_4 )
> inherit distutils-r1
>
> works just fine. Now python 3.3 doesn't work anymore for the software,
> so I removed that. But this:
>
> PYTHON_COMPAT=( python3_4 )
> # or: PYTHON_COMPAT=python3_4
> inherit distutils-r1
>
> doesn't work. During emerge:
>
> Calculating dependencies \
>
> !!! Problem resolving dependencies for net-misc/livestreamer
> ... done!
>
> !!! The ebuild selected to satisfy "livestreamer" has unmet requirements.
> - net-misc/livestreamer-1.9.0::Local USE="" ABI_X86="64"
> PYTHON_TARGETS="-python3_4"
>
> The following REQUIRED_USE flag constraints are unsatisfied:
> python_targets_python3_4
>
> The above constraints are a subset of the following complete expression:
> any-of ( python_targets_python3_4 )
>
>
Hi,
You have not enable python 3.4 as a python provider in your make.conf.
But for the emerge you need to set at least one python ABI. Just add
net-misc/livestreamer python_targets_python3_4
to your package.use.
Justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 959 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-devhelp] Re: How does PYTHON_COMPAT work?
2014-08-10 9:08 ` justin
@ 2014-08-19 6:07 ` Nikos Chantziaras
2014-08-19 6:23 ` Nikos Chantziaras
0 siblings, 1 reply; 4+ messages in thread
From: Nikos Chantziaras @ 2014-08-19 6:07 UTC (permalink / raw
To: gentoo-devhelp
On 10/08/14 12:08, justin wrote:
> On 06/08/14 14:26, Nikos Chantziaras wrote:
>> I have an ebuild where:
>>
>> PYTHON_COMPAT=( python3_3 python3_4 )
>> inherit distutils-r1
>>
>> works just fine. Now python 3.3 doesn't work anymore for the software,
>> so I removed that. But this:
>>
>> PYTHON_COMPAT=( python3_4 )
>> # or: PYTHON_COMPAT=python3_4
>> inherit distutils-r1
>>
>> doesn't work. During emerge:
>>
>> Calculating dependencies \
>>
>> !!! Problem resolving dependencies for net-misc/livestreamer
>> ... done!
>>
>> !!! The ebuild selected to satisfy "livestreamer" has unmet requirements.
>> - net-misc/livestreamer-1.9.0::Local USE="" ABI_X86="64"
>> PYTHON_TARGETS="-python3_4"
>>
>> The following REQUIRED_USE flag constraints are unsatisfied:
>> python_targets_python3_4
>>
>> The above constraints are a subset of the following complete expression:
>> any-of ( python_targets_python3_4 )
>>
>>
>
> Hi,
>
> You have not enable python 3.4 as a python provider in your make.conf.
> But for the emerge you need to set at least one python ABI. Just add
>
> net-misc/livestreamer python_targets_python3_4
>
> to your package.use.
I'm not making any progress. I've added:
USE_PYTHON='3.4'
in my make.conf. I've also done "eselect python set python3.4". I still get:
!!! The ebuild selected to satisfy "livestreamer" has unmet requirements.
- net-misc/livestreamer-1.10.0::Local USE="" ABI_X86="64"
PYTHON_TARGETS="-python3_4"
The following REQUIRED_USE flag constraints are unsatisfied:
python_targets_python3_4
The above constraints are a subset of the following complete expression:
any-of ( python_targets_python3_4 )
Doesn't make any sense. So I added:
net-misc/livestreamer python_targets_python3_4
to my package.use (even though I shouldn't need to, since I've set
PYTHON_USE). Now the emerge begins, but fails:
* python3_4: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.4 setup.py build
Traceback (most recent call last):
File "setup.py", line 5, in <module>
from setuptools import setup
ImportError: No module named 'setuptools'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-devhelp] Re: How does PYTHON_COMPAT work?
2014-08-19 6:07 ` [gentoo-devhelp] " Nikos Chantziaras
@ 2014-08-19 6:23 ` Nikos Chantziaras
0 siblings, 0 replies; 4+ messages in thread
From: Nikos Chantziaras @ 2014-08-19 6:23 UTC (permalink / raw
To: gentoo-devhelp
On 19/08/14 09:07, Nikos Chantziaras wrote:
> On 10/08/14 12:08, justin wrote:
>> You have not enable python 3.4 as a python provider in your make.conf.
>> But for the emerge you need to set at least one python ABI. Just add
>>
>> net-misc/livestreamer python_targets_python3_4
>>
>> to your package.use.
>
> I'm not making any progress. I've added:
>
> USE_PYTHON='3.4'
>
> in my make.conf. I've also done "eselect python set python3.4". I still
> get:
>
>
> !!! The ebuild selected to satisfy "livestreamer" has unmet requirements.
> - net-misc/livestreamer-1.10.0::Local USE="" ABI_X86="64"
> PYTHON_TARGETS="-python3_4"
OK, turns out the ebuild message was lying. USE_PYTHON is useless. I
need to set these:
http://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-19 6:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-06 12:26 [gentoo-devhelp] How does PYTHON_COMPAT work? Nikos Chantziaras
2014-08-10 9:08 ` justin
2014-08-19 6:07 ` [gentoo-devhelp] " Nikos Chantziaras
2014-08-19 6:23 ` Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox