debian/0000755000000000000000000000000012145413777007201 5ustar debian/copyright0000644000000000000000000000244112145413777011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: TAP-Formatter-HTML Upstream-Contact: Steve Purkis Source: https://metacpan.org/release/TAP-Formatter-HTML/ Comment: The +dfsg version is created by removing some problematic minified js files. debian/repack.stub automates this process. Files: * Copyright: 2008-2012, Steve Purkis License: Artistic or GPL-1+ Files: debian/* Copyright: 2011-2013, Salvatore Bonaccorso License: Artistic or GPL-1+ Files: debian/repack.stub Copyright: 2009, Ryan Niebur License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000027512145413777010236 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ https://metacpan.org/release/TAP-Formatter-HTML/ .*/TAP-Formatter-HTML-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian debian/repack.stub debian/control0000644000000000000000000000225512145413777010610 0ustar Source: libtap-formatter-html-perl Maintainer: Debian Perl Group Uploaders: Salvatore Bonaccorso Section: perl Priority: optional Build-Depends: debhelper (>= 8), perl Build-Depends-Indep: libaccessors-perl, libtemplate-perl, liburi-perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtap-formatter-html-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtap-formatter-html-perl.git Homepage: https://metacpan.org/release/TAP-Formatter-HTML/ Package: libtap-formatter-html-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libaccessors-perl, libtemplate-perl, liburi-perl Description: TAP Test Harness output delegate for html output TAP::Formatter::HTML provides HTML output formatting for TAP::Harness (a replacement for Test::Harness). . This module is targeted at all users of automated test suites. It's meant to make reading test results easier, giving you a visual summary of your test suite and letting you drill down into individual failures. debian/changelog0000644000000000000000000000243012145413777011052 0ustar libtap-formatter-html-perl (0.11+dfsg-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Imported Upstream version 0.11+dfsg * Change search.cpan.org based URIs to metacpan.org based URIs * Add copyright stanza for debian/repack.stub * Refresh only_default_js.patch patch for offsets [ gregor herrmann ] * Update debian/repack.stub. -- Salvatore Bonaccorso Fri, 17 May 2013 13:39:56 +0200 libtap-formatter-html-perl (0.10+dfsg-1) unstable; urgency=low [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Salvatore Bonaccorso ] * Imported Upstream version 0.10+dfsg * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Update debian/copyright file information. Update format to copyright-format 1.0 as released together with Debian policy 3.9.3. Update copyright years for upstream files. Update copyright years for debian/* packaging. * Bump Standards-Version to 3.9.4 * Refresh only_default_js.patch patch (offset) -- Salvatore Bonaccorso Fri, 18 Jan 2013 19:51:14 +0100 libtap-formatter-html-perl (0.09+dfsg-1) unstable; urgency=low * Initial Release (Closes: #646623). -- Salvatore Bonaccorso Wed, 09 Nov 2011 08:47:05 +0100 debian/rules0000755000000000000000000000003612145413777010260 0ustar #!/usr/bin/make -f %: dh $@ debian/source/0000755000000000000000000000000012145413777010501 5ustar debian/source/format0000644000000000000000000000001412145413777011707 0ustar 3.0 (quilt) debian/repack.stub0000755000000000000000000000346412145413777011357 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sourced under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =head1 COPYRIGHT AND LICENSE Copyright 2009, Ryan Niebur License: Artistic or GPL-1+ =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://anonscm.debian.org/gitweb/?p=pkg-perl/scripts.git;a=blob_plain;f=repack.sh;hb=HEAD" exit 1 fi exec "$REPACK_SH" "$@" debian/libtap-formatter-html-perl.docs0000644000000000000000000000000512145413777015224 0ustar Todo debian/compat0000644000000000000000000000000212145413777010377 0ustar 8 debian/patches/0000755000000000000000000000000012145413777010630 5ustar debian/patches/series0000644000000000000000000000002612145413777012043 0ustar only_default_js.patch debian/patches/only_default_js.patch0000644000000000000000000000323612145413777015036 0ustar Description: Use only default_report.js as the jquery copies are removed in the +dfsg version of the package Origin: vendor Forwarded: no Author: Salvatore Bonaccorso Last-Update: 2013-05-17 --- a/lib/TAP/Formatter/HTML.pm +++ b/lib/TAP/Formatter/HTML.pm @@ -74,9 +74,7 @@ use constant default_session_class => 'TAP::Formatter::HTML::Session'; use constant default_template => 'TAP/Formatter/HTML/default_report.tt2'; -use constant default_js_uris => ['file:TAP/Formatter/HTML/jquery-1.4.2.min.js', - 'file:TAP/Formatter/HTML/jquery.tablesorter-2.0.3.min.js', - 'file:TAP/Formatter/HTML/default_report.js']; +use constant default_js_uris => ['file:TAP/Formatter/HTML/default_report.js']; use constant default_css_uris => ['file:TAP/Formatter/HTML/default_page.css', 'file:TAP/Formatter/HTML/default_report.css']; @@ -732,7 +730,7 @@ tags in the head of the document. Defaults to: - ['file:TAP/Formatter/HTML/jquery-1.2.6.pack.js']; + ['file:TAP/Formatter/HTML/default_report.js']; You can set this with the C environment variable. --- a/t/11_force_inline.t +++ b/t/11_force_inline.t @@ -21,7 +21,6 @@ my $html = $tmp->get_all_output; ok( $html =~ qr|01_pass|, 'html contains file 1' ); -ok( $html =~ qr|jQuery JavaScript Library v\d+.\d+.\d+|, 'html contains jQuery src' ); ok( $html =~ qr|default javascript for report|, 'html contains default js' ); ok( $html =~ qr|default stylesheet for report body|, 'html contains default css body' ); ok( $html =~ qr|default stylesheet for report page layout|, 'html contains default css page' ); debian/repack.local0000755000000000000000000000022412145413777011463 0ustar MANIFEST=1 rm examples/jquery-1.2.3.pack.js rm lib/TAP/Formatter/HTML/jquery.tablesorter-2.0.3.min.js rm lib/TAP/Formatter/HTML/jquery-1.4.2.min.js