r19322 - in /trunk/libuniversal-require-perl/debian: ./ changelog compat control copyright rules watch

yvesago-guest at users.alioth.debian.org yvesago-guest at users.alioth.debian.org
Thu May 1 13:39:49 UTC 2008


Author: yvesago-guest
Date: Thu May  1 13:39:49 2008
New Revision: 19322

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19322
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libuniversal-require-perl/debian/
    trunk/libuniversal-require-perl/debian/changelog
    trunk/libuniversal-require-perl/debian/compat
    trunk/libuniversal-require-perl/debian/control
    trunk/libuniversal-require-perl/debian/copyright
    trunk/libuniversal-require-perl/debian/rules   (with props)
    trunk/libuniversal-require-perl/debian/watch

Added: trunk/libuniversal-require-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-require-perl/debian/changelog?rev=19322&op=file
==============================================================================
--- trunk/libuniversal-require-perl/debian/changelog (added)
+++ trunk/libuniversal-require-perl/debian/changelog Thu May  1 13:39:49 2008
@@ -1,0 +1,5 @@
+libuniversal-require-perl (0.10-1) unstable; urgency=low
+
+  * Initial Release, closes: #333309.
+
+ -- Stephen Quinney <sjq at debian.org>  Mon,  7 Nov 2005 19:52:03 +0000

Added: trunk/libuniversal-require-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-require-perl/debian/compat?rev=19322&op=file
==============================================================================
--- trunk/libuniversal-require-perl/debian/compat (added)
+++ trunk/libuniversal-require-perl/debian/compat Thu May  1 13:39:49 2008
@@ -1,0 +1,3 @@
+4
+
+

Added: trunk/libuniversal-require-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-require-perl/debian/control?rev=19322&op=file
==============================================================================
--- trunk/libuniversal-require-perl/debian/control (added)
+++ trunk/libuniversal-require-perl/debian/control Thu May  1 13:39:49 2008
@@ -1,0 +1,33 @@
+Source: libuniversal-require-perl
+Section: perl
+Priority: optional
+Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-17)
+Maintainer: Stephen Quinney <sjq at debian.org>
+Standards-Version: 3.6.2
+
+Package: libuniversal-require-perl
+Architecture: all
+Depends: ${perl:Depends}
+Replaces: libuniversal-exports-perl
+Description: Load modules from a variable
+ This works exactly like the standard require in Perl, except without
+ the bareword restriction, and it does not die.  Since require() is
+ placed in the UNIVERSAL namespace, it will work on any module.  You
+ just have to use UNIVERSAL::require somewhere in your code.
+ .
+ If you have ever had to do this...
+ .
+    eval "require $module";
+ .
+ to get around the bareword caveats on require(), this module is for
+ you. It creates a universal require() class method that will work
+ with every Perl module and it is secure. So instead of doing some
+ arcane eval() work, you can do this:
+ .
+    $module->require;
+ .
+ It does not save you much typing, but it will make a lot more sense
+ to someone who is not a ninth level Perl acolyte.
+ .
+ Also provided is a use() method which works in a similar way.
+

Added: trunk/libuniversal-require-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-require-perl/debian/copyright?rev=19322&op=file
==============================================================================
--- trunk/libuniversal-require-perl/debian/copyright (added)
+++ trunk/libuniversal-require-perl/debian/copyright Thu May  1 13:39:49 2008
@@ -1,0 +1,23 @@
+This package was debianized by Stephen Quinney <sjq at debian.org>
+on Mon, 07 Nov 2005 19:53:02 +0000
+
+It was downloaded from http://www.cpan.org/authors/id/M/MS/MSCHWERN/
+
+The upstream author is: Michael G Schwern <schwern at pobox.com>.
+
+Copyright:
+
+    Copyright 2001, 2005 by Michael G Schwern <schwern at pobox.com>.
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of either:
+
+    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: trunk/libuniversal-require-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-require-perl/debian/rules?rev=19322&op=file
==============================================================================
--- trunk/libuniversal-require-perl/debian/rules (added)
+++ trunk/libuniversal-require-perl/debian/rules Thu May  1 13:39:49 2008
@@ -1,0 +1,70 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Define the perl interpreter
+
+PACKAGE = $(shell dh_listpackages)
+
+TMP     =`pwd`/debian/$(PACKAGE)
+
+PERL = /usr/bin/perl
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+
+	perl Makefile.PL verbose INSTALLDIRS=vendor
+
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+
+	$(MAKE)
+	$(MAKE) test
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	[ ! -e Makefile ] || $(MAKE) distclean
+
+	dh_clean build-stamp configure-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install PREFIX=$(TMP)/usr
+
+	# Remove any empty directories
+
+	find $(TMP)/usr -type d -empty -print0 | xargs --no-run-if-empty --null rmdir -p --ignore-fail-on-non-empty
+
+binary-arch: build install
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_perl
+	dh_installdocs
+	dh_installman
+	dh_installchangelogs Changes
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: trunk/libuniversal-require-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libuniversal-require-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-require-perl/debian/watch?rev=19322&op=file
==============================================================================
--- trunk/libuniversal-require-perl/debian/watch (added)
+++ trunk/libuniversal-require-perl/debian/watch Thu May  1 13:39:49 2008
@@ -1,0 +1,2 @@
+version=2
+http://www.cpan.org/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-(\d+\.\d+)\.tar\.gz debian uupdate




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