From 47d688d7b9eadab8968a7eed8e315c371a1e1340 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 8 Oct 2016 18:56:39 +0300 Subject: [PATCH] Deprecate module --- Makefile.PL | 3 +-- README | 3 +++ lib/WWW/Search/Torrentz.pm | 8 ++++++-- lib/WWW/Search/Torrentz/Result.pm | 2 +- t/WWW-Search-Torrentz.t | 3 +-- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index edcedc3..598ec97 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,8 +10,7 @@ WriteMakefile( LICENSE => 'perl', SIGN => 1, BUILD_REQUIRES => { - qw/Test::RequiresInternet 0 - WWW::Search::Test 0/, + qw/WWW::Search::Test 0/, }, PREREQ_PM => { qw/HTML::TreeBuilder 0 diff --git a/README b/README index 8790909..0e446ee 100644 --- a/README +++ b/README @@ -1,6 +1,9 @@ WWW-Search-Torrentz version 0.001003 ==================================== +This module is deprecated since https://torrentz.eu was shut down +in August 2016. + WWW::Search::Torrentz is a WWW::Search backend for the http://torrentz.eu torrent search aggregator. diff --git a/lib/WWW/Search/Torrentz.pm b/lib/WWW/Search/Torrentz.pm index 0d6de5f..432badd 100644 --- a/lib/WWW/Search/Torrentz.pm +++ b/lib/WWW/Search/Torrentz.pm @@ -79,7 +79,7 @@ __END__ =head1 NAME -WWW::Search::Torrentz - search torrentz.eu with WWW::Search +WWW::Search::Torrentz - [DEPRECATED] search torrentz.eu with WWW::Search =head1 SYNOPSIS @@ -90,7 +90,11 @@ WWW::Search::Torrentz - search torrentz.eu with WWW::Search =head1 DESCRIPTION -WWW::Search::Torrentz is a subclass of WWW::Search that searches the L search aggregator. +This module is deprecated since L was shut down +in August 2016. + +WWW::Search::Torrentz is a subclass of WWW::Search that searches the +L search aggregator. To use this module, read the L documentation. diff --git a/lib/WWW/Search/Torrentz/Result.pm b/lib/WWW/Search/Torrentz/Result.pm index 75bd010..8122836 100644 --- a/lib/WWW/Search/Torrentz/Result.pm +++ b/lib/WWW/Search/Torrentz/Result.pm @@ -113,7 +113,7 @@ __END__ =head1 NAME -WWW::Search::Torrentz::Result - a result of a WWW::Search::Torrentz search +WWW::Search::Torrentz::Result - [DEPRECATED] a result of a WWW::Search::Torrentz search =head1 SYNOPSIS diff --git a/t/WWW-Search-Torrentz.t b/t/WWW-Search-Torrentz.t index 3cfca77..6a0e704 100644 --- a/t/WWW-Search-Torrentz.t +++ b/t/WWW-Search-Torrentz.t @@ -3,8 +3,7 @@ use strict; use warnings; use WWW::Search::Test; -use Test::RequiresInternet qw/torrentz.eu 443/; -use Test::More tests => 10; +use Test::More skip_all => 'torrentz.eu was shut down'; BEGIN { use_ok('WWW::Search::Torrentz') }; -- 2.39.2