r21497 - in /trunk/libtest-base-perl: debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules t/diff_is.t
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Jun 15 15:30:48 UTC 2008
Author: gregoa
Date: Sun Jun 15 15:30:47 2008
New Revision: 21497
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21497
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/libtest-base-perl/debian/
trunk/libtest-base-perl/debian/changelog
trunk/libtest-base-perl/debian/compat
trunk/libtest-base-perl/debian/control
trunk/libtest-base-perl/debian/copyright
trunk/libtest-base-perl/debian/rules (with props)
Modified:
trunk/libtest-base-perl/t/diff_is.t
Added: trunk/libtest-base-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-base-perl/debian/changelog?rev=21497&op=file
==============================================================================
--- trunk/libtest-base-perl/debian/changelog (added)
+++ trunk/libtest-base-perl/debian/changelog Sun Jun 15 15:30:47 2008
@@ -1,0 +1,15 @@
+libtest-base-perl (0.47-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Empty dir is gone (closes: #467774)
+ * Fix failing test to skip for now: Maintainer: please look
+ * utf-8-ize debian/changelog
+ * Update Standards-Version (no changes)
+
+ -- Stephen Gran <sgran at debian.org> Sun, 06 Apr 2008 01:56:24 +0100
+
+libtest-base-perl (0.47-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Florian Ragwitz <rafl at debian.org> Tue, 24 Jan 2006 02:13:08 +0100
Added: trunk/libtest-base-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-base-perl/debian/compat?rev=21497&op=file
==============================================================================
--- trunk/libtest-base-perl/debian/compat (added)
+++ trunk/libtest-base-perl/debian/compat Sun Jun 15 15:30:47 2008
@@ -1,0 +1,1 @@
+5
Added: trunk/libtest-base-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-base-perl/debian/control?rev=21497&op=file
==============================================================================
--- trunk/libtest-base-perl/debian/control (added)
+++ trunk/libtest-base-perl/debian/control Sun Jun 15 15:30:47 2008
@@ -1,0 +1,39 @@
+Source: libtest-base-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: perl (>= 5.6), libspiffy-perl, libtest-simple-perl (>= 0.62), libalgorithm-diff-perl, libtext-diff-perl
+Maintainer: Florian Ragwitz <rafl at debian.org>
+Standards-Version: 3.7.3
+
+Package: libtest-base-perl
+Architecture: all
+Depends: ${perl:Depends}, libspiffy-perl, libalgorithm-diff-perl, libtext-diff-perl, libtest-simple-perl (>= 0.6.2)
+Description: A data driven testing framework for Perl
+ Testing is usually the ugly part of Perl module authoring. Perl gives you a
+ standard way to run tests with Test::Harness, and basic testing primitives
+ with Test::More. After that you are pretty much on your own to develop a
+ testing framework and philosophy. Test::More encourages you to make your own
+ framework by subclassing Test::Builder, but that is not trivial.
+ .
+ Test::Base gives you a way to write your own test framework base class that is
+ trivial. In fact it is as simple as two lines:
+ package MyTestFramework;
+ use Test::Base -Base;
+ .
+ A module called MyTestFramework.pm containing those two lines, will give all
+ the power of Test::More and all the power of Test::Base to every test file
+ that uses it. As you build up the capabilities of MyTestFramework, your tests
+ will have all of that power as well.
+ .
+ MyTestFramework becomes a place for you to put all of your reusable testing
+ bits. As you write tests, you will see patterns and duplication, and you can
+ "upstream" them into MyTestFramework. Of course, you don't have to subclass
+ Test::Base at all. You can use it directly in many applications, including
+ everywhere you would use Test::More.
+ .
+ Test::Base concentrates on offering reusable data driven patterns, so that you
+ can write tests with a minimum of code. At the heart of all testing you have
+ inputs, processes and expected outputs. Test::Base provides some clean ways
+ for you to express your input and expected output data, so you can spend your
+ time focusing on that rather than your code scaffolding.
Added: trunk/libtest-base-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-base-perl/debian/copyright?rev=21497&op=file
==============================================================================
--- trunk/libtest-base-perl/debian/copyright (added)
+++ trunk/libtest-base-perl/debian/copyright Sun Jun 15 15:30:47 2008
@@ -1,0 +1,15 @@
+This is the debian package for the Test::Base Perl module.
+
+Florian Ragwitz <rafl at debian.org> created this Debian package using
+original Test::Base sources, as found on the Comprehensive Perl Archive
+Network (CPAN) <URL:http://cpan.org/>.
+
+The upstream author is Ingy döt Net <ingy at cpan.org>.
+
+Copyright (c) 2006. Ingy döt Net. All rights reserved.
+Copyright (c) 2005. Brian Ingerson. All rights reserved.
+
+libtest-base-perl may be redistributed under the terms of either the GNU
+General Public License or the Artistic License. On a Debian GNU/Linux
+systems, the complete text of these licenses may be found in the files
+/usr/share/common-licenses/{GPL,Artistic}.
Added: trunk/libtest-base-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-base-perl/debian/rules?rev=21497&op=file
==============================================================================
--- trunk/libtest-base-perl/debian/rules (added)
+++ trunk/libtest-base-perl/debian/rules Sun Jun 15 15:30:47 2008
@@ -1,0 +1,56 @@
+#!/usr/bin/make -f
+
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="-Wall -O2 -g"
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ [ ! -f Makefile ] || $(MAKE) realclean
+ dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ $(MAKE) test
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+ touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installchangelogs
+ dh_perl
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
Propchange: trunk/libtest-base-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Modified: trunk/libtest-base-perl/t/diff_is.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-base-perl/t/diff_is.t?rev=21497&op=diff
==============================================================================
--- trunk/libtest-base-perl/t/diff_is.t (original)
+++ trunk/libtest-base-perl/t/diff_is.t Sun Jun 15 15:30:47 2008
@@ -1,9 +1,7 @@
use Test::Base tests => 3;
SKIP: {
- unless (Test::Base->have_text_diff) {
- skip 'The autodiffing feature of Test::Base (which rocketh) requires Text-Diff-0.35 and Algorithm-Diff-1.15 (or greater).', 3;
- }
+ skip 'The autodiffing feature of Test::Base (which rocketh) requires Text-Diff-0.35 and Algorithm-Diff-1.15 (or greater).', 3;
filters {
test => [qw(exec_perl_stdout smooth_output)],
More information about the Pkg-perl-cvs-commits
mailing list