From 4285a86ee77e91ef17f43755f015c6a2b6cdade5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 15 Jun 2008 06:34:03 +0000 Subject: Bug #226505 - For compatibility with phase execution order in >=portage-2.1.5, call has_version inside pkg_preinst instead of pkg_postinst. (Portage version: 2.2_pre10652/cvs/Linux 2.6.25-0518-x86-64 i686) --- dev-libs/libotf/ChangeLog | 8 +++++++- dev-libs/libotf/libotf-0.9.4.ebuild | 9 +++++++-- dev-libs/libotf/libotf-0.9.5.ebuild | 9 +++++++-- dev-libs/libotf/libotf-0.9.6.ebuild | 9 +++++++-- dev-libs/libotf/libotf-0.9.7.ebuild | 9 +++++++-- 5 files changed, 35 insertions(+), 9 deletions(-) (limited to 'dev-libs/libotf') diff --git a/dev-libs/libotf/ChangeLog b/dev-libs/libotf/ChangeLog index 9a1b69959917..f9f7b3c7f3ba 100644 --- a/dev-libs/libotf/ChangeLog +++ b/dev-libs/libotf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libotf # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libotf/ChangeLog,v 1.35 2008/02/11 16:52:08 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libotf/ChangeLog,v 1.36 2008/06/15 06:34:03 zmedico Exp $ + + 15 Jun 2008; Zac Medico libotf-0.9.4.ebuild, + libotf-0.9.5.ebuild, libotf-0.9.6.ebuild, libotf-0.9.7.ebuild: + Bug #226505 - For compatibility with phase execution order in + >=portage-2.1.5, call has_version inside pkg_preinst instead of + pkg_postinst. 11 Feb 2008; Christoph Mende libotf-0.9.6.ebuild: Stable on amd64, bug #205218 diff --git a/dev-libs/libotf/libotf-0.9.4.ebuild b/dev-libs/libotf/libotf-0.9.4.ebuild index 1a1fd4437d4e..dc127a49931d 100644 --- a/dev-libs/libotf/libotf-0.9.4.ebuild +++ b/dev-libs/libotf/libotf-0.9.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libotf/libotf-0.9.4.ebuild,v 1.3 2008/02/02 22:19:32 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libotf/libotf-0.9.4.ebuild,v 1.4 2008/06/15 06:34:03 zmedico Exp $ DESCRIPTION="Library for handling OpenType fonts (OTF)" HOMEPAGE="http://www.m17n.org/libotf/" @@ -31,8 +31,13 @@ src_install() { dodoc AUTHORS INSTALL NEWS README ChangeLog } +pkg_preinst() { + has_version "<${CATEGORY}/${PN}-0.9.3" + previous_less_than_0_9_3=$? +} + pkg_postinst() { - if has_version '