diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-10 23:44:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-10 23:44:42 +0100 |
commit | f356af92b88d56b78588e81310493d4f5a2f6d18 (patch) | |
tree | 0326fb33173ae3d096527af28f85685515533fbb /dev-perl | |
parent | 560358ad7081e6bb2a4e097d4c442b0bab626163 (diff) |
gentoo auto-resync : 10:05:2023 - 23:44:41
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Config-General/Config-General-2.630.0-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-perl/Config-General/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/Manifest.gz | bin | 282892 -> 282896 bytes | |||
-rw-r--r-- | dev-perl/Net-DNS/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/Net-DNS/Net-DNS-1.380.0.ebuild | 67 | ||||
-rw-r--r-- | dev-perl/PerlIO-eol/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/PerlIO-eol/PerlIO-eol-0.180.0.ebuild | 28 | ||||
-rw-r--r-- | dev-perl/XML-Generator/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/XML-Generator/XML-Generator-1.130.0.ebuild | 19 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/XML-LibXML-2.20.800.ebuild | 79 |
11 files changed, 204 insertions, 3 deletions
diff --git a/dev-perl/Config-General/Config-General-2.630.0-r1.ebuild b/dev-perl/Config-General/Config-General-2.630.0-r1.ebuild index b0be4b982338..3019a4cc6771 100644 --- a/dev-perl/Config-General/Config-General-2.630.0-r1.ebuild +++ b/dev-perl/Config-General/Config-General-2.630.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ inherit perl-module DESCRIPTION="Config file parser module" LICENSE="Artistic" SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" virtual/perl-File-Spec diff --git a/dev-perl/Config-General/Manifest b/dev-perl/Config-General/Manifest index 2e8cb69f69a0..649682c2cd37 100644 --- a/dev-perl/Config-General/Manifest +++ b/dev-perl/Config-General/Manifest @@ -1,3 +1,3 @@ DIST Config-General-2.63.tar.gz 64700 BLAKE2B 71217b5ffc163932804f329edc95204389964a7aa3e84cb6c1854c7559fbc4b8940bd6cc61c149a04f2db38d7c094017e98eadf48ec81b7b0f9f54b4a70615f6 SHA512 ba9fdbf992049936ea288a90d8f8360821fc96f8d42df0298888b25543d2ac43e2958c5f7a8bbbae7cad1e2151ea00528756a3bc0cfbe408e5ee82bf309615f3 -EBUILD Config-General-2.630.0-r1.ebuild 531 BLAKE2B 0fb6922a1f76a5298e4de129e801e08df461a16e297d98b4d8c1c64c042bebe4f772a7cb981bc106258651bf454c65a21d43694c87912bc4d3db301dafcc8217 SHA512 58432df3e143b3e6fb482abafdcbf0b349a9bd568505627778ffe461d70cbd82f38b86643b2c44972a9ee1cbecee8454d70f0c4cbc872a57cbd1b0bedb997e73 +EBUILD Config-General-2.630.0-r1.ebuild 544 BLAKE2B fcd0cbc4d0460d51ad593bddddfccae636dead6f05f1b9c13e75bcf4ff3256d80ea3f57e060aa93fccb9b4e7a07d6bc42edf46b8820ff6eb95bebe06ca4f9946 SHA512 5161f5136c56b1905344f2b2293447205d4a0936cff05ccd4d24eb7d5838da315ef7c77df79c8bc6965371eb57daa3c05111c5185c1d3b1076de5998269d00d8 MISC metadata.xml 549 BLAKE2B 2cffdf7472125211475fcaafb95f6359d2b0d553ab6c2c7a3977fc7abef579b70b215fc801607813b3dc3171b9ed96d0e3dfa4c2a45cb0c354b90c2e0df997a3 SHA512 0cc6e3177c4f26cadd75392e4bebd9a63080d47160f7e847979e79dbaa09f62898e245c7496f768a6c461d1d033ff7b849d979155ae3d39380751918e4c08565 diff --git a/dev-perl/Manifest.gz b/dev-perl/Manifest.gz Binary files differindex 65b570c93ba7..095258991594 100644 --- a/dev-perl/Manifest.gz +++ b/dev-perl/Manifest.gz diff --git a/dev-perl/Net-DNS/Manifest b/dev-perl/Net-DNS/Manifest index 4855070e3897..376f4d8970bf 100644 --- a/dev-perl/Net-DNS/Manifest +++ b/dev-perl/Net-DNS/Manifest @@ -1,5 +1,7 @@ DIST Net-DNS-1.34.tar.gz 260260 BLAKE2B 1a2d9aa15757efb25e0b70ceb7e07f446be33c1e4e30ebc343cbc44489ead69c3e7e958a68fb52963f409579bbc50f2c198b38d92c6624edbcab05aac2d1e60b SHA512 890b5e7b574a546337571a8c7f5836650a7de41301ce2386d973041f0f1da0bd40c69cfc3625fccd01685502017b42d23cd75e95f40a1ffd7bcc796385899032 DIST Net-DNS-1.37.tar.gz 263815 BLAKE2B c55ac20becb5b218aa8bfeeb315b828173bb28ea1d518646369ab3ee122b028cf1b181f2a17ed44a4a7917fe959c445f90524ad6d446e927c28de633c78949ec SHA512 fd6e04f7f9628a2937ac360d6939f8d6ce866f6b536e78af5879f1a97fc3b38dc3c12223739323613791c603b701f2419635865ccb03c7cacdd5e85559536559 +DIST Net-DNS-1.38.tar.gz 255362 BLAKE2B 3fb26811bc03976e3731c40d5bf91828cd490abaefcbc0142994d0019af674910481ab476203cbfdc630d5d29ca4f35477ac0ad64b7da4d57f18679f7923ecc4 SHA512 08e4f6f5c7d9b75fa8358ed637d7c2e85578bf05cf7a7b6d8fccd1da4069524c42eda4f1fcafedd0e063a756a7ec27b87887c53911203ad2d4c772b40132984f EBUILD Net-DNS-1.340.0.ebuild 1827 BLAKE2B b5912d88efd86305cf6eb060740b59e6c02d732a3bd4a24511aaf01709a701404a5b7b01d31f979731f75551202d5850798b279a8d870aaa6a98f08c3b96fc5d SHA512 183729a05cc9eb0ba5407114e451288495e1900291b32aa4a6becd0674ac22479ab08c769c8d66fdb18b5272b30e6828a329748715db8716db3252e40ce7c3df EBUILD Net-DNS-1.370.0.ebuild 1835 BLAKE2B be5902523bb869604a5cbce52c4515bca805f55ed78647fedf0f1651ea93e4da1de8a6894da4c66903ef464b91426e011ae4f4715c2afd34ea94d1f597805407 SHA512 ab2e8108095d57391bdef8e95c7f53538cd180c1a4962003eb2f38f3390048f9eb05807cd744c60ede728aa50e21d1ec20c5327b1a97e5d4be399bf196b4ac60 +EBUILD Net-DNS-1.380.0.ebuild 1835 BLAKE2B 88033a9f0c95309e343d8d9a1e145c71c76d703336a2e242a23e5584b251375979dc9332ac108c8fcdc2e91d7d756de2e8220313b80bf0ea5ebd7de68be41ba9 SHA512 6d881a2749f579fe5a36c11315bb6bf0f4ff0b144cbc054933e3f68c33efffc5066c6c57cb67f453b5d8119f231f31eca00be9e5331aa041ed605e571062efa9 MISC metadata.xml 6048 BLAKE2B 41fcc0d5530e9a54377cefb819ea40566d35d332b352f31f34536160c6af626dcdd1620845246b7862bbf9a23a721e43ad1f83f7c1358018dea85387b7767230 SHA512 809b491d424e658f55cde66db7ec74b0c5df1b4c9f8a060d9c46fb1af9bc20ce58527bc3f92d16127f46521b3229ef39dd3989bee62da4dcc08d4a1742adbefe diff --git a/dev-perl/Net-DNS/Net-DNS-1.380.0.ebuild b/dev-perl/Net-DNS/Net-DNS-1.380.0.ebuild new file mode 100644 index 000000000000..21b08f742069 --- /dev/null +++ b/dev-perl/Net-DNS/Net-DNS-1.380.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=NLNETLABS +DIST_VERSION=1.38 +DIST_EXAMPLES=( "contrib" "demo" ) +inherit toolchain-funcs perl-module + +DESCRIPTION="Perl Interface to the Domain Name System" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="minimal" + +PDEPEND=" + !minimal? ( >=dev-perl/Net-DNS-SEC-1.30.0 ) +" +RDEPEND=" + >=virtual/perl-Carp-1.100.0 + >=dev-perl/Digest-HMAC-1.30.0 + >=virtual/perl-Digest-MD5-2.130.0 + >=virtual/perl-Digest-SHA-5.230.0 + >=virtual/perl-Encode-2.260.0 + >=virtual/perl-Exporter-5.630.0 + >=virtual/perl-File-Spec-3.290.0 + >=virtual/perl-MIME-Base64-2.130.0 + >=virtual/perl-Scalar-List-Utils-1.190.0 + >=virtual/perl-Time-Local-1.190.0 + >=virtual/perl-IO-Socket-IP-0.380.0 + >=virtual/perl-IO-1.140.0 + !minimal? ( + >=dev-perl/Digest-BubbleBabble-0.20.0 + >=dev-perl/Net-LibIDN2-1.0.0 + ) +" +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.480.0 + >=virtual/perl-Getopt-Long-2.430.0 + test? ( + >=virtual/perl-Test-Simple-0.520.0 + ) +" + +src_prepare() { + perl-module_src_prepare + mydoc="TODO" + # --IPv6-tests requires that you have external IPv6 connectivity + # as it connects to 2001:7b8:206:1:0:1234:be21:e31e + if ! use test || ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then + myconf="${myconf} --no-online-tests --no-IPv6-tests" + fi +} + +src_compile() { + emake FULL_AR="$(tc-getAR)" OTHERLDFLAGS="${LDFLAGS}" +} + +src_test() { + perl_rm_files t/00-pod.t + if ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then + elog "Network tests disabled without to DIST_TEST_OVERIDE=~network" + fi + perl-module_src_test +} diff --git a/dev-perl/PerlIO-eol/Manifest b/dev-perl/PerlIO-eol/Manifest index 819541ec897b..679e71d86e01 100644 --- a/dev-perl/PerlIO-eol/Manifest +++ b/dev-perl/PerlIO-eol/Manifest @@ -1,3 +1,5 @@ DIST PerlIO-eol-0.17.tar.gz 16555 BLAKE2B f50752314d303fa5d5e42f10cc54a4e239242a1a613c3ea64a1453420c7f34e8d1f17d2bcaadb29db1d46fd54d800764479a6af98116f623e11825a393c3d512 SHA512 3be4ced8c173fd0dee327264b6ddd586231fb8c8acc3ee92dce4332db97f8a9649f2af07690e9083767f17c7ac21282a300aef89234048e43851be2b61db9da3 +DIST PerlIO-eol-0.18.tar.gz 16718 BLAKE2B 3e4a6706d7c00efa0776c1472e2dd7a14cd22ac60dbc6489626be22d9cb461ae8f2bce523fc535608ce5fbeb83d67862494a278934bd28d3f2483b4f363cb2e8 SHA512 4c5d639b6afbc8de52b31df2473d37e8d5338e9fe8b9245015f79ac8acf92955917e15ac77f8a757b1f8552bedccde26eb589cf558b533b0e12cf30e9c83fe45 EBUILD PerlIO-eol-0.170.0.ebuild 555 BLAKE2B 7ad4434ce9cbc32d9928327dded646d6c8c3f81f2e5eb74dc66d63acb6088971c6a9bea91cd3162aa8f6d4e8db71f20d51bd69c3257d91d381190fa8a6d2f4a9 SHA512 9a7f2b909193a9f425bc657ca449a24e6f5447959f77a9b9c29455f811eb4c76e78aa7d7b05d6619d0d8ef770f06c65394f8d523e9822dbb02c8c66f7a2944ab +EBUILD PerlIO-eol-0.180.0.ebuild 558 BLAKE2B 1e5bf697d08e3e62eecf3c2f2b747ebcd27a43d524319386af5c641e4dcdf4ed846e13648cc5f569cbaea23bb6fa6ae62e7467be8e24736ed6670fdf3f9cc047 SHA512 706ac42234b49bf9c40c561b5b80e386495c9d8265a048cf34a2e6ba5d37f49f5cce3349a137ca411e5d26d8877fd1142b00e40977fef39e51b38c63b9251316 MISC metadata.xml 393 BLAKE2B ed276ef7864093f62f746f1ab7888ef11f77d94d5dd40728546261a5e9b040be14b946921fdc2da9f687c7be0d139d9833fef87772eba635853f9209ef42d8d6 SHA512 5289aef6591bc990568df1912f762e16788742cdb17145b5bcc1f05fd3c538a8d3d65b507ecf98172ce1f5bd18da69e5654061e94ede2c3af5b0d4f51add4878 diff --git a/dev-perl/PerlIO-eol/PerlIO-eol-0.180.0.ebuild b/dev-perl/PerlIO-eol/PerlIO-eol-0.180.0.ebuild new file mode 100644 index 000000000000..34e447461fe3 --- /dev/null +++ b/dev-perl/PerlIO-eol/PerlIO-eol-0.180.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=SHLOMIF +DIST_VERSION=0.18 +inherit perl-module + +DESCRIPTION="PerlIO layer for normalizing line endings" + +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" + +RDEPEND=" + virtual/perl-Exporter + virtual/perl-XSLoader +" + +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + virtual/perl-File-Spec + virtual/perl-File-Temp + virtual/perl-IO + virtual/perl-Test-Simple + ) +" diff --git a/dev-perl/XML-Generator/Manifest b/dev-perl/XML-Generator/Manifest index 4c25052e7f3c..0dd30eb0d54c 100644 --- a/dev-perl/XML-Generator/Manifest +++ b/dev-perl/XML-Generator/Manifest @@ -1,3 +1,5 @@ DIST XML-Generator-1.04.tar.gz 24606 BLAKE2B 0cf29f7a146a376b17f50fc7164d90fa606ccbb7bfe24e70f12ae88bf0fd692e4a60c7185cd08827f535f5623d7e33364cee099b51de2ba112592f8c09faa044 SHA512 ce151a2d575c9ec4cd42819a5d573bfc4985e0daa3945c310d61bb0a6376e4b8a0dcef5ce89e444795d99c9751719d45981675d1418ba6d729d152187688d552 +DIST XML-Generator-1.13.tar.gz 45541 BLAKE2B 41cd92a53eb80f9c286e5784c99de93b747506933e37491fe4ffdfc11c18b8a9cd2132a7ff0d03117382665f61705ec11dfe30536a906109135d6ea9e51f3235 SHA512 ae2b09633a7d9d1bf6cc3ca8c19532585e69534f865e712969cff50d60d1e05589dfbfae6a5ecdb59ef68fbb127431744bf09b0bf91a1c86a9853c596667d248 +EBUILD XML-Generator-1.130.0.ebuild 410 BLAKE2B fa9ac98e22fb11de82f363ea148d4c0b3cc047d109a61e0eb7760e023dd8e6fd4ece330016186582bd5244ad92d5942535e53ea43ac5635c975140434ff6e9c5 SHA512 e79e047ff833c59812d70ea6791a5dcd8ca7eec6c11af590a872738ae8148d2663018d3d8cbdb61187aea44cb5d2e4bbbc40cbe2ce098b8f9ad2dcc725312cb2 EBUILD XML-Generator-1.40.0-r2.ebuild 404 BLAKE2B 5088f3e05e350d33ac0870c6922273f953e159f2d7a0d3f4104eac5ee71c40050ee38c83dff9cdf1e4f6c642f5236ee738be532acd2d0ce8165409260cb66034 SHA512 2440857ba3083a14be5c0a833ade4804624ddd15522029ecbce5b554476e60962df18882f11dc62b05b7e2531f8175815010020c0508390aa326753313ee79cf MISC metadata.xml 1015 BLAKE2B 7847e80627e03aba018402e08c43d84469d383ded716159f07182455da789778253e2ad217b40bee1332794843d762914cef33236a300c87a496ab05c8aae12c SHA512 3fd9a75677e1cac1ea4717786bc5025ed3b6fdfac535ce1a707569ad199833258a4264bcb6a5f60cd99f74aac568e41c3d9a702f6ed2c914344ade513e51c6fe diff --git a/dev-perl/XML-Generator/XML-Generator-1.130.0.ebuild b/dev-perl/XML-Generator/XML-Generator-1.130.0.ebuild new file mode 100644 index 000000000000..c3475a663cbe --- /dev/null +++ b/dev-perl/XML-Generator/XML-Generator-1.130.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=TIMLEGGE +DIST_VERSION=1.13 +inherit perl-module + +DESCRIPTION="Perl XML::Generator - A module to help in generating XML documents" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +DEPEND=" + dev-libs/expat +" +RDEPEND="${DEPEND}" +BDEPEND="${DEPEND}" diff --git a/dev-perl/XML-LibXML/Manifest b/dev-perl/XML-LibXML/Manifest index 2847626af6fd..4ebfa2187289 100644 --- a/dev-perl/XML-LibXML/Manifest +++ b/dev-perl/XML-LibXML/Manifest @@ -1,3 +1,5 @@ DIST XML-LibXML-2.0207.tar.gz 462595 BLAKE2B 9ebb4786dcd45f552ef31ba0854693e876b6f8098b577401429651e5eb55792bb623185db371d2578432c00031ce2cfb66603e08290d7cf8f74dee5fe45c143d SHA512 86bf4200c800e1295161c3217892398dbc65e107ad1a3df8ea7f237350ba67d88ad7b18ab7123e647053a8721bc13a8959ddb101fdc6de18dcaef02c0f0f5b58 +DIST XML-LibXML-2.0208.tar.gz 465763 BLAKE2B df3e1c917c4b6aec49650668dca8a9db3f83e9060ab7795495ef4b505f8970d11294c687df9805b55db4f81a5b81121b463ee6258bbe6106f63d20b6a901b5b2 SHA512 b8407359b9111b43247cc57b6e9e54c4e99402c9b7e939e49beb752be8fd1ce0e31a98e07dd5d1f7eaa7e37aae25571c38a14792f9e5a64c1533a0387c71423d EBUILD XML-LibXML-2.20.700-r2.ebuild 1916 BLAKE2B fbf5d024fd4b4d2559d86812c370f1a9d19190196ba9fa5a81203a42167eaf30ca412b323d0c3e1c662f4ad59c73c8dd6bfe7613be05aea6f952d2b0be170b73 SHA512 1d5a5b1b72f8f1bf3602d9543db5b8b4dbaa1a74e5e4ce00057e30ec6472999af940d56de157b5d6c484fb650520a3efcdd4daa07a5a8d9440ba458f8be6b932 +EBUILD XML-LibXML-2.20.800.ebuild 1924 BLAKE2B 41a7864754cdcd189b81c25a307f348677164a295b2718dc5be47549b094f9d8f9c0c954bec826c2f3a0450803639078055419b523ffec766e6f6ee8865af889 SHA512 303c0f4003bb845c94b4dcdcf2826fcd5180882861e0b8435dc6771715f6c2dcbf90d023f5c1d0aa0069271f3e5e6d2bd2154c43e0bd4e39f8b2a60bbe7ff000 MISC metadata.xml 2783 BLAKE2B 69d8723dca61cd70c875f502d74213a4b8ab6d33b89438b0f0bd11bf00d9a88c5c9d5d5d2e23af2d7c8fcdd5a0442c3ec6edccc9b3e359063519fe2d0cdea698 SHA512 8ad240f84906b05144327e68baa16be3e4866dbf7d364ed6cf0b13f1031ef7632a4628715ef84c7ada5e5864b56bf588de0ecb5b7aafb2eafe4762f234cd3be7 diff --git a/dev-perl/XML-LibXML/XML-LibXML-2.20.800.ebuild b/dev-perl/XML-LibXML/XML-LibXML-2.20.800.ebuild new file mode 100644 index 000000000000..f71e542ae1ff --- /dev/null +++ b/dev-perl/XML-LibXML/XML-LibXML-2.20.800.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=SHLOMIF +DIST_VERSION=2.0208 +DIST_EXAMPLES=("example/*") +inherit perl-module + +DESCRIPTION="Perl binding for libxml2" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="minimal" + +# >= on XML-Sax needed to avoid "miscompilation" (essentially empty install), as newer XML-Sax +# has the ROOT check fixed. Didn't happen with XML-SAX-Expat, but best to be careful. +# bug #840053 +RDEPEND=" + virtual/perl-Carp + virtual/perl-Encode + >=virtual/perl-Exporter-5.570.0 + virtual/perl-IO + virtual/perl-Scalar-List-Utils + >=dev-perl/XML-NamespaceSupport-1.70.0 + >=dev-perl/XML-SAX-1.20.0-r1 + dev-perl/XML-SAX-Base + >=dev-libs/libxml2-2.6.21:2= + virtual/perl-parent +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + dev-perl/Alien-Build + >=dev-perl/Alien-Libxml2-0.140.0 + test? ( + !minimal? ( + dev-perl/Test-LeakTrace + ) + ) +" +DEPEND=">=dev-libs/libxml2-2.6.21:2= +" + +PERL_RM_FILES=( + "t/cpan-changes.t" "t/pod-files-presence.t" "t/pod.t" + "t/release-kwalitee.t" "t/style-trailing-space.t" + "t/11memory.t" +) + +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 [[ -z "${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 +} |