From 0fb71e0215ed52863e462cccef73c01aff44d43d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Dec 2017 15:11:02 +0000 Subject: gentoo resync : 18.12.2017 --- dev-perl/Net-Z3950-ZOOM/Manifest | 2 + .../Net-Z3950-ZOOM-1.280.0-r2.ebuild | 20 ++ .../files/Net-Z3950-ZOOM-1.28-network-tests.patch | 299 +++++++++++++++++++++ 3 files changed, 321 insertions(+) create mode 100644 dev-perl/Net-Z3950-ZOOM/Net-Z3950-ZOOM-1.280.0-r2.ebuild create mode 100644 dev-perl/Net-Z3950-ZOOM/files/Net-Z3950-ZOOM-1.28-network-tests.patch (limited to 'dev-perl/Net-Z3950-ZOOM') diff --git a/dev-perl/Net-Z3950-ZOOM/Manifest b/dev-perl/Net-Z3950-ZOOM/Manifest index 80e2628e642f..14a6cad33ade 100644 --- a/dev-perl/Net-Z3950-ZOOM/Manifest +++ b/dev-perl/Net-Z3950-ZOOM/Manifest @@ -1,3 +1,5 @@ +AUX Net-Z3950-ZOOM-1.28-network-tests.patch 6346 BLAKE2B 7057da20a3241402c411d7b572674c1f6a3c9c3ab35e8ee841c60b34e8c49c8bceee9b288fc8256f7a1cd16715ad8ff2ce718a320e258c7870367bb28a9866f8 SHA512 daa687aaeb6bc504f1ea33102bdcc82b355bd9cbf4ca8c4a0c894cbfe0b40caff4e43b7ec7c88e299fa9b7ba2648911ef106bf7c2d5a953aba84f95941acba60 DIST Net-Z3950-ZOOM-1.28.tar.gz 66800 BLAKE2B 747fdc742914edcf0c12e40a03ee593a45177bda6020489055a8e3e208c1ef02c709360fc2a72b7102e0d707c6920a01925b24be351eea4786103b6c5433d21e SHA512 647ec0e7e572a10307be76c469781423f3cdd176c9d968bc93746f22570b11208dc3364e8835fa1840dfb10de7a5df0d683ff06aeae2f1a67db13a8f810871eb EBUILD Net-Z3950-ZOOM-1.280.0-r1.ebuild 350 BLAKE2B ca893d45748e160209fc266a8364833ccc63de27eb69c01d55f29790b3628296fd649f553a1a3cf2c31bf544f1c14278bd6f797aa1ae09aa6d54f0546915d250 SHA512 ade8399a7e71b2723e1922e7accc6e10a0fae0b4d4995969338cc27b06dd40fd18ceb252443adcaba47f6b8382ae186bc9e64e35883a46c79fa38640700f801c +EBUILD Net-Z3950-ZOOM-1.280.0-r2.ebuild 408 BLAKE2B 6f5c60734fa9f420571d60bcf9979245ea1a6654749e9808c4de6920ba18568493a3e7b87e5bf45937a536ec03c0e471aa20a3349ea7b29a491f9fe1144498e2 SHA512 8a0f30cb47e183d906274bffcdeffcc1bbca069d37bac8b52f90c43c197a863d9605aa6dea5ce8fb7631d5ad792a445dadfd316471cb92e45b94e1ab5a546e57 MISC metadata.xml 1684 BLAKE2B 12eb6f17b81fb79b5260d8480bfb4ddf222284c8dd6132c099bffc056db0c7aa90df8b65d2790076f623edebef7f470f0d76de4283cb31e137bb5a96dc9aee3f SHA512 1ffa5d22a2b2be9fcb6592ec5a22f1d14c9d18fd28fc13e82cd38f93dd286b84f12e834fcd22a724d8a7d513528b153c85c9627844d09a23ad3c7dfd89330146 diff --git a/dev-perl/Net-Z3950-ZOOM/Net-Z3950-ZOOM-1.280.0-r2.ebuild b/dev-perl/Net-Z3950-ZOOM/Net-Z3950-ZOOM-1.280.0-r2.ebuild new file mode 100644 index 000000000000..8934b5a75d3f --- /dev/null +++ b/dev-perl/Net-Z3950-ZOOM/Net-Z3950-ZOOM-1.280.0-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=MIRK +DIST_VERSION=1.28 +inherit perl-module + +DESCRIPTION="Perl extension for invoking the ZOOM-C API" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-libs/yaz-2.1.50 + dev-perl/MARC-Record +" +DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}/${PN}-1.28-network-tests.patch" ) diff --git a/dev-perl/Net-Z3950-ZOOM/files/Net-Z3950-ZOOM-1.28-network-tests.patch b/dev-perl/Net-Z3950-ZOOM/files/Net-Z3950-ZOOM-1.28-network-tests.patch new file mode 100644 index 000000000000..be9a2aa3e3ba --- /dev/null +++ b/dev-perl/Net-Z3950-ZOOM/files/Net-Z3950-ZOOM-1.28-network-tests.patch @@ -0,0 +1,299 @@ +From dd0b1305d9d44167a10e224179a4d25b997dfb8c Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Sun, 17 Dec 2017 20:08:01 +1300 +Subject: Disable network-dependent tests when NO_NETWORK_TESTING is defined + +--- + t/1-Net-Z3950-ZOOM.t | 6 ++++++ + t/12-query.t | 6 ++++++ + t/13-resultset.t | 6 ++++++ + t/14-sorting.t | 6 ++++++ + t/15-scan.t | 6 ++++++ + t/16-packages.t | 6 ++++++ + t/18-charset.t | 6 ++++++ + t/19-events.t | 6 ++++++ + t/2-ZOOM.t | 6 ++++++ + t/22-query.t | 6 ++++++ + t/23-resultset.t | 6 ++++++ + t/24-sorting.t | 6 ++++++ + t/25-scan.t | 6 ++++++ + t/26-packages.t | 6 ++++++ + t/28-charset.t | 6 ++++++ + t/29-events.t | 6 ++++++ + 16 files changed, 96 insertions(+) + +diff --git a/t/1-Net-Z3950-ZOOM.t b/t/1-Net-Z3950-ZOOM.t +index a23ba48..673d9c3 100644 +--- a/t/1-Net-Z3950-ZOOM.t ++++ b/t/1-Net-Z3950-ZOOM.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 23; + BEGIN { use_ok('Net::Z3950::ZOOM') }; + +diff --git a/t/12-query.t b/t/12-query.t +index d21204b..c100699 100644 +--- a/t/12-query.t ++++ b/t/12-query.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 41; + BEGIN { use_ok('Net::Z3950::ZOOM') }; + +diff --git a/t/13-resultset.t b/t/13-resultset.t +index b3e6225..e8a4eaa 100644 +--- a/t/13-resultset.t ++++ b/t/13-resultset.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 24; + BEGIN { use_ok('Net::Z3950::ZOOM') }; + +diff --git a/t/14-sorting.t b/t/14-sorting.t +index 341ed44..3f663d4 100644 +--- a/t/14-sorting.t ++++ b/t/14-sorting.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 29; + use MARC::Record; + +diff --git a/t/15-scan.t b/t/15-scan.t +index fea22a0..a723e43 100644 +--- a/t/15-scan.t ++++ b/t/15-scan.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 81; + + BEGIN { use_ok('Net::Z3950::ZOOM') }; +diff --git a/t/16-packages.t b/t/16-packages.t +index 1cdd022..de3ae56 100644 +--- a/t/16-packages.t ++++ b/t/16-packages.t +@@ -12,6 +12,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 39; + + BEGIN { use_ok('Net::Z3950::ZOOM') }; +diff --git a/t/18-charset.t b/t/18-charset.t +index 72e0ead..05fdbd6 100644 +--- a/t/18-charset.t ++++ b/t/18-charset.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 9; + + BEGIN { use_ok('Net::Z3950::ZOOM') }; +diff --git a/t/19-events.t b/t/19-events.t +index 3c286b2..cecd221 100644 +--- a/t/19-events.t ++++ b/t/19-events.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 23; + + BEGIN { use_ok('Net::Z3950::ZOOM') }; +diff --git a/t/2-ZOOM.t b/t/2-ZOOM.t +index d644068..e6bda5a 100644 +--- a/t/2-ZOOM.t ++++ b/t/2-ZOOM.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 23; + BEGIN { use_ok('ZOOM') }; + +diff --git a/t/22-query.t b/t/22-query.t +index 4ffbd63..a5cb283 100644 +--- a/t/22-query.t ++++ b/t/22-query.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 41; + BEGIN { use_ok('ZOOM') }; + +diff --git a/t/23-resultset.t b/t/23-resultset.t +index 7a026ff..ac0977a 100644 +--- a/t/23-resultset.t ++++ b/t/23-resultset.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 24; + BEGIN { use_ok('ZOOM') }; + +diff --git a/t/24-sorting.t b/t/24-sorting.t +index e7f1b77..64251ae 100644 +--- a/t/24-sorting.t ++++ b/t/24-sorting.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 29; + use MARC::Record; + +diff --git a/t/25-scan.t b/t/25-scan.t +index 01aba9e..042e0ab 100644 +--- a/t/25-scan.t ++++ b/t/25-scan.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 81; + + BEGIN { use_ok('ZOOM') }; +diff --git a/t/26-packages.t b/t/26-packages.t +index e60b5f3..eb7f7b3 100644 +--- a/t/26-packages.t ++++ b/t/26-packages.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 39; + + BEGIN { use_ok('ZOOM') }; +diff --git a/t/28-charset.t b/t/28-charset.t +index 16773f0..6abe21d 100644 +--- a/t/28-charset.t ++++ b/t/28-charset.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 9; + + BEGIN { use_ok('ZOOM') }; +diff --git a/t/29-events.t b/t/29-events.t +index 5c0ef4b..9bb2ba4 100644 +--- a/t/29-events.t ++++ b/t/29-events.t +@@ -3,6 +3,12 @@ + + use strict; + use warnings; ++BEGIN { ++ $ENV{NO_NETWORK_TESTING} and do { ++ print "1..0 # SKIP due to NO_NETWORK_TESTING=1"; ++ exit; ++ }; ++} + use Test::More tests => 23; + + BEGIN { use_ok('ZOOM') }; +-- +2.15.1 + -- cgit v1.2.3