axs         14/08/20 19:47:33

  Modified:             ChangeLog
  Added:                XML-LibXML-2.1.400-r1.ebuild
  Removed:              XML-LibXML-2.1.400.ebuild
  Log:
  bumped EAPI to 5; committed directly to stable as no other changes present 
and revbump helps stable systems to keep from dieing on perl-5.18 upgrade
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --force, signed 
Manifest commit with key 2B6559ED)

Revision  Changes    Path
1.158                dev-perl/XML-LibXML/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/XML-LibXML/ChangeLog?rev=1.158&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/XML-LibXML/ChangeLog?rev=1.158&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/XML-LibXML/ChangeLog?r1=1.157&r2=1.158

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-perl/XML-LibXML/ChangeLog,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -r1.157 -r1.158
--- ChangeLog   16 Mar 2014 12:53:19 -0000      1.157
+++ ChangeLog   20 Aug 2014 19:47:33 -0000      1.158
@@ -1,6 +1,13 @@
 # ChangeLog for dev-perl/XML-LibXML
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-LibXML/ChangeLog,v 1.157 
2014/03/16 12:53:19 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-LibXML/ChangeLog,v 1.158 
2014/08/20 19:47:33 axs Exp $
+
+*XML-LibXML-2.1.400-r1 (20 Aug 2014)
+
+  20 Aug 2014; Ian Stakenvicius (_AxS_) <a...@gentoo.org>
+  +XML-LibXML-2.1.400-r1.ebuild, -XML-LibXML-2.1.400.ebuild:
+  bumped EAPI to 5; committed directly to stable as no other changes present 
and
+  revbump helps stable systems to keep from dieing on perl-5.18 upgrade
 
   16 Mar 2014; Mikle Kolyada <zlog...@gentoo.org> XML-LibXML-2.1.400.ebuild:
   alpha stable wrt bug #495512



1.1                  dev-perl/XML-LibXML/XML-LibXML-2.1.400-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/XML-LibXML/XML-LibXML-2.1.400-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/XML-LibXML/XML-LibXML-2.1.400-r1.ebuild?rev=1.1&content-type=text/plain

Index: XML-LibXML-2.1.400-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-perl/XML-LibXML/XML-LibXML-2.1.400-r1.ebuild,v 1.1 
2014/08/20 19:47:33 axs Exp $

EAPI=5

MODULE_AUTHOR=SHLOMIF
MODULE_VERSION=2.0014
inherit perl-module

DESCRIPTION="A Perl module to parse XSL Transformational sheets using gnome's 
libXSLT"

SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="test"

RDEPEND="
        >=dev-perl/XML-SAX-0.120.0
        >=dev-libs/libxml2-2.6.21
        >=dev-perl/XML-NamespaceSupport-1.70.0
"
DEPEND="${RDEPEND}
        test? (
                dev-perl/Test-Pod
        )
"

SRC_TEST="do"

# rac can't discern any difference between the build with or without
# this, and if somebody wants to reactivate it, get it out of global
# scope.
#export PERL5LIB=`perl -e 'print map { ":$ENV{D}/$_" } @INC'`
mytargets="pure_install doc_install"

src_compile() {
        export SKIP_SAX_INSTALL=1
        perl-module_src_compile
}

pkg_postinst() {
        pkg_update_parser add XML::LibXML::SAX::Parser
        pkg_update_parser add XML::LibXML::SAX
}

pkg_postrm() {
        pkg_update_parser remove XML::LibXML::SAX::Parser
        pkg_update_parser remove XML::LibXML::SAX
}

pkg_update_parser() {
        # pkg_update_parser [add|remove] $parser_module
        local action=$1
        local parser_module=$2

        if [[ "$ROOT" = "/" ]] ; then
                einfo "Update Parser: $1 $2"
                perl -MXML::SAX -e 
"XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \
                        || ewarn "Update Parser: $1 $2 failed"
        else
                elog "To $1 $2 run:"
                elog "perl -MXML::SAX -e 
'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'"
        fi
}




Reply via email to