public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: eroen <eroen@falcon.eroen.eu>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: EAPI 4-python
Date: Mon, 24 Feb 2014 16:32:50 +0100	[thread overview]
Message-ID: <20140224163250.28383956@falcon.eroen.eu> (raw)
In-Reply-To: <530B4975.5060605@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]

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.

-- 
eroen

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2014-02-24 15:33 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 ` eroen [this message]
2014-02-24 15:49   ` [gentoo-user] " Fox
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=20140224163250.28383956@falcon.eroen.eu \
    --to=eroen@falcon.eroen.eu \
    --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