r1741 - in packages/libreturn-value-perl/trunk: . debian

Krzysztof Krzyzaniak eloy at costa.debian.org
Sat Dec 24 15:10:40 UTC 2005


Author: eloy
Date: 2005-12-24 15:10:40 +0000 (Sat, 24 Dec 2005)
New Revision: 1741

Added:
   packages/libreturn-value-perl/trunk/debian/
   packages/libreturn-value-perl/trunk/debian/changelog
   packages/libreturn-value-perl/trunk/debian/compat
   packages/libreturn-value-perl/trunk/debian/control
   packages/libreturn-value-perl/trunk/debian/copyright
   packages/libreturn-value-perl/trunk/debian/rules
   packages/libreturn-value-perl/trunk/debian/watch
Log:
Load libreturn-value-perl-1.30 into
packages/libreturn-value-perl/trunk.


Added: packages/libreturn-value-perl/trunk/debian/changelog
===================================================================
--- packages/libreturn-value-perl/trunk/debian/changelog	2005-12-24 15:10:27 UTC (rev 1740)
+++ packages/libreturn-value-perl/trunk/debian/changelog	2005-12-24 15:10:40 UTC (rev 1741)
@@ -0,0 +1,6 @@
+libreturn-value-perl (1.30-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  Sat, 24 Dec 2005 15:53:12 +0100
+

Added: packages/libreturn-value-perl/trunk/debian/compat
===================================================================
--- packages/libreturn-value-perl/trunk/debian/compat	2005-12-24 15:10:27 UTC (rev 1740)
+++ packages/libreturn-value-perl/trunk/debian/compat	2005-12-24 15:10:40 UTC (rev 1741)
@@ -0,0 +1 @@
+4

Added: packages/libreturn-value-perl/trunk/debian/control
===================================================================
--- packages/libreturn-value-perl/trunk/debian/control	2005-12-24 15:10:27 UTC (rev 1740)
+++ packages/libreturn-value-perl/trunk/debian/control	2005-12-24 15:10:40 UTC (rev 1741)
@@ -0,0 +1,25 @@
+Source: libreturn-value-perl
+Section: perl
+Priority: optional
+Build-Depends-Indep: perl (>= 5.8.0-7), debhelper (>= 4.0.2)
+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: libreturn-value-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, 
+Description:  Polymorphic Return Values
+ Polymorphic return values are really useful.  Often, we just want to know if
+ something worked or not.  Other times, we'd like to know what the error text
+ was.  Still others, we may want to know what the error code was, and what the
+ error properties were.  We don't want to handle objects or data structures for
+ every single return value, but we do want to check error conditions in our code
+ because that's what good programmers do.
+ .
+ When functions are successful they may return true, or perhaps some useful
+ data.  In the quest to provide consistent return values, this gets confusing
+ between complex, informational errors and successful return values.
+ .
+ This module provides these features with a simple API that should get you what
+ you're looking for in each contex a return value is used in.

Added: packages/libreturn-value-perl/trunk/debian/copyright
===================================================================
--- packages/libreturn-value-perl/trunk/debian/copyright	2005-12-24 15:10:27 UTC (rev 1740)
+++ packages/libreturn-value-perl/trunk/debian/copyright	2005-12-24 15:10:40 UTC (rev 1741)
@@ -0,0 +1,24 @@
+This is the debian package for the Return-Value module.
+It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+
+It was downloaded from http://search.cpan.org/~rjbs/Return-Value-1.30/ 
+
+The upstream author is: 
+Casey West, <casey at geeknest.com>, Ricardo Signes, <rjbs at cpan.org>
+
+Copyright (c) 2004 Casey West and Ricardo SIGNES.  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/libreturn-value-perl/trunk/debian/rules
===================================================================
--- packages/libreturn-value-perl/trunk/debian/rules	2005-12-24 15:10:27 UTC (rev 1740)
+++ packages/libreturn-value-perl/trunk/debian/rules	2005-12-24 15:10:40 UTC (rev 1741)
@@ -0,0 +1,69 @@
+#!/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.
+
+# 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_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/libreturn-value-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libreturn-value-perl/trunk/debian/watch
===================================================================
--- packages/libreturn-value-perl/trunk/debian/watch	2005-12-24 15:10:27 UTC (rev 1740)
+++ packages/libreturn-value-perl/trunk/debian/watch	2005-12-24 15:10:40 UTC (rev 1741)
@@ -0,0 +1,3 @@
+# format version number, currently 2; this line is compulsory!
+version=2
+http://www.cpan.org/modules/by-module/Return/Return-Value-(.*).(tar.gz|tar|tgz)




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