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 15A61138E66 for ; Mon, 24 Feb 2014 15:33:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 717D1E0B35; Mon, 24 Feb 2014 15:33:04 +0000 (UTC) Received: from faith.eroen.eu (faith.eroen.eu [178.79.147.241]) by pigeon.gentoo.org (Postfix) with ESMTP id 6178BE0B19 for ; Mon, 24 Feb 2014 15:33:03 +0000 (UTC) Received: from falcon.eroen.eu (unknown [10.10.0.26]) by faith.eroen.eu (Postfix) with ESMTP id 24D282402E for ; Mon, 24 Feb 2014 15:39:06 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=falcon.eroen.eu; s=faith; t=1393256346; bh=NzqluC0+pmZSN2WEFXlJRH70olqnX2RofmUYcrOmjio=; h=Date:From:To:Subject:In-Reply-To:References; b=e8tPwLlZmUMg6huqPYq2WLtIr5DBogRkG1ewASjWT5PRLU5X5RRw5WQVZKE21rd7l hCuv7+fG6N8o7N9UJm1Zol4Eyu1vvt7r+1vTnhXf0NuNecnaRsJTJWKWVES8vDPheT 3DiChNZXjIpvx4udlb+ychZvhGjARuhg34ufL73o= Date: Mon, 24 Feb 2014 16:32:50 +0100 From: eroen To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: EAPI 4-python Message-ID: <20140224163250.28383956@falcon.eroen.eu> In-Reply-To: <530B4975.5060605@gmail.com> References: <530B4975.5060605@gmail.com> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu) 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 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/KniGSzua2tnxQOkI+UMDA/1"; protocol="application/pgp-signature" X-Archives-Salt: 7ec79d40-ad8f-4091-9159-30dc9e0deaed X-Archives-Hash: ba9eb01efb2f36d7d6c029a081065960 --Sig_/KniGSzua2tnxQOkI+UMDA/1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 24 Feb 2014 14:30:29 +0100, Fox wrote: > Hello, > I am trying to install an ebuild that used EAPI=3D4-python getting the > error: >=20 > API of python.eclass in EAPI=3D"4-python" not established >=20 > 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. >=20 > Quim >=20 >=20 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=3D\"${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. --=20 eroen --Sig_/KniGSzua2tnxQOkI+UMDA/1 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJTC2YrAAoJELSISlJWmwxL54QH/1OHAq6aOfRfw9LRIgAy65Ee bY7LVlr7q36WSkdzpEo3FK9YSkKDGEYslGWRRYJLiSBnwFj5lt3nthzAoghU25Or CEBfPr0ZJUwuVT1rVNm9k7wyISDCSuflTvjPI6u3YaMJ46FMiukUmnWbF3arx0rk HIpvqSYjjg3hM9r7+HSjCrHHqKhZztUS8I7/htsKuAjJuaMmm19EA30fbPym7p0H EWOEM7i61SwpsvAhzTVYyjPrBSax20b2K5gUNDWUacwLbODz3IMxzHh1ctosJKdf MPvzOCnsn4wcKNs5WJrAJhaYD3hwOsdZhap8lwpbLHn6pGBV175nNA17wAjxxQU= =kKac -----END PGP SIGNATURE----- --Sig_/KniGSzua2tnxQOkI+UMDA/1--