From: Fox <halfsocialfox@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: EAPI 4-python
Date: Mon, 24 Feb 2014 16:49:56 +0100 [thread overview]
Message-ID: <530B6A24.7090409@gmail.com> (raw)
In-Reply-To: <20140224163250.28383956@falcon.eroen.eu>
[-- Attachment #1: Type: text/plain, Size: 1699 bytes --]
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?
[-- Attachment #2: Type: text/html, Size: 2290 bytes --]
next prev parent reply other threads:[~2014-02-24 15:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-24 13:30 [gentoo-user] EAPI 4-python Fox
2014-02-24 15:32 ` [gentoo-user] " eroen
2014-02-24 15:49 ` Fox [this message]
2014-02-24 17:51 ` eroen
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=530B6A24.7090409@gmail.com \
--to=halfsocialfox@gmail.com \
--cc=gentoo-user@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