Description: remove tidyVersion as it is a special call
 to Andy Lester's modified version of libtidy. Also remove
 the corresponding call from Perl, the documentation, and
 the tests.
Author: gregor herrmann <gregoa@debian.org>
Reviewed-by: Jonathan Yu <jawnsy@cpan.org>
Origin: vendor
Forwarded: not-needed

--- a/Tidy.xs
+++ b/Tidy.xs
@@ -189,14 +189,3 @@
         if ( rc < 0 ) {
             XSRETURN_UNDEF;
         }
-
-
-SV*
-_tidyp_version()
-    PREINIT:
-        const char* version;
-    CODE:
-        version = tidyVersion();
-        RETVAL = newSVpv(version,0); /* will be automatically "mortalized" */
-    OUTPUT:
-        RETVAL
--- a/t/version.t
+++ b/t/version.t
@@ -7,7 +7,12 @@
 
 use HTML::Tidy;
 
+SKIP: {
+    skip 'libtidy_version has been removed in Debian', 4;
+
 for my $version_string (HTML::Tidy->tidyp_version, HTML::Tidy->libtidyp_version) {
     like( $version_string, qr/^\d\.\d{2,}$/, 'Valid version string' );
     cmp_ok( $version_string, '>=', '0.90', 'Version is greater than 0.90, which is the one I maintain' );
 }
+
+}
--- a/lib/HTML/Tidy.pm
+++ b/lib/HTML/Tidy.pm
@@ -341,23 +341,6 @@
     return 1;
 }
 
-=head2 tidyp_version()
-
-=head2 libtidyp_version()
-
-Returns the version of the underling tidyp library.
-
-=cut
-
-# backcompat
-sub libtidyp_version { return shift->tidyp_version }
-
-sub tidyp_version {
-    my $version_str = _tidyp_version();
-
-    return $version_str;
-}
-
 require XSLoader;
 XSLoader::load('HTML::Tidy', $VERSION);
 
--- a/t/00-load.t
+++ b/t/00-load.t
@@ -8,5 +8,5 @@
 use HTML::Tidy;
 use HTML::Tidy::Message;
 
-diag( "Testing HTML::Tidy $HTML::Tidy::VERSION, Perl $]; tidyp " . HTML::Tidy->tidyp_version() );
+diag( "Testing HTML::Tidy $HTML::Tidy::VERSION, Perl $];" );
 pass( 'Modules loaded' );
--- a/bin/webtidy
+++ b/bin/webtidy
@@ -19,7 +19,7 @@
 ) or $help = 1;
 
 if ( !@ARGV || $help ) {
-    print "webtidy v$HTML::Tidy::VERSION using tidyp v" . HTML::Tidy::tidyp_version() . "\n";
+    print "webtidy v$HTML::Tidy::VERSION \n";
     print <DATA>;
     exit 1;
 }
