diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-01 03:04:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-01 03:04:39 +0000 |
commit | 407525b571b48cfd65e1ad7a02d250a927c967c9 (patch) | |
tree | 844bea44d85dc7218f54970af1c42cc9d55c3f1a /dev-perl/Net-XMPP | |
parent | 89c6c06b8c42107dd231687a1012354e7d3039fc (diff) |
gentoo resync : 01.12.2017
Diffstat (limited to 'dev-perl/Net-XMPP')
-rw-r--r-- | dev-perl/Net-XMPP/Manifest | 7 | ||||
-rw-r--r-- | dev-perl/Net-XMPP/Net-XMPP-1.50.0.ebuild | 22 | ||||
-rw-r--r-- | dev-perl/Net-XMPP/files/1.05-no-dot-inc.patch | 133 | ||||
-rw-r--r-- | dev-perl/Net-XMPP/files/1.05-no-network-tests.patch | 53 |
4 files changed, 189 insertions, 26 deletions
diff --git a/dev-perl/Net-XMPP/Manifest b/dev-perl/Net-XMPP/Manifest index 321063370eed..efa10606cc86 100644 --- a/dev-perl/Net-XMPP/Manifest +++ b/dev-perl/Net-XMPP/Manifest @@ -1,7 +1,8 @@ AUX 1.02-defined.patch 553 BLAKE2B 5ed7406b6a34e630661eef19d16d92d816c2464ea71e8b304b66fc22b1c1741b4e2725a45d5e13aa799f83bec05f4189e1c41cbf07727a8d4e3a9c52744e1f3b SHA512 a45eeb254e7b8507e43c4e38ecbb7c1ae570f2910b2fd2bebbeb498e47c6c4f8a1c08d26c5b36c2b9abb794c05798ef31d7a94a21bd0f74f3561e2fb65e5ac31 -AUX 1.05-no-network-tests.patch 858 BLAKE2B f4e6a691c8d89fdf25a2379480c09127c1362dc18b28baebd1a9c9936571f0ee69243f0ed3afc23e100870cdebf9127237226fa4165925f9e96874d6e5eb65b1 SHA512 ee6924a399d205e573cf379ac9bf797977242e87554b986271c9295944cc224b7585cb83180fa6e515ea01e84254d5438ed6fe7a08811213fbe35f39fd9dab30 +AUX 1.05-no-dot-inc.patch 3578 BLAKE2B 7fea81108b326bc20a3bb804cad1a75dd6d8ae590bf392612f2745c4e95cdfebc73603a5b3178f74846372e5dce8258974548c63a53a3bbd329e8e38e1e0bbce SHA512 01c8572fdef916ff937d36356d308c441cb2512f34fd1a5e2458b02b9f9c79619addea75b108a5030668bb50f8f086c9f4b51faf1e7e16722d535335634ec405 +AUX 1.05-no-network-tests.patch 1569 BLAKE2B 68d736865c0f727c03b64ef1dc8654a903f8098056fb9d7b1975ebdb5f2b4e0c7493d712d2fe35c1bd5533e60cfee475e321b37b24f3d7d773df0134aa7c2a5b SHA512 a51cbbacd06b94a94881b5b36164d596d5ee2d9818fc1ae544ddc7468cb92f0c7041863cc9aad4eb16c9885bf4b946e8bfc9ef7087280417651b8c5d7f79dc56 DIST Net-XMPP-1.02.tar.gz 121653 SHA256 69761441e214042b10b6608afaffbb1b5262e4aaaddb4b315dbf2ea48c4742ea SHA512 7a373e627de7e909ef50d6525b438dd7f094c7e6ad3cb66fff6087048fe9b127e376cf45d1621e55deec2c59fe043ff19f180d0b264fa1dd0c392701dfc43497 WHIRLPOOL e3238e9dac4caf00de645c9eadbc530b725a6872a89ee82043931b7d21a6375419554020dc573aeed3b4415f8a65ddc4685c497bfe1951dd5d802d4fb8557b70 -DIST Net-XMPP-1.05.tar.gz 103876 SHA256 4c02200577c2b235a163a09bfaa152bf000fe5f1499ad80ce16ab66808949362 SHA512 cdd5474fcbdf7ff6c7d1247f9828f5dfb1828c258af366a831bab8e5faab423b73aa16c34228818526ebcc3180ef0ccc52d6e6cb61e2fe689458b87ec7fab699 WHIRLPOOL 9aee53ba25515722c88c4e810fdae78751b811426c70df39d57c2b606436278c143f2592230f605fee49edab7617cd37faf1e1fd20eaed7908f364049e4ee3da +DIST Net-XMPP-1.05.tar.gz 103876 BLAKE2B 5ddc98125b26518c59aa4ab39a974b9cbf1575bd59bb66d5329a43e1d5c3d150f34cc93f545f2cd56846e7b4e46142c47aff7da9b279181a02a57bf95ff1757b SHA512 cdd5474fcbdf7ff6c7d1247f9828f5dfb1828c258af366a831bab8e5faab423b73aa16c34228818526ebcc3180ef0ccc52d6e6cb61e2fe689458b87ec7fab699 EBUILD Net-XMPP-1.20.0-r1.ebuild 865 BLAKE2B c07fc635aae1a08efb3cf10cb50fd284cb8906316842d3f2d5041d80a712d378616a3c1625091c9640ed198c355f45a670640d6328c23ddd8e0f35aeb1cdead9 SHA512 91f46ab81ee85801eae1f83fd8216309a82fff77ed69f0e7058d21a5b4bedcb630e9c69eaf2998af99414b0abc2b3c876f2a0b1d219af92a484ace5e6b5100a3 -EBUILD Net-XMPP-1.50.0.ebuild 902 BLAKE2B 1e7e7247714a8fe09f23f8c0c26b68b86763c503612ffeda15c3829d2fa439a010d60c6afe0740e5731aa981596beb5d1298ae8aebef075c9da9af6020ce5771 SHA512 8c72295398805bf4fa555eb423f0d14d18d618c38a6b73c4ebf9c9e1f09aa4f82c540f79877c9cffb7c02ae3e7ae9d6b2ab429feb5f8db9d1ff7b29f4d92b838 +EBUILD Net-XMPP-1.50.0.ebuild 761 BLAKE2B 972c902c5fb9551f985b976a5e335798d27cc8cb53cd4cfa3d21a9a4aae793b3ac38d126690672656112651c3436ccbcb78ab7e02324756f971014f82d039dfa SHA512 70c0b09c7681c8073536ab8f5438ef545daaaf99d7520bbc026914a186c94a4fc6dc89934dc10252e873b7ff1f37090738246209e34c9362673ffc7511a44e02 MISC metadata.xml 1305 BLAKE2B 2ec03661e185b80764b28cce46f08bef4817cd3c1b2244b8222c1f5eb507afd77e143d7605b38cdf221639b8b1f13a959bf42dfce3da0cb0857e3112913f74f8 SHA512 4a016ed35a0d553609a3ce69b71095c00064f39a1960dad6bf53da42d3d9e65ee4fa7256128b5af2ca40779a69b28ea02286b6b0427a9692639fa8575c9068bd diff --git a/dev-perl/Net-XMPP/Net-XMPP-1.50.0.ebuild b/dev-perl/Net-XMPP/Net-XMPP-1.50.0.ebuild index 15a7bce72198..328c35269151 100644 --- a/dev-perl/Net-XMPP/Net-XMPP-1.50.0.ebuild +++ b/dev-perl/Net-XMPP/Net-XMPP-1.50.0.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 DIST_AUTHOR=DAPATRICK DIST_VERSION=1.05 +DIST_EXAMPLES=( "examples/*" ) inherit perl-module DESCRIPTION="XMPP Perl Library" @@ -12,7 +13,7 @@ DESCRIPTION="XMPP Perl Library" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="test examples" +IUSE="test" RDEPEND=" >=dev-perl/Authen-SASL-2.120.0 @@ -28,16 +29,7 @@ DEPEND="${RDEPEND} >=virtual/perl-Test-Simple-0.920.0 ) " -src_test() { - eapply "${FILESDIR}/${DIST_VERSION}-no-network-tests.patch" - perl-module_src_test -} - -src_install() { - perl-module_src_install - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - insinto /usr/share/doc/${PF}/examples - doins -r examples/* - fi -} +PATCHES=( + "${FILESDIR}/${DIST_VERSION}-no-network-tests.patch" + "${FILESDIR}/${DIST_VERSION}-no-dot-inc.patch" +) diff --git a/dev-perl/Net-XMPP/files/1.05-no-dot-inc.patch b/dev-perl/Net-XMPP/files/1.05-no-dot-inc.patch new file mode 100644 index 000000000000..773b9f014b6f --- /dev/null +++ b/dev-perl/Net-XMPP/files/1.05-no-dot-inc.patch @@ -0,0 +1,133 @@ +From bad1310f14223c12c1d8933ef5de17fd323374f5 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Wed, 29 Nov 2017 19:07:38 +1300 +Subject: Fix tests failing under Perl 5.26 w/ PERL_USE_UNSAFE_INC=0 + + require t/foo.pl + +Used to work as a result of the assumed '.' at the end of `@INC`. +This is no longer true under Perl 5.26 without PERL_USE_UNSAFE_INC=1 +in your environment (which gets defaulted on under CPAN installers and +under Test::Harness if not explicitly disabled, and will be hard-off +in Perl 5.30) + +Bug: https://bugs.gentoo.org/623002 +Bug: https://github.com/dap/Net-XMPP/pull/16 +--- + t/iq.t | 2 +- + t/jid.t | 2 +- + t/message.t | 2 +- + t/packet_iqauth.t | 2 +- + t/packet_iqroster.t | 2 +- + t/presence.t | 2 +- + t/rawxml.t | 2 +- + t/roster.t | 2 +- + 8 files changed, 8 insertions(+), 8 deletions(-) + +diff --git a/t/iq.t b/t/iq.t +index 9174e6d..1742d6c 100644 +--- a/t/iq.t ++++ b/t/iq.t +@@ -3,7 +3,7 @@ use Test::More tests=>115; + + BEGIN{ use_ok( "Net::XMPP" ); } + +-require "t/mytestlib.pl"; ++require "./t/mytestlib.pl"; + + my $debug = Net::XMPP::Debug->new(setdefault=>1, + level=>-1, +diff --git a/t/jid.t b/t/jid.t +index dc07440..fa426a4 100644 +--- a/t/jid.t ++++ b/t/jid.t +@@ -3,7 +3,7 @@ use Test::More tests=>15; + + BEGIN{ use_ok( "Net::XMPP" ); } + +-require "t/mytestlib.pl"; ++require "./t/mytestlib.pl"; + + my $jid = Net::XMPP::JID->new('host.com/xxx@yyy.com/zzz'); + ok( defined($jid), "new()" ); +diff --git a/t/message.t b/t/message.t +index 70bcef8..7c2f554 100644 +--- a/t/message.t ++++ b/t/message.t +@@ -3,7 +3,7 @@ use Test::More tests=>136; + + BEGIN{ use_ok( "Net::XMPP" ); } + +-require "t/mytestlib.pl"; ++require "./t/mytestlib.pl"; + + my $debug = Net::XMPP::Debug->new(setdefault=>1, + level=>-1, +diff --git a/t/packet_iqauth.t b/t/packet_iqauth.t +index 748917b..f80b5ae 100644 +--- a/t/packet_iqauth.t ++++ b/t/packet_iqauth.t +@@ -3,7 +3,7 @@ use Test::More tests=>55; + + BEGIN{ use_ok( "Net::XMPP" ); } + +-require "t/mytestlib.pl"; ++require "./t/mytestlib.pl"; + + my $debug = Net::XMPP::Debug->new(setdefault=>1, + level=>-1, +diff --git a/t/packet_iqroster.t b/t/packet_iqroster.t +index 706e5f0..4bd48e8 100644 +--- a/t/packet_iqroster.t ++++ b/t/packet_iqroster.t +@@ -3,7 +3,7 @@ use Test::More tests=>57; + + BEGIN{ use_ok( "Net::XMPP" ); } + +-require "t/mytestlib.pl"; ++require "./t/mytestlib.pl"; + + my $debug = Net::XMPP::Debug->new(setdefault=>1, + level=>-1, +diff --git a/t/presence.t b/t/presence.t +index ce6980d..14f9516 100644 +--- a/t/presence.t ++++ b/t/presence.t +@@ -3,7 +3,7 @@ use Test::More tests=>132; + + BEGIN{ use_ok( "Net::XMPP" ); } + +-require "t/mytestlib.pl"; ++require "./t/mytestlib.pl"; + + my $debug = Net::XMPP::Debug->new(setdefault=>1, + level=>-1, +diff --git a/t/rawxml.t b/t/rawxml.t +index b4f091b..43b6380 100644 +--- a/t/rawxml.t ++++ b/t/rawxml.t +@@ -3,7 +3,7 @@ use Test::More tests=>54; + + BEGIN{ use_ok( "Net::XMPP" ); } + +-require "t/mytestlib.pl"; ++require "./t/mytestlib.pl"; + + my $message = Net::XMPP::Message->new(); + ok( defined($message), "new()"); +diff --git a/t/roster.t b/t/roster.t +index 19ed87b..a365d2e 100644 +--- a/t/roster.t ++++ b/t/roster.t +@@ -11,7 +11,7 @@ BEGIN { + } + BEGIN{ use_ok( "Net::XMPP" ); } + +-require "t/mytestlib.pl"; ++require "./t/mytestlib.pl"; + + my $debug = Net::XMPP::Debug->new(setdefault=>1, + level=>-1, +-- +2.14.3 + diff --git a/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch b/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch index 921121805def..e20b39316b94 100644 --- a/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch +++ b/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch @@ -1,7 +1,20 @@ -diff -Naur Net-XMPP-1.05/t/gtalk.t Net-XMPP-1.05b/t/gtalk.t ---- Net-XMPP-1.05/t/gtalk.t 2014-12-22 21:28:51.000000000 +0000 -+++ Net-XMPP-1.05b/t/gtalk.t 2016-03-06 07:14:13.313580716 +0000 -@@ -2,7 +2,12 @@ +From ce5bd091758174c06e0b250040d85b1cc1c8bad0 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Sun, 6 Mar 2016 20:35:45 +1300 +Subject: Disable network tests when tests forcibly required by ENV + +Bug: https://bugs.gentoo.org/612256 +--- + t/gtalk.t | 7 ++++++- + t/lib/Net/XMPP/Test/Utils.pm | 1 + + t/roster.t | 10 +++++++++- + 3 files changed, 16 insertions(+), 2 deletions(-) + +diff --git a/t/gtalk.t b/t/gtalk.t +index 747b7df..3b1af73 100644 +--- a/t/gtalk.t ++++ b/t/gtalk.t +@@ -2,7 +2,12 @@ use strict; use warnings; use Test::More; @@ -15,10 +28,11 @@ diff -Naur Net-XMPP-1.05/t/gtalk.t Net-XMPP-1.05b/t/gtalk.t ######################## XML::Stream mocking starts #{ # package XML::Stream; -diff -Naur Net-XMPP-1.05/t/lib/Net/XMPP/Test/Utils.pm Net-XMPP-1.05b/t/lib/Net/XMPP/Test/Utils.pm ---- Net-XMPP-1.05/t/lib/Net/XMPP/Test/Utils.pm 2014-12-22 21:28:51.000000000 +0000 -+++ Net-XMPP-1.05b/t/lib/Net/XMPP/Test/Utils.pm 2016-03-06 06:59:57.227261659 +0000 -@@ -23,6 +23,7 @@ +diff --git a/t/lib/Net/XMPP/Test/Utils.pm b/t/lib/Net/XMPP/Test/Utils.pm +index d69eca3..3c4565e 100644 +--- a/t/lib/Net/XMPP/Test/Utils.pm ++++ b/t/lib/Net/XMPP/Test/Utils.pm +@@ -23,6 +23,7 @@ sub can_run_tests { } sub conn_is_available { @@ -26,3 +40,26 @@ diff -Naur Net-XMPP-1.05/t/lib/Net/XMPP/Test/Utils.pm Net-XMPP-1.05b/t/lib/Net/X return online(); } +diff --git a/t/roster.t b/t/roster.t +index 25ee505..19ed87b 100644 +--- a/t/roster.t ++++ b/t/roster.t +@@ -1,6 +1,14 @@ + use lib "t/lib"; +-use Test::More tests=>75; + ++BEGIN { ++ require Test::More; ++ if ($ENV{NO_NETWORK_TESTING}) { ++ Test::More->import(skip_all => "NO_NETWORK_TESTS set"); ++ } ++ else { ++ Test::More->import( tests => 75 ); ++ } ++} + BEGIN{ use_ok( "Net::XMPP" ); } + + require "t/mytestlib.pl"; +-- +2.14.3 + |