diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-10 18:55:10 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-10 18:55:10 +0000 |
commit | 567f273bcfdb69a26f42086bd4a499deaf704243 (patch) | |
tree | d0727a868e2408a808e30a9a02eefce0d0704950 /app-portage | |
parent | stable x86, bug 340012 (diff) | |
download | gentoo-2-567f273bcfdb69a26f42086bd4a499deaf704243.tar.gz gentoo-2-567f273bcfdb69a26f42086bd4a499deaf704243.tar.bz2 gentoo-2-567f273bcfdb69a26f42086bd4a499deaf704243.zip |
Update EAPI. Don't inherit unused eclass. Call python_pkg_setup().
(Portage version: 2.2_rc91_p7/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/pfl/ChangeLog | 6 | ||||
-rw-r--r-- | app-portage/pfl/pfl-2.0.ebuild | 18 |
2 files changed, 15 insertions, 9 deletions
diff --git a/app-portage/pfl/ChangeLog b/app-portage/pfl/ChangeLog index cac5d5672498..cc5abddfb659 100644 --- a/app-portage/pfl/ChangeLog +++ b/app-portage/pfl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-portage/pfl # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/pfl/ChangeLog,v 1.14 2010/09/27 11:24:48 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/pfl/ChangeLog,v 1.15 2010/10/10 18:55:10 arfrever Exp $ + + 10 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pfl-2.0.ebuild: + Update EAPI. Don't inherit unused eclass. Call python_pkg_setup(). 27 Sep 2010; Michael Weber <xmw@gentoo.org> pfl-2.0.ebuild: Added ~arm keyword diff --git a/app-portage/pfl/pfl-2.0.ebuild b/app-portage/pfl/pfl-2.0.ebuild index 944365bbc1f3..789115412b42 100644 --- a/app-portage/pfl/pfl-2.0.ebuild +++ b/app-portage/pfl/pfl-2.0.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/pfl/pfl-2.0.ebuild,v 1.6 2010/09/27 11:24:48 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/pfl/pfl-2.0.ebuild,v 1.7 2010/10/10 18:55:10 arfrever Exp $ +EAPI="3" PYTHON_DEPEND=2 -inherit python multilib +inherit python MY_PV=20081230 @@ -26,15 +27,16 @@ RDEPEND="${DEPEND} RESTRICT="mirror" +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_unpack() { cp "${DISTDIR}/${P}" "${WORKDIR}/${PN}.py" cp "${DISTDIR}/e-file-${MY_PV}" "${WORKDIR}/e-file" } -pkg_setup() { - python_set_active_version 2 -} - src_install() { if use network-cron ; then cat >> "${T}/${PN}" <<- EOF @@ -55,7 +57,7 @@ src_install() { } pkg_postinst() { - python_mod_optimize $(python_get_sitedir)/${PN} + python_mod_optimize ${PN} if [[ ! -e "${ROOT%/}/var/lib/${PN}/pfl.info" ]]; then touch "${ROOT%/}/var/lib/${PN}/pfl.info" @@ -65,5 +67,5 @@ pkg_postinst() { } pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/${PN} + python_mod_cleanup ${PN} } |