diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
commit | c5283d322accc6097afec74eab24550829788bab (patch) | |
tree | b99ce668128d82a026eaa31461643f9173f9b77b /dev-perl/Weather-Com | |
parent | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff) |
gentoo resync : 23.03.2018
Diffstat (limited to 'dev-perl/Weather-Com')
-rw-r--r-- | dev-perl/Weather-Com/Manifest | 3 | ||||
-rw-r--r-- | dev-perl/Weather-Com/Weather-Com-2.0.0-r1.ebuild | 33 | ||||
-rw-r--r-- | dev-perl/Weather-Com/files/Weather-Com-2.0.0-dotinc.patch | 68 | ||||
-rw-r--r-- | dev-perl/Weather-Com/files/Weather-Com-2.0.0-network.patch | 54 |
4 files changed, 158 insertions, 0 deletions
diff --git a/dev-perl/Weather-Com/Manifest b/dev-perl/Weather-Com/Manifest index 1885f5dac00b..51aac40801b6 100644 --- a/dev-perl/Weather-Com/Manifest +++ b/dev-perl/Weather-Com/Manifest @@ -1,3 +1,6 @@ +AUX Weather-Com-2.0.0-dotinc.patch 1471 BLAKE2B 43df5c1e0482e65b2d50f74fb7bf2e73e855c3043b24073d4bc40e93b60b2113fac08f01a0a20c6c579483bbb680462f1699e15c6a5aab19ee50ba739030ccfb SHA512 70e4af9df68390fe57503b47b5cd62522ed37c07bc5c3848b44fdb4a92fcf668ae773dc06d7602432fc03c0ed1dfb30b1c10f392399ee4e866d410f1eaebe543 +AUX Weather-Com-2.0.0-network.patch 1191 BLAKE2B 72cd031ca3d0b9513791726338ca281af71256cb669fec9726a8e74e2562763609b2260c440201de01caf678b4e4145caf97d7c051ebba4bb531e2a6441c6bb1 SHA512 e3d9f7d6143404d1d39f0cfed2104c4e41c4425f7069d42d71f22f8415b6b70defc102ff7ac5161cc6ffc1bfe0cda56ebfccedc074d01692d099196f1dbb9bd1 DIST Weather-Com-2.0.0.tar.gz 49293 BLAKE2B 3d687ced12c9e712543188e5739911f8cbd023b89237e39957a6834adb7df28d9c958b818cbf9b4dd9571243b4ce30b3fd19cd86e904e76cbf8ae4ad6ca9e4ac SHA512 8d26e5c9d69fdf902cf3678a60b2eedc95e8a516b4017fa496ea9c8254c51a93cc40b03e84eec3c6ac8869931f5657bc79ab7db025cd3b5c08c61abbe27eafff +EBUILD Weather-Com-2.0.0-r1.ebuild 704 BLAKE2B bc14291267a3c20cf48c4220b68133842536137cfbccefbbd44a30eb3dd0337e10c7b74d5cf0591955626fdd73012d0976e6ae43b2c9efcf7175415cb13a890c SHA512 6f757a17e2beb7f8e72ae70e67e6f12fc4614d63b45f488adeb01c89ae226da22fa3640f4589aff498be0ddaa9d1ab1267ddacc24bf512b9d6c5d56cd257781a EBUILD Weather-Com-2.0.0.ebuild 602 BLAKE2B c7130b04520f99ded102fd5e1e4826ae8300ef705c150c53d8bf4c8fd95b41d49c3ef2cf7be9072497cfc1d081701d6f46dad475828007572650ed610aff1633 SHA512 2e63d8950bdf31b7372537791ebe7ee0adef0146ef31d56f4c8c12faef9f250af5b8b0e5b198fb8daf64d9d858b4977e2522d5b6cfafa5e5ff5032b7c55feab7 MISC metadata.xml 2075 BLAKE2B fde4f3ced3cb91b1c3c0c066164ae1c3551f3dc96e1f91076d6c0d52cfc63a04634ea8187cb074ddc5a894b1c102374c513fc99609ee1eca9cb9206ab9fd3a9f SHA512 ae18e75ff56ab6249ca9e7ff4c8b50656d8c169c3303f2a47ba116774815e319f707c7cdb634708eec2d00eb92e0ed2a2554236b57dc37ae08ee5034cb72a5ae diff --git a/dev-perl/Weather-Com/Weather-Com-2.0.0-r1.ebuild b/dev-perl/Weather-Com/Weather-Com-2.0.0-r1.ebuild new file mode 100644 index 000000000000..ec884a815d57 --- /dev/null +++ b/dev-perl/Weather-Com/Weather-Com-2.0.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +DIST_AUTHOR=BOBERNST +DIST_VERSION=2.0.0 +DIST_EXAMPLES=("samples/*") +inherit perl-module + +DESCRIPTION='fetching weather information from weather.com' +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + virtual/perl-Data-Dumper + dev-perl/HTTP-Message + dev-perl/libwww-perl + virtual/perl-Locale-Maketext + virtual/perl-Storable + dev-perl/Test-MockObject + >=dev-perl/Time-Format-1.0.0 + virtual/perl-Time-Local + dev-perl/URI + dev-perl/XML-Simple +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker +" +PATCHES=( + "${FILESDIR}/${PN}-2.0.0-dotinc.patch" + "${FILESDIR}/${PN}-2.0.0-network.patch" +) diff --git a/dev-perl/Weather-Com/files/Weather-Com-2.0.0-dotinc.patch b/dev-perl/Weather-Com/files/Weather-Com-2.0.0-dotinc.patch new file mode 100644 index 000000000000..e850732127e5 --- /dev/null +++ b/dev-perl/Weather-Com/files/Weather-Com-2.0.0-dotinc.patch @@ -0,0 +1,68 @@ +From 8093cbf66931ef66aadf6e68d8132066c49a792f Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Wed, 21 Mar 2018 14:46:49 +1300 +Subject: Fix tests for '.' in @INC removal + +Bug: https://bugs.gentoo.org/623148 +--- + t/Base.t | 2 +- + t/Cached.t | 2 +- + t/OOInterface.t | 2 +- + t/Simple.t | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/t/Base.t b/t/Base.t +index 4085b6e..9669bc3 100644 +--- a/t/Base.t ++++ b/t/Base.t +@@ -16,7 +16,7 @@ + # + no warnings; + use Test::More tests => 6; +-require 't/TestData.pm'; ++require './t/TestData.pm'; + + BEGIN { + use_ok('Weather::Com::Base'); +diff --git a/t/Cached.t b/t/Cached.t +index 33aff23..7257374 100644 +--- a/t/Cached.t ++++ b/t/Cached.t +@@ -16,7 +16,7 @@ + # + no warnings; + use Test::More tests => 10; +-require 't/TestData.pm'; ++require './t/TestData.pm'; + + BEGIN { + use_ok('Weather::Com::Cached'); +diff --git a/t/OOInterface.t b/t/OOInterface.t +index 33d75a2..b20535e 100644 +--- a/t/OOInterface.t ++++ b/t/OOInterface.t +@@ -15,7 +15,7 @@ + # + no warnings; + use Test::More tests => 62; +-require 't/TestData.pm'; ++require './t/TestData.pm'; + + BEGIN { + use_ok('Weather::Com::Finder'); +diff --git a/t/Simple.t b/t/Simple.t +index b29c5bd..227383d 100644 +--- a/t/Simple.t ++++ b/t/Simple.t +@@ -16,7 +16,7 @@ + no warnings; + use Data::Dumper; + use Test::More tests => 2; +-require 't/TestData.pm'; ++require './t/TestData.pm'; + + BEGIN { + use_ok('Weather::Com::Simple'); +-- +2.16.2 + diff --git a/dev-perl/Weather-Com/files/Weather-Com-2.0.0-network.patch b/dev-perl/Weather-Com/files/Weather-Com-2.0.0-network.patch new file mode 100644 index 000000000000..b16a71f5ca9e --- /dev/null +++ b/dev-perl/Weather-Com/files/Weather-Com-2.0.0-network.patch @@ -0,0 +1,54 @@ +From d1c3b3bc53f2ce1ceb99e634a2d62f573a539220 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Wed, 21 Mar 2018 14:58:29 +1300 +Subject: Disable tests that require network IO when NO_NETWORK_TESTING set + +--- + t/OOInterface.t | 9 ++++++++- + t/Simple.t | 9 ++++++++- + 2 files changed, 16 insertions(+), 2 deletions(-) + +diff --git a/t/OOInterface.t b/t/OOInterface.t +index b20535e..9591d93 100644 +--- a/t/OOInterface.t ++++ b/t/OOInterface.t +@@ -14,7 +14,14 @@ + # initialization + # + no warnings; +-use Test::More tests => 62; ++BEGIN { ++ if ( $ENV{NO_NETWORK_TESTING} ) { ++ print "1..0 # SKIP NO_NETWORK_TESTING set"; ++ exit 0; ++ } ++ require Test::More; ++ Test::More->import( tests => 62 ); ++} + require './t/TestData.pm'; + + BEGIN { +diff --git a/t/Simple.t b/t/Simple.t +index 227383d..f4687ec 100644 +--- a/t/Simple.t ++++ b/t/Simple.t +@@ -14,8 +14,15 @@ + # initialization + # + no warnings; ++BEGIN { ++ if ( $ENV{NO_NETWORK_TESTING} ) { ++ print "1..0 # SKIP NO_NETWORK_TESTING set"; ++ exit 0; ++ } ++ require Test::More; ++ Test::More->import( tests => 2 ); ++} + use Data::Dumper; +-use Test::More tests => 2; + require './t/TestData.pm'; + + BEGIN { +-- +2.16.2 + |