From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0267B138E66 for ; Mon, 24 Feb 2014 15:49:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFF12E0B59; Mon, 24 Feb 2014 15:49:32 +0000 (UTC) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8773E0B40 for ; Mon, 24 Feb 2014 15:49:31 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id k14so4752111wgh.2 for ; Mon, 24 Feb 2014 07:49:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=DpLZxPp2c/cLNUhagPIpuP8hkKRvAC6ZlG/dYOAFv+Q=; b=D04pKQEOuy4YVcysC9hBqNaV/hCjCi/UGyn2exsGbihD/DVdgeshlbJJQG50RAwTHC V/dSt0MkhKG0Q/textA6uBtepN94DU1ydKVjqlzl3LqIMOr0qn8/NHC2CyX1oSL533y3 SGkZhyntW/LBaSeJYxTjPjIzqDmKGvHcNfyVoE89OeRkYM0jBQUqYHTfxcfvON4qfULm dC3k27C/uth8soSmt8zTbTMhgRt16rLmEK5N7Ul7DcCqXviSmT6HhbPyn2DT52IQz0NG Nz05pU3R8GCBik4euxgHLFeaptXZiw7pqagYZ33Aa9O52R7KVfLEu2dZLLOxo2VleMXV jwsw== X-Received: by 10.194.60.37 with SMTP id e5mr19233315wjr.32.1393256970409; Mon, 24 Feb 2014 07:49:30 -0800 (PST) Received: from [192.168.1.81] (26.185.204.77.rev.sfr.net. [77.204.185.26]) by mx.google.com with ESMTPSA id f1sm25982390wik.1.2014.02.24.07.49.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Feb 2014 07:49:29 -0800 (PST) Message-ID: <530B6A24.7090409@gmail.com> Date: Mon, 24 Feb 2014 16:49:56 +0100 From: Fox User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: EAPI 4-python References: <530B4975.5060605@gmail.com> <20140224163250.28383956@falcon.eroen.eu> In-Reply-To: <20140224163250.28383956@falcon.eroen.eu> Content-Type: multipart/alternative; boundary="------------020607090504080906080507" X-Archives-Salt: ea1a87e7-6bd7-437c-8b06-7bb7ea1dd3de X-Archives-Hash: 72b9e45ddae138e5d7a28d6e9dc19603 This is a multi-part message in MIME format. --------------020607090504080906080507 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 02/24/2014 04:32 PM, eroen wrote: > On Mon, 24 Feb 2014 14:30:29 +0100, Fox wrote: >> Hello, >> I am trying to install an ebuild that used EAPI=4-python getting the >> error: >> >> API of python.eclass in EAPI="4-python" not established >> >> I googled the problem but there is not much to read (or at least I >> could not find much) and what is there is old. So I wonder what is >> the problem with this and if there is a way to use it as there are >> many ebiulds (maybe only in overlays, I am not sure) that use it. >> >> Quim >> >> > Afaik the *-python eapis are almost exclusively used by Arfrever's > Progress overlay (and, by extension, funtoo). The error message you > show seems to be from python.eclass in the main gentoo tree, which does > not take un-official eapis into account. The code in question for > reference (lines 30-32): > > if ! has "${EAPI:-0}" 0 1 2 3 4 5; then > die "API of python.eclass in EAPI=\"${EAPI}\" not established" > fi > > You might be able to use the ebuild stand-alone by also copying the > relevant eclasses from whereever you got the ebuild into your local > overlay (where I presume you put the ebuild?). However, from previous > experience with the Progress overlay, you might want to use the entire > overlay though layman in stead. Due to unfortunately incompatible > python-implementation dependencies with gentoo proper it's rather an > all-or-nothing deal. > The ebuild is from the ezod overlay. I am trying to use the ROS related packages like wstool, rosdep. etc. They all seem to use this EAPI. I thought that using this overlay would be easier than using pip but apparently it's not is it? --------------020607090504080906080507 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 02/24/2014 04:32 PM, eroen wrote:
On Mon, 24 Feb 2014 14:30:29 +0100, Fox <halfsocialfox@gmail.com> wrote:
Hello,
I am trying to install an ebuild that used EAPI=4-python getting the
error:

API of python.eclass in EAPI="4-python" not established

I googled the problem but there is not much to read (or at least I
could not find much) and what is there is old. So I wonder what is
the problem with this and if there is a way to use it as there are
many ebiulds (maybe only in overlays, I am not sure) that use it.

Quim


Afaik the *-python eapis are almost exclusively used by Arfrever's
Progress overlay (and, by extension, funtoo). The error message you
show seems to be from python.eclass in the main gentoo tree, which does
not take un-official eapis into account. The code in question for
reference (lines 30-32):

    if ! has "${EAPI:-0}" 0 1 2 3 4 5; then
        die "API of python.eclass in EAPI=\"${EAPI}\" not established"
    fi

You might be able to use the ebuild stand-alone by also copying the
relevant eclasses from whereever you got the ebuild into your local
overlay (where I presume you put the ebuild?). However, from previous
experience with the Progress overlay, you might want to use the entire
overlay though layman in stead. Due to unfortunately incompatible
python-implementation dependencies with gentoo proper it's rather an
all-or-nothing deal.

The ebuild is from the ezod overlay. I am trying to use the ROS related packages like wstool, rosdep. etc. They all seem to use this EAPI. I thought that using this overlay would be easier than using pip but apparently it's not is it?




--------------020607090504080906080507--