diff options
author | 2015-07-17 18:57:51 +0000 | |
---|---|---|
committer | 2015-07-17 18:57:51 +0000 | |
commit | ec22a542b05e3b6dbf35605b1f4a16993431fae3 (patch) | |
tree | ae422d0a225340fe5f1d38e94c7b08acc3107c42 /dev-perl | |
parent | fixed my b0rked changelog entry on my last commit (diff) | |
download | historical-ec22a542b05e3b6dbf35605b1f4a16993431fae3.tar.gz historical-ec22a542b05e3b6dbf35605b1f4a16993431fae3.tar.bz2 historical-ec22a542b05e3b6dbf35605b1f4a16993431fae3.zip |
Version bump, bug 555206
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0x84AD142F
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Exception-Base/ChangeLog | 9 | ||||
-rw-r--r-- | dev-perl/Exception-Base/Exception-Base-0.250.0-r2.ebuild | 34 | ||||
-rw-r--r-- | dev-perl/Exception-Base/Manifest | 34 | ||||
-rw-r--r-- | dev-perl/Exception-Base/files/Exception-Base-0.250.0-sprintf.patch | 52 |
4 files changed, 111 insertions, 18 deletions
diff --git a/dev-perl/Exception-Base/ChangeLog b/dev-perl/Exception-Base/ChangeLog index 40108cde115d..f16c753ba46d 100644 --- a/dev-perl/Exception-Base/ChangeLog +++ b/dev-perl/Exception-Base/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-perl/Exception-Base # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Exception-Base/ChangeLog,v 1.13 2015/06/13 21:49:28 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Exception-Base/ChangeLog,v 1.14 2015/07/17 18:57:41 dilfridge Exp $ + +*Exception-Base-0.250.0-r2 (17 Jul 2015) + + 17 Jul 2015; Andreas K. Huettel <dilfridge@gentoo.org> + +Exception-Base-0.250.0-r2.ebuild, + +files/Exception-Base-0.250.0-sprintf.patch: + Version bump, bug 555206 13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> Exception-Base-0.250-r1.ebuild: diff --git a/dev-perl/Exception-Base/Exception-Base-0.250.0-r2.ebuild b/dev-perl/Exception-Base/Exception-Base-0.250.0-r2.ebuild new file mode 100644 index 000000000000..92cdcb705058 --- /dev/null +++ b/dev-perl/Exception-Base/Exception-Base-0.250.0-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Exception-Base/Exception-Base-0.250.0-r2.ebuild,v 1.1 2015/07/17 18:57:41 dilfridge Exp $ + +EAPI=5 + +MODULE_AUTHOR=DEXTER +MODULE_VERSION=0.25 +inherit perl-module + +DESCRIPTION="Error handling with exception class" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-perl/Module-Build + test? ( >=dev-perl/Test-Unit-Lite-0.120.0 ) +" + +SRC_TEST="do parallel" + +PATCHES=( + "${FILESDIR}/${P}-sprintf.patch" +) + +src_install(){ + perl-module_src_install + docompress -x usr/share/doc/${PF}/examples + insinto usr/share/doc/${PF}/ + doins -r examples/ +} diff --git a/dev-perl/Exception-Base/Manifest b/dev-perl/Exception-Base/Manifest index d00f3143ff4f..a82d198e9b98 100644 --- a/dev-perl/Exception-Base/Manifest +++ b/dev-perl/Exception-Base/Manifest @@ -1,26 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX Exception-Base-0.250.0-sprintf.patch 2200 SHA256 0d367d7845a006017a6b3413067928849e1c318f7604193fbf0bd03964ea24f5 SHA512 1f2d8089e24f4c0507d880f62bb32173bb5df920e5eadd66102b96c562ff9ce86081c34d23a7e53ad6c8006973b6675d54bf60a47c81d1ffe3b3da49f07ab9f1 WHIRLPOOL e03e87127a6d08b178c37867309fc14b161fef85634d7930501c52736dad2ea8b5dbdf0737b60fa0cff1071ea39e381ae33c753376d5721fea5935d38c1f6209 DIST Exception-Base-0.25.tar.gz 59534 SHA256 1c4ec484ec6154b4b3c477d1ce69f666289fe9b4c2f2318cf742ad2e0cd251e8 SHA512 4bc416a8a4096b2149a205dc3129aabaa49bfa9f29746b31a09cbade01e15d53ed82649b75d69c508568a7fb12726e319360aba128102fdc1e0a7ba583473e65 WHIRLPOOL 75ccac808f019da61d3ed843ed680274cabf5a509f332bc0b13e64b075961ce383243cabe821cbf11116f08d96609fd9d380604e0dd094524febaf24908519af EBUILD Exception-Base-0.250-r1.ebuild 687 SHA256 66ddac42c25189526e36e1cc598b9205617e3417b2025445d90a0d1d31ea9631 SHA512 19f52bfca93f05b574f537374a19240b40e10a1d6231c68966f2a2f029e760dea8a317600c0c688a0daa8919528da4e0e2c46ff4e3fa1aa7bba0598911966d22 WHIRLPOOL d26a6aa63afbf10ef8d83404be5924ace7ddac54b6cd5bda269e21d79b2e03435fb4d04bc030bf49d8fd36d90a18076bc9a084590267e8f384ae6203dd6f1860 -MISC ChangeLog 2169 SHA256 c50ae19d82653c8f28210379e1075be9a3dbdee069aa82d1fdd58edf0c484707 SHA512 f2155c77622bd3a4557e4f44c991e75fb898071f2f134da67f7f972c402c70a0ccd22df9ba7f1b85a492032b8b54e53c53b823d6f9314861ee63e582bf3c7680 WHIRLPOOL 5580d0ae9fe4855b1c131795fc1765522399687a0bea2f93b05d469cf011587c74aee787515170384bb5bd064d8f0e02f56ae7e507f13bd994eb00d0a15d1aa5 +EBUILD Exception-Base-0.250.0-r2.ebuild 716 SHA256 4a3d3944021256d96bf3fb22e1293de3bf1d412f6ac3f35aad446758c9615184 SHA512 15c540ce4f2246d272021fcbfbe38497907553b5f59d4b5a7a99cc1033ee92ecba51bd0b93ca49acc4b12fc01b7e677475817fa3fa44e2bf63a4276686de8ba5 WHIRLPOOL d0bd8a55330f533318f0672229d0f9252066c58e8d375dc3dd6d72204c87126257c206a726d82a87ea8c6f1e063331a127cfb0cec09746e43c3b2d44c19ceb6b +MISC ChangeLog 2380 SHA256 b9731f88fe62db36097e7cad731509f983514e0a12d780f882a3548ffd8b2f03 SHA512 1791745b5a3f0f9f92afa0f552be4b7f4cfa942582eeaba7cab0a1ff6fdc006c23ebb362fda5fef54b9099a83690740979c3ca78befb2038ea0dd3c7d209f7e7 WHIRLPOOL e3ceddcd688fcc6c5463b6ee184c37881691bba213ec7a1e30c18424282fda3a634cf7763a7cbe8e1900de637fcb06c3913d8af038c99a39614c9ba689c1ad55 MISC metadata.xml 302 SHA256 5cb880e2bcff3e3098c4921ce63f148d2eb67325c199b9a100bb87a29d4cc1ae SHA512 d6b7e06c17628b9f9e69bb73767d7b46fee60e8eba5afcc02fc59278baf6116ef01331c0b94a4f4ed7d0b2643fdf2c903475cfc190b03cb2eef8fa3f62eed1ad WHIRLPOOL 0aa2a59f975843fd2479c9d4d4bc64214d4bedcc7d5e8a13baa3ac8eb6c7e2639b2033d95aa0b0a85d1a0bb6410ccf187e5ad566af981d09133dddcf1e383a2e -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0 +Version: GnuPG v2 -iQJ8BAEBCABmBQJVfKVpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0RkJDMzI0NjNBOTIwMDY5MTQ2NkMzNDBF -MTM4NkZEN0VGNEI1Nzc5AAoJEOE4b9fvS1d5U2MQAJXOZ5I7s3qWQ3++DjWDq8NY -zUOEtos/oLwMrbzMdtopoOO2EpTnt55L27nr4w3w+7AW/eq0wP7vqlwk2eAUXkYQ -ZwEC/7gYkpPV7O9bNLtcPDdFQOEYkT6MInWKsiZVZknJk/RM1n+oFQNBckTkuKB/ -HI1CRZJoCgSZquF4wknu8ud1CLGeOi/4/qER3i3UcwDLSF6yy2HjBTgOPNvgAiZb -ARELWqQjW3BiyHDN/28hUJ0mMBWuwWesUJlQR3cAEh2uEiJgdB6ZsgaJKuDfaFeG -oqq9OeTcZJvse8ZbSB5Fndqz8hVHPbIBpkwXufF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O9twf9gB+V6lL26Xp3 +bNgQhbnoqkyCYgoMHY1t +=wbgP -----END PGP SIGNATURE----- diff --git a/dev-perl/Exception-Base/files/Exception-Base-0.250.0-sprintf.patch b/dev-perl/Exception-Base/files/Exception-Base-0.250.0-sprintf.patch new file mode 100644 index 000000000000..656c3eba4ee3 --- /dev/null +++ b/dev-perl/Exception-Base/files/Exception-Base-0.250.0-sprintf.patch @@ -0,0 +1,52 @@ +From 1cb0ea6afd4bb76e5a1d759efe27ea0f18306a82 Mon Sep 17 00:00:00 2001 +From: Lee Johnson <lee@givengain.ch> +Date: Thu, 1 Jan 2015 22:33:54 +0000 +Subject: [PATCH] resolve #1 - fix warnings new since perl 5.21.2 + +Redundant argument in %s - this is because the various calls to the +sprintf function offset the arrays by 1 (since the first element of +the array is the sprintf string) but use @_ (the number of elements +in the array) in the range: 1 .. @_ + +since it's offset by 1 we are going beyond the end of the array and +so sprintf consequently warns that we sent more arguments than it +expected. fix this by using @_ -1 in the range (number of elements +in the array minus 1) +--- + lib/Exception/Base.pm | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/lib/Exception/Base.pm b/lib/Exception/Base.pm +index 8dce19f..096e2a5 100644 +--- a/lib/Exception/Base.pm ++++ b/lib/Exception/Base.pm +@@ -1362,7 +1362,7 @@ sub matches { ## no critic qw(ProhibitExcessComplexity) + local $_ = ref $self->{$key} eq 'ARRAY' + ? sprintf( + @{$self->{$key}}[0], +- @{$self->{$key}}[1..@{$self->{$key}}] ++ @{$self->{$key}}[1..@{$self->{$key}}-1] + ) + : $self->{$key}; + if (ref $arrval eq 'CODE') { +@@ -1393,7 +1393,7 @@ sub matches { ## no critic qw(ProhibitExcessComplexity) + local $_ = ref $self->{$key} eq 'ARRAY' + ? sprintf( + @{$self->{$key}}[0], +- @{$self->{$key}}[1..@{$self->{$key}}] ++ @{$self->{$key}}[1..@{$self->{$key}}-1] + ) + : $self->{$key}; + +@@ -1613,7 +1613,7 @@ sub _string_attributes { + my ($self) = @_; + + return map { ref $_ eq 'ARRAY' +- ? sprintf(@$_[0], @$_[1..@$_]) ++ ? sprintf(@$_[0], @$_[1..@$_-1]) + : $_ } + grep { defined $_ and (ref $_ or $_ ne '') } + map { $self->{$_} } +-- +2.4.5 + |