r2312 - in packages/libtest-use-ok-perl/trunk: . debian
Krzysztof Krzyzaniak
eloy at costa.debian.org
Sat Mar 11 13:54:32 UTC 2006
Author: eloy
Date: 2006-03-11 13:54:31 +0000 (Sat, 11 Mar 2006)
New Revision: 2312
Added:
packages/libtest-use-ok-perl/trunk/debian/
packages/libtest-use-ok-perl/trunk/debian/changelog
packages/libtest-use-ok-perl/trunk/debian/compat
packages/libtest-use-ok-perl/trunk/debian/control
packages/libtest-use-ok-perl/trunk/debian/copyright
packages/libtest-use-ok-perl/trunk/debian/rules
packages/libtest-use-ok-perl/trunk/debian/watch
Log:
Load libtest-use-ok-perl-0.01 into packages/libtest-use-ok-perl/trunk.
Added: packages/libtest-use-ok-perl/trunk/debian/changelog
===================================================================
--- packages/libtest-use-ok-perl/trunk/debian/changelog 2006-03-11 13:54:18 UTC (rev 2311)
+++ packages/libtest-use-ok-perl/trunk/debian/changelog 2006-03-11 13:54:31 UTC (rev 2312)
@@ -0,0 +1,6 @@
+libtest-use-ok-perl (0.01-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org> Sat, 11 Mar 2006 11:50:59 +0100
+
Added: packages/libtest-use-ok-perl/trunk/debian/compat
===================================================================
--- packages/libtest-use-ok-perl/trunk/debian/compat 2006-03-11 13:54:18 UTC (rev 2311)
+++ packages/libtest-use-ok-perl/trunk/debian/compat 2006-03-11 13:54:31 UTC (rev 2312)
@@ -0,0 +1 @@
+4
Added: packages/libtest-use-ok-perl/trunk/debian/control
===================================================================
--- packages/libtest-use-ok-perl/trunk/debian/control 2006-03-11 13:54:18 UTC (rev 2311)
+++ packages/libtest-use-ok-perl/trunk/debian/control 2006-03-11 13:54:31 UTC (rev 2312)
@@ -0,0 +1,24 @@
+Source: libtest-use-ok-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2)
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+Standards-Version: 3.6.2
+
+Package: libtest-use-ok-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends},
+Description: Alternative to Test::More::use_ok
+ According to the Test::More documentation, it is recommended to run use_ok()
+ inside a BEGIN block, so functions are exported at compile-time and
+ prototypes are properly honored.
+ .
+ However, people often either forget to add BEGIN, or mistakenly group use_ok
+ with other tests in a single BEGIN block, which can create subtle differences
+ in execution order.
+ .
+ With this module, simply change all use_ok in test scripts to use ok, and
+ they will be executed at BEGIN time. The explicit space after use makes it
+ clear that this is a single compile-time action.
Added: packages/libtest-use-ok-perl/trunk/debian/copyright
===================================================================
--- packages/libtest-use-ok-perl/trunk/debian/copyright 2006-03-11 13:54:18 UTC (rev 2311)
+++ packages/libtest-use-ok-perl/trunk/debian/copyright 2006-03-11 13:54:31 UTC (rev 2312)
@@ -0,0 +1,22 @@
+This is the debian package for the Test-use-ok module.
+It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org> using dh-make-perl.
+
+It was downloaded from:
+http://mirrors.kernel.org/cpan/modules/by-module/Test/Test-use-ok-0.01.tar.gz
+
+Copyright 2005 by Autrijus Tang <autrijus at autrijus.org>.
+
+This program is free software, you can redistribute it and/or modify it under
+the same terms as Perl itself.
+
+Perl is distributed under licenses:
+
+ a) the GNU General Public License as published by the Free Software
+ Foundation; either version 1, or (at your option) any later
+ version, or
+
+ b) the "Artistic License" which comes with Perl.
+
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in /usr/share/common-licenses/GPL' and
+ the Artistic Licence in /usr/share/common-licenses/Artistic'.
Added: packages/libtest-use-ok-perl/trunk/debian/rules
===================================================================
--- packages/libtest-use-ok-perl/trunk/debian/rules 2006-03-11 13:54:18 UTC (rev 2311)
+++ packages/libtest-use-ok-perl/trunk/debian/rules 2006-03-11 13:54:31 UTC (rev 2312)
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+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
+ 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_installexamples
+ dh_installdocs
+ dh_installchangelogs
+ dh_perl
+ dh_link
+ dh_strip
+ 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
Property changes on: packages/libtest-use-ok-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/libtest-use-ok-perl/trunk/debian/watch
===================================================================
--- packages/libtest-use-ok-perl/trunk/debian/watch 2006-03-11 13:54:18 UTC (rev 2311)
+++ packages/libtest-use-ok-perl/trunk/debian/watch 2006-03-11 13:54:31 UTC (rev 2312)
@@ -0,0 +1,3 @@
+version=3
+http://mirrors.kernel.org/cpan/modules/by-module/Test/Test-use-ok-([\d\.]+)\.tar\.gz
+
More information about the Pkg-perl-cvs-commits
mailing list