Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-perl/XML-SAX: ChangeLog XML-SAX-0.96.ebuild
Date: Sun, 24 Aug 2008 08:48:54
Message-Id: E1KXBHH-0003fG-Ex@stork.gentoo.org
1 tove 08/08/24 08:48:51
2
3 Modified: ChangeLog
4 Added: XML-SAX-0.96.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-tuxonice i686)
8
9 Revision Changes Path
10 1.62 dev-perl/XML-SAX/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/XML-SAX/ChangeLog?rev=1.62&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/XML-SAX/ChangeLog?rev=1.62&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/XML-SAX/ChangeLog?r1=1.61&r2=1.62
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v
19 retrieving revision 1.61
20 retrieving revision 1.62
21 diff -u -r1.61 -r1.62
22 --- ChangeLog 28 Mar 2008 09:08:11 -0000 1.61
23 +++ ChangeLog 24 Aug 2008 08:48:50 -0000 1.62
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-perl/XML-SAX
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.61 2008/03/28 09:08:11 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.62 2008/08/24 08:48:50 tove Exp $
29 +
30 +*XML-SAX-0.96 (24 Aug 2008)
31 +
32 + 24 Aug 2008; Torsten Veller <tove@g.o> +XML-SAX-0.96.ebuild:
33 + Version bump
34
35 28 Mar 2008; Jeroen Roovers <jer@g.o> XML-SAX-0.16.ebuild:
36 Stable for HPPA too.
37
38
39
40 1.1 dev-perl/XML-SAX/XML-SAX-0.96.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/XML-SAX/XML-SAX-0.96.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/XML-SAX/XML-SAX-0.96.ebuild?rev=1.1&content-type=text/plain
44
45 Index: XML-SAX-0.96.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/XML-SAX-0.96.ebuild,v 1.1 2008/08/24 08:48:50 tove Exp $
50
51 MODULE_AUTHOR=GRANTM
52 inherit perl-module eutils
53
54 DESCRIPTION="Perl module for using and building Perl SAX2 XML parsers, filters, and drivers"
55
56 LICENSE="|| ( Artistic GPL-2 )"
57 SLOT="0"
58 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
59 IUSE=""
60
61 DEPEND=">=dev-perl/XML-NamespaceSupport-1.04
62 >=dev-libs/libxml2-2.4.1
63 dev-lang/perl"
64
65 SRC_TEST="do"
66
67 src_unpack() {
68 local installvendorlib
69 eval $(perl '-V:installvendorlib')
70 unpack ${A}
71 cd "${S}"
72 sed -i \
73 -e 's/if (\$write_ini_ok)/if (0 \&\& $write_ini_ok)/' \
74 Makefile.PL || die
75 epatch "${FILESDIR}"/encodings.patch
76 }
77
78 pkg_postinst() {
79 perl-module_pkg_postinst
80 pkg_update_parser add XML::SAX::PurePerl
81 }
82
83 pkg_update_parser() {
84 # pkg_update_parser [add|remove] $parser_module
85 local action=$1
86 local parser_module=$2
87
88 if [[ "$ROOT" = "/" ]] ; then
89 einfo "Update Parser: $1 $2"
90 perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \
91 || ewarn "Update Parser: $1 $2 failed"
92 else
93 elog "To $1 $2 run:"
94 elog "perl -MXML::SAX -e 'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'"
95 fi
96 }