r1632 - in packages/libparams-check-perl/trunk: . debian

Krzysztof Krzyzaniak eloy at costa.debian.org
Wed Dec 14 13:25:21 UTC 2005


Author: eloy
Date: 2005-12-14 13:25:20 +0000 (Wed, 14 Dec 2005)
New Revision: 1632

Added:
   packages/libparams-check-perl/trunk/debian/
   packages/libparams-check-perl/trunk/debian/changelog
   packages/libparams-check-perl/trunk/debian/compat
   packages/libparams-check-perl/trunk/debian/control
   packages/libparams-check-perl/trunk/debian/copyright
   packages/libparams-check-perl/trunk/debian/rules
   packages/libparams-check-perl/trunk/debian/watch
Log:
Load libparams-check-perl-0.23 into
packages/libparams-check-perl/trunk.


Added: packages/libparams-check-perl/trunk/debian/changelog
===================================================================
--- packages/libparams-check-perl/trunk/debian/changelog	2005-12-14 13:25:00 UTC (rev 1631)
+++ packages/libparams-check-perl/trunk/debian/changelog	2005-12-14 13:25:20 UTC (rev 1632)
@@ -0,0 +1,6 @@
+libparams-check-perl (0.23-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  Mon, 12 Dec 2005 17:14:56 +0100
+

Added: packages/libparams-check-perl/trunk/debian/compat
===================================================================
--- packages/libparams-check-perl/trunk/debian/compat	2005-12-14 13:25:00 UTC (rev 1631)
+++ packages/libparams-check-perl/trunk/debian/compat	2005-12-14 13:25:20 UTC (rev 1632)
@@ -0,0 +1 @@
+4

Added: packages/libparams-check-perl/trunk/debian/control
===================================================================
--- packages/libparams-check-perl/trunk/debian/control	2005-12-14 13:25:00 UTC (rev 1631)
+++ packages/libparams-check-perl/trunk/debian/control	2005-12-14 13:25:20 UTC (rev 1632)
@@ -0,0 +1,25 @@
+Source: libparams-check-perl
+Section: perl
+Priority: optional
+Build-Depends-Indep: perl (>= 5.8.0-7), debhelper (>= 4.0.2), liblocale-maketext-simple-perl
+Maintainer: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+Standards-Version: 3.6.2
+
+Package: libparams-check-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, liblocale-maketext-simple-perl
+Description: A generic input parsing/checking mechanism.
+ Params::Check is a generic input parsing/checking mechanism.
+ .
+ It allows you to validate input via a template. The only requirement
+ is that the arguments must be named.
+ .
+ Params::Check can do the following things for you:
+  * Convert all keys to lowercase
+  * Check if all required arguments have been provided
+  * Set arguments that have not been provided to the default
+  * Weed out arguments that are not supported and warn
+    about them to the user
+  * Validate the arguments given by the user based on strings,
+    regexes, lists or even subroutines
+  * Enforce type integrity if required

Added: packages/libparams-check-perl/trunk/debian/copyright
===================================================================
--- packages/libparams-check-perl/trunk/debian/copyright	2005-12-14 13:25:00 UTC (rev 1631)
+++ packages/libparams-check-perl/trunk/debian/copyright	2005-12-14 13:25:20 UTC (rev 1632)
@@ -0,0 +1,25 @@
+This is the debian package for the Params-Check module.
+It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org>.
+
+http://search.cpan.org/~kane/Params-Check-0.23/
+
+The upstream author is: Jos Boumans <kane at cpan.org>
+
+This module is
+copyright (c) 2003,2004 Jos Boumans <kane at cpan.org>.
+All rights reserved.
+
+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/libparams-check-perl/trunk/debian/rules
===================================================================
--- packages/libparams-check-perl/trunk/debian/rules	2005-12-14 13:25:00 UTC (rev 1631)
+++ packages/libparams-check-perl/trunk/debian/rules	2005-12-14 13:25:20 UTC (rev 1632)
@@ -0,0 +1,73 @@
+#!/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.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+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
+
+	# As this is a architecture independent package, we are not
+	# supposed to install stuff to /usr/lib. MakeMaker creates
+	# the dirs, we delete them from the deb:
+	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 README
+	dh_installchangelogs CHANGES
+	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/libparams-check-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libparams-check-perl/trunk/debian/watch
===================================================================
--- packages/libparams-check-perl/trunk/debian/watch	2005-12-14 13:25:00 UTC (rev 1631)
+++ packages/libparams-check-perl/trunk/debian/watch	2005-12-14 13:25:20 UTC (rev 1632)
@@ -0,0 +1,3 @@
+# format version number, currently 2; this line is compulsory!
+version=2
+ftp://ftp.icm.edu.pl/mirrors/ftp.cpan.org/pub/CPAN/modules/by-module/Params/Params-Check-([\.\d]+).tar.gz




More information about the Pkg-perl-cvs-commits mailing list