r2685 - in /packages/libuniversal-can-perl/trunk/debian: ./ changelog compat control copyright rules watch

eloy at users.alioth.debian.org eloy at users.alioth.debian.org
Sat May 6 13:36:26 UTC 2006


Author: eloy
Date: Sat May  6 13:36:25 2006
New Revision: 2685

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=2685
Log:
Load libuniversal-can-perl-1.12 into
packages/libuniversal-can-perl/trunk.

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

Added: packages/libuniversal-can-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libuniversal-can-perl/trunk/debian/changelog?rev=2685&op=file
==============================================================================
--- packages/libuniversal-can-perl/trunk/debian/changelog (added)
+++ packages/libuniversal-can-perl/trunk/debian/changelog Sat May  6 13:36:25 2006
@@ -1,0 +1,6 @@
+libuniversal-can-perl (1.12-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  Sat,  6 May 2006 14:52:10 +0200
+

Added: packages/libuniversal-can-perl/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libuniversal-can-perl/trunk/debian/compat?rev=2685&op=file
==============================================================================
--- packages/libuniversal-can-perl/trunk/debian/compat (added)
+++ packages/libuniversal-can-perl/trunk/debian/compat Sat May  6 13:36:25 2006
@@ -1,0 +1,1 @@
+4

Added: packages/libuniversal-can-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libuniversal-can-perl/trunk/debian/control?rev=2685&op=file
==============================================================================
--- packages/libuniversal-can-perl/trunk/debian/control (added)
+++ packages/libuniversal-can-perl/trunk/debian/control Sat May  6 13:36:25 2006
@@ -1,0 +1,33 @@
+Source: libuniversal-can-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), libmodule-build-perl
+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.7.2
+
+Package: libuniversal-can-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, 
+Description: Safer version of UNIVERSAL::can.
+ The UNIVERSAL class provides a few default methods so that all objects can
+ use them. Object orientation allows programmers to override these methods in
+ subclasses to provide more specific and appropriate behavior.
+ .
+ Some authors call methods in the UNIVERSAL class on potential invocants as
+ functions, bypassing any possible overriding. This is wrong and one should
+ not do it. Unfortunately, not everyone heeds this warning and their bad code
+ can break good code.
+ .
+ This module replaces UNIVERSAL::can() with a method that checks to see if
+ the first argument is a valid invocant (whether an object -- a blessed
+ referent -- or the name of a class). If so, and if the invocant's class has
+ its own can() method, it calls that as a method. Otherwise, everything works
+ as you might expect.
+ .
+ If someone attempts to call UNIVERSAL::can() as a function, this module will
+ emit a lexical warning (see perllexwarn) to that effect. You can disable it
+ with no warnings; or no warnings 'UNIVERSAL::isa';, but don't do that; fix
+ the code instead.
+ 

Added: packages/libuniversal-can-perl/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libuniversal-can-perl/trunk/debian/copyright?rev=2685&op=file
==============================================================================
--- packages/libuniversal-can-perl/trunk/debian/copyright (added)
+++ packages/libuniversal-can-perl/trunk/debian/copyright Sat May  6 13:36:25 2006
@@ -1,0 +1,27 @@
+This is the debian package for the UNIVERSAL-can module.
+It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org> using dh-make-perl.
+
+It was downloaded from:
+
+http://search.cpan.org/~chromatic/UNIVERSAL-can-1.12/
+
+The upstream author is: chromatic <chromatic at wgz.org>.
+
+Inspired by UNIVERSAL::isa by Yuval Kogman, Autrijus Tang, and myself.
+
+Copyright (c) 2005 - 2006 chromatic. 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/libuniversal-can-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libuniversal-can-perl/trunk/debian/rules?rev=2685&op=file
==============================================================================
--- packages/libuniversal-can-perl/trunk/debian/rules (added)
+++ packages/libuniversal-can-perl/trunk/debian/rules Sat May  6 13:36:25 2006
@@ -1,0 +1,65 @@
+#!/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.
+#
+# It was later modified by Jason Kohles <email at jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
+
+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) Build.PL installdirs=vendor
+	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	[ ! -f Build ] || $(PERL) Build distclean
+	dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	$(PERL) Build test
+	$(PERL) Build install destdir=$(TMP)
+	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

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

Added: packages/libuniversal-can-perl/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libuniversal-can-perl/trunk/debian/watch?rev=2685&op=file
==============================================================================
--- packages/libuniversal-can-perl/trunk/debian/watch (added)
+++ packages/libuniversal-can-perl/trunk/debian/watch Sat May  6 13:36:25 2006
@@ -1,0 +1,3 @@
+# format version number, currently 2; this line is compulsory!
+version=2
+http://www.cpan.org/modules/by-module/UNIVERSAL/UNIVERSAL-can-(.*).(tar.gz|tar|tgz)




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