Gentoo Archives: gentoo-commits

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/perl-overlay:master commit in: dev-perl/HTML-FormFu/
Date: Sat, 02 Apr 2011 12:45:30
Message-Id: 82a424b037446d7d0b23da06f1e7581d2d4ad33d.kent@gentoo
1 commit: 82a424b037446d7d0b23da06f1e7581d2d4ad33d
2 Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
3 AuthorDate: Sat Apr 2 12:31:26 2011 +0000
4 Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com>
5 CommitDate: Sat Apr 2 12:42:48 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=82a424b0
7
8 [fix] HTML-FormFu : <=0.90.0 upgrade error via pkg_pretend
9
10 (Portage version: 2.2.0_alpha29/git/Linux x86_64, signed Manifest commit with key 0A0CB301)
11
12 ---
13 dev-perl/HTML-FormFu/ChangeLog | 4 ++++
14 dev-perl/HTML-FormFu/HTML-FormFu-0.90.20.ebuild | 8 +++++++-
15 2 files changed, 11 insertions(+), 1 deletions(-)
16
17 diff --git a/dev-perl/HTML-FormFu/ChangeLog b/dev-perl/HTML-FormFu/ChangeLog
18 index 493a4a0..1fbf794 100644
19 --- a/dev-perl/HTML-FormFu/ChangeLog
20 +++ b/dev-perl/HTML-FormFu/ChangeLog
21 @@ -2,6 +2,10 @@
22 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 + 02 Apr 2011; Kent Fredric <kentfredric@×××××.com> HTML-FormFu-0.90.20.ebuild:
26 + Add fix to move the error related to upgrading to happen during pkg-pretend
27 + instead of during src_configure
28 +
29 *HTML-FormFu-0.90.20 (01 Apr 2011)
30
31 01 Apr 2011; Torsten Veller <tove@g.o> +HTML-FormFu-0.90.20.ebuild:
32
33 diff --git a/dev-perl/HTML-FormFu/HTML-FormFu-0.90.20.ebuild b/dev-perl/HTML-FormFu/HTML-FormFu-0.90.20.ebuild
34 index 7c67b4d..cc131f3 100644
35 --- a/dev-perl/HTML-FormFu/HTML-FormFu-0.90.20.ebuild
36 +++ b/dev-perl/HTML-FormFu/HTML-FormFu-0.90.20.ebuild
37 @@ -58,5 +58,11 @@ DEPEND="
38 >=virtual/perl-Test-Simple-0.92
39 )
40 "
41 -
42 +pkg_pretend() {
43 + if has_version "<=dev-perl/HTML-FormFu-0.09000"; then
44 + eerror "Sorry, in order to upgrade to HTML-FormFu 0.90.0 or greater you"
45 + eerror "need to first remove older versions."
46 + die "Installation requirements not met"
47 + fi
48 +}
49 SRC_TEST=do