From: Nikos Chantziaras <realnc@gmail.com>
To: gentoo-devhelp@lists.gentoo.org
Subject: [gentoo-devhelp] Re: How does PYTHON_COMPAT work?
Date: Tue, 19 Aug 2014 09:07:35 +0300 [thread overview]
Message-ID: <lsupj7$ssa$1@ger.gmane.org> (raw)
In-Reply-To: <53E7368F.8070102@gentoo.org>
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'
next prev parent reply other threads:[~2014-08-19 6:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Nikos Chantziaras [this message]
2014-08-19 6:23 ` [gentoo-devhelp] " Nikos Chantziaras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lsupj7$ssa$1@ger.gmane.org' \
--to=realnc@gmail.com \
--cc=gentoo-devhelp@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox