mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-perl/XML-SAX: Remove old
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST XML-SAX-1.00.tar.gz 46808 BLAKE2B c81b42050c98d749f5c8e133733c6acc2576dd31d156c98370030c387baccfcbfafcce644152edab114062039ca1075ced38f079ab9c4876470a79549dc8caa1 SHA512 95553c9693d8a310747b4b86d4e80a58d4056b18cfc334f6979c98d0e9034a34253bfb17daecfc5bb28b1bd65e6baf52136f5135a969fadba86aa4148ea9bc1d
|
||||
DIST XML-SAX-1.02.tar.gz 47318 BLAKE2B 4f22eafa92fa5a7bce04c1a26e2977b56ef35eb02eca4679330e92aae172f55f93b9b258369c4255813366f989399b647c17072e1fce05e3b688270ed52895cc SHA512 bb30ddbbcf27803825d2f0936257e102999a197cb14bd77fa8b7a469f3a24fb7d861ef4eb03230e5581e4ed88beb8676cbb907b2cb63e9ef1a64b2c211ebdc5a
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=GRANTM
|
||||
DIST_VERSION=1.00
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl module for using and building Perl SAX2 XML parsers, filters, and drivers"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/XML-SAX-Base-1.50.0
|
||||
>=dev-perl/XML-NamespaceSupport-1.40.0
|
||||
>=dev-libs/libxml2-2.4.1
|
||||
virtual/perl-File-Temp
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
PATCHES=("${FILESDIR}/${PN}-1.00-noautoini.patch")
|
||||
|
||||
pkg_postinst() {
|
||||
pkg_update_parser add XML::SAX::PurePerl
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user