r6888 - in /trunk/libnamespace-clean-perl/debian: ./ changelog compat control copyright rules watch

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Aug 17 20:23:57 UTC 2007


Author: dmn
Date: Fri Aug 17 20:23:56 2007
New Revision: 6888

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

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

Added: trunk/libnamespace-clean-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnamespace-clean-perl/debian/changelog?rev=6888&op=file
==============================================================================
--- trunk/libnamespace-clean-perl/debian/changelog (added)
+++ trunk/libnamespace-clean-perl/debian/changelog Fri Aug 17 20:23:56 2007
@@ -1,0 +1,5 @@
+libnamespace-clean-perl (0.05-1) UNRELEASED; urgency=low
+
+  * Initial Release (Closes: #438490 -- ITP)
+
+ -- Damyan Ivanov <dmn at debian.org>  Fri, 17 Aug 2007 23:22:08 +0300

Added: trunk/libnamespace-clean-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libnamespace-clean-perl/debian/compat?rev=6888&op=file
==============================================================================
--- trunk/libnamespace-clean-perl/debian/compat (added)
+++ trunk/libnamespace-clean-perl/debian/compat Fri Aug 17 20:23:56 2007
@@ -1,0 +1,1 @@
+5

Added: trunk/libnamespace-clean-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libnamespace-clean-perl/debian/control?rev=6888&op=file
==============================================================================
--- trunk/libnamespace-clean-perl/debian/control (added)
+++ trunk/libnamespace-clean-perl/debian/control Fri Aug 17 20:23:56 2007
@@ -1,0 +1,22 @@
+Source: libnamespace-clean-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: perl (>= 5.8.8-7), libfilter-eof-perl (>= 0.02)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Damyan Ivanov <dmn at debian.org>
+Standards-Version: 3.7.2
+
+Package: libnamespace-clean-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description: Keep imports and functions out of your namespace
+ When you define a function, or import one, into a Perl package, it will
+ naturally also be available as a method. This does not per se cause problems,
+ but it can complicate subclassing and, for example, plugin classes that are
+ included via multiple inheritance by loading them as base classes.
+ .
+ The "namespace::clean" pragma will remove all previously declared or imported
+ symbols at the end of the current package's compile cycle.  Functions called
+ in the package itself will still be bound by their name, but they won't show
+ up as methods on your class or instances.

Added: trunk/libnamespace-clean-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libnamespace-clean-perl/debian/copyright?rev=6888&op=file
==============================================================================
--- trunk/libnamespace-clean-perl/debian/copyright (added)
+++ trunk/libnamespace-clean-perl/debian/copyright Fri Aug 17 20:23:56 2007
@@ -1,0 +1,30 @@
+This is the debian package for the namespace-clean module.
+It was created by Damyan Ivanov <dmn at debian.org> using dh-make-perl.
+
+It was downloaded from http://www.cpan.org/authors/id/P/PH/PHAYLON/
+
+AUTHOR AND COPYRIGHT
+    Copyright (c) 2007 Robert 'phaylon' Sedlacek "<rs at 474.at>", with many
+    thanks to Matt S Trout for the inspiration on the whole idea.
+
+LICENSE
+    This program is free software; you can redistribute it and/or modify it
+    under the same terms as perl itself.
+
+
+Perl license is:
+    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'.
+
+The Debian packaging is (C) 2007, Damyan Ivanov <dmn at debian.org> and
+is licensed under the same terms as the software itself (see above).

Added: trunk/libnamespace-clean-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnamespace-clean-perl/debian/rules?rev=6888&op=file
==============================================================================
--- trunk/libnamespace-clean-perl/debian/rules (added)
+++ trunk/libnamespace-clean-perl/debian/rules Fri Aug 17 20:23:56 2007
@@ -1,0 +1,75 @@
+#!/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_AUTOINSTALL="--skip" $(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+
+	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) 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
+	dh_installchangelogs Changes
+	dh_perl
+	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: trunk/libnamespace-clean-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libnamespace-clean-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libnamespace-clean-perl/debian/watch?rev=6888&op=file
==============================================================================
--- trunk/libnamespace-clean-perl/debian/watch (added)
+++ trunk/libnamespace-clean-perl/debian/watch Fri Aug 17 20:23:56 2007
@@ -1,0 +1,2 @@
+version=3
+http://www.cpan.org/modules/by-module/namespace/namespace-clean-(.*).(tar.gz|tar|tgz)




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