From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-devhelp+bounces-192-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 6D58C13877A
	for <garchives@archives.gentoo.org>; Tue, 19 Aug 2014 06:08:00 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B4FB1E08AE;
	Tue, 19 Aug 2014 06:07:59 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id ADD80E08AE
	for <gentoo-devhelp@lists.gentoo.org>; Tue, 19 Aug 2014 06:07:58 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id DA06834001A
	for <gentoo-devhelp@lists.gentoo.org>; Tue, 19 Aug 2014 06:07:57 +0000 (UTC)
X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org
X-Spam-Flag: NO
X-Spam-Score: -0.345
X-Spam-Level:
X-Spam-Status: No, score=-0.345 tagged_above=-999 required=5.5
	tests=[AWL=-0.177, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,
	NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7,
	RP_MATCHES_RCVD=-0.668, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]
	autolearn=no
Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1])
	by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id l4MdshHM8MsI for <gentoo-devhelp@lists.gentoo.org>;
	Tue, 19 Aug 2014 06:07:52 +0000 (UTC)
Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 23C4D33FF98
	for <gentoo-devhelp@gentoo.org>; Tue, 19 Aug 2014 06:07:51 +0000 (UTC)
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <glgd-gentoo-devhelp@m.gmane.org>)
	id 1XJcaA-0004XG-J9
	for gentoo-devhelp@gentoo.org; Tue, 19 Aug 2014 08:07:46 +0200
Received: from athedsl-354259.home.otenet.gr ([85.72.239.113])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-devhelp@gentoo.org>; Tue, 19 Aug 2014 08:07:46 +0200
Received: from realnc by athedsl-354259.home.otenet.gr with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-devhelp@gentoo.org>; Tue, 19 Aug 2014 08:07:46 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-devhelp@lists.gentoo.org
From: Nikos Chantziaras <realnc@gmail.com>
Subject: [gentoo-devhelp] Re: How does PYTHON_COMPAT work?
Date: Tue, 19 Aug 2014 09:07:35 +0300
Organization: Lucas Barks
Message-ID: <lsupj7$ssa$1@ger.gmane.org>
References: <lrt6t5$gi1$1@ger.gmane.org> <53E7368F.8070102@gentoo.org>
Precedence: bulk
List-Post: <mailto:gentoo-devhelp@lists.gentoo.org>
List-Help: <mailto:gentoo-devhelp+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-devhelp+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-devhelp+subscribe@lists.gentoo.org>
List-Id: Gentoo Development-related help <gentoo-devhelp.gentoo.org>
X-BeenThere: gentoo-devhelp@gentoo.org
X-BeenThere: gentoo-devhelp@lists.gentoo.org
Reply-To: gentoo-devhelp@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: athedsl-354259.home.otenet.gr
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
In-Reply-To: <53E7368F.8070102@gentoo.org>
X-Archives-Salt: f256daa5-13ef-4f38-95e1-908bcd4e91d3
X-Archives-Hash: a99e1234ff316e45b0ae36c4a6f52613

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'