r20824 - in /trunk/libclass-multimethods-perl: debian/ debian/patches/ demo/

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jun 7 15:15:23 UTC 2008


Author: gregoa
Date: Sat Jun  7 15:15:22 2008
New Revision: 20824

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20824
Log:
* Split out changes in the demo scripts into hashbang.patch; add quilt
  framework.
* Remove debian/libclass-multimethods-perl.* and install docs/examples from
  debian/rules.
* Refresh debian/rules, no functional changes.
* Remove execute bit from /usr/share/perl5/Class/Multimethods.pod.

Added:
    trunk/libclass-multimethods-perl/debian/patches/
    trunk/libclass-multimethods-perl/debian/patches/hashbang.patch
    trunk/libclass-multimethods-perl/debian/patches/series
Removed:
    trunk/libclass-multimethods-perl/debian/libclass-multimethods-perl.docs
    trunk/libclass-multimethods-perl/debian/libclass-multimethods-perl.examples
Modified:
    trunk/libclass-multimethods-perl/debian/changelog
    trunk/libclass-multimethods-perl/debian/control
    trunk/libclass-multimethods-perl/debian/rules
    trunk/libclass-multimethods-perl/demo/demo.ambig.pl
    trunk/libclass-multimethods-perl/demo/demo.analyse.pl
    trunk/libclass-multimethods-perl/demo/demo.global.pl
    trunk/libclass-multimethods-perl/demo/demo.multi.pl
    trunk/libclass-multimethods-perl/demo/demo.numstr.pl
    trunk/libclass-multimethods-perl/demo/demo.super.pl

Modified: trunk/libclass-multimethods-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/changelog?rev=20824&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/debian/changelog (original)
+++ trunk/libclass-multimethods-perl/debian/changelog Sat Jun  7 15:15:22 2008
@@ -1,3 +1,14 @@
+libclass-multimethods-perl (1.70-6) UNRELEASED; urgency=low
+
+  * Split out changes in the demo scripts into hashbang.patch; add quilt
+    framework.
+  * Remove debian/libclass-multimethods-perl.* and install docs/examples from
+    debian/rules.
+  * Refresh debian/rules, no functional changes.
+  * Remove execute bit from /usr/share/perl5/Class/Multimethods.pod.
+
+ -- gregor herrmann <gregoa at debian.org>  Sat, 07 Jun 2008 17:08:07 +0200
+
 libclass-multimethods-perl (1.70-5) unstable; urgency=low
 
   [ gregor herrmann ]

Modified: trunk/libclass-multimethods-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/control?rev=20824&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/debian/control (original)
+++ trunk/libclass-multimethods-perl/debian/control Sat Jun  7 15:15:22 2008
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jay Bonci <jaybonci at debian.org>, Gunnar Wolf <gwolf at debian.org>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), quilt (>= 0.40)
 Build-Depends-Indep: perl (>= 5.6.0-16)
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Class-Multimethods/

Added: trunk/libclass-multimethods-perl/debian/patches/hashbang.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/patches/hashbang.patch?rev=20824&op=file
==============================================================================
--- trunk/libclass-multimethods-perl/debian/patches/hashbang.patch (added)
+++ trunk/libclass-multimethods-perl/debian/patches/hashbang.patch Sat Jun  7 15:15:22 2008
@@ -1,0 +1,48 @@
+Author: Jay Bonci <jaybonci at debian.org>
+Description: fix hashbang in examples
+
+--- libclass-multimethods-perl.orig/demo/demo.ambig.pl
++++ libclass-multimethods-perl/demo/demo.ambig.pl
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use 5.005;
+ 
+ use Class::Multimethods;
+--- libclass-multimethods-perl.orig/demo/demo.analyse.pl
++++ libclass-multimethods-perl/demo/demo.analyse.pl
+@@ -1,3 +1,5 @@
++#!/usr/bin/perl
++
+ use 5.005;
+ 
+ # SET UP A WINDOW HIERARCHY
+--- libclass-multimethods-perl.orig/demo/demo.global.pl
++++ libclass-multimethods-perl/demo/demo.global.pl
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use 5.005;
+ 
+ # SET UP A WINDOW HIERARCHY
+--- libclass-multimethods-perl.orig/demo/demo.multi.pl
++++ libclass-multimethods-perl/demo/demo.multi.pl
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl -w
+ use 5.005;
+ 
+ # SET UP A WINDOW HIERARCHY
+--- libclass-multimethods-perl.orig/demo/demo.numstr.pl
++++ libclass-multimethods-perl/demo/demo.numstr.pl
+@@ -1,4 +1,4 @@
+-#! /usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ 
+ use Class::Multimethods;
+ 
+--- libclass-multimethods-perl.orig/demo/demo.super.pl
++++ libclass-multimethods-perl/demo/demo.super.pl
+@@ -1,4 +1,4 @@
+-#! /usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ 
+ package Ancestor;
+ 

Added: trunk/libclass-multimethods-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/patches/series?rev=20824&op=file
==============================================================================
--- trunk/libclass-multimethods-perl/debian/patches/series (added)
+++ trunk/libclass-multimethods-perl/debian/patches/series Sat Jun  7 15:15:22 2008
@@ -1,0 +1,1 @@
+hashbang.patch

Modified: trunk/libclass-multimethods-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/rules?rev=20824&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/debian/rules (original)
+++ trunk/libclass-multimethods-perl/debian/rules Sat Jun  7 15:15:22 2008
@@ -11,24 +11,24 @@
 # always return the default without waiting for user input.
 export PERL_MM_USE_DEFAULT=1
 
+include /usr/share/quilt/quilt.make
+
 PERL   ?= /usr/bin/perl
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp
-	# Add commands to clean up after the build process here
 	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
@@ -36,8 +36,9 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	# Add commands to install the package into $(TMP) here
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -f $(TMP)/usr/share/perl5/Class/Multimethods.pod ] || \
+		chmod 644 $(TMP)/usr/share/perl5/Class/Multimethods.pod
 	[ ! -d $(TMP)/usr/lib/perl5 ] || \
 		rmdir --ignore-fail-on-non-empty --parents --verbose \
 		$(TMP)/usr/lib/perl5
@@ -49,8 +50,8 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installexamples 
-	dh_installdocs 
+	dh_installexamples demo/*
+	dh_installdocs tutorial.html
 	dh_installchangelogs Changes
 	dh_perl
 	dh_compress

Modified: trunk/libclass-multimethods-perl/demo/demo.ambig.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/demo/demo.ambig.pl?rev=20824&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/demo/demo.ambig.pl (original)
+++ trunk/libclass-multimethods-perl/demo/demo.ambig.pl Sat Jun  7 15:15:22 2008
@@ -1,4 +1,3 @@
-#!/usr/bin/perl
 use 5.005;
 
 use Class::Multimethods;

Modified: trunk/libclass-multimethods-perl/demo/demo.analyse.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/demo/demo.analyse.pl?rev=20824&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/demo/demo.analyse.pl (original)
+++ trunk/libclass-multimethods-perl/demo/demo.analyse.pl Sat Jun  7 15:15:22 2008
@@ -1,5 +1,3 @@
-#!/usr/bin/perl
-
 use 5.005;
 
 # SET UP A WINDOW HIERARCHY

Modified: trunk/libclass-multimethods-perl/demo/demo.global.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/demo/demo.global.pl?rev=20824&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/demo/demo.global.pl (original)
+++ trunk/libclass-multimethods-perl/demo/demo.global.pl Sat Jun  7 15:15:22 2008
@@ -1,4 +1,3 @@
-#!/usr/bin/perl
 use 5.005;
 
 # SET UP A WINDOW HIERARCHY

Modified: trunk/libclass-multimethods-perl/demo/demo.multi.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/demo/demo.multi.pl?rev=20824&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/demo/demo.multi.pl (original)
+++ trunk/libclass-multimethods-perl/demo/demo.multi.pl Sat Jun  7 15:15:22 2008
@@ -1,4 +1,3 @@
-#!/usr/bin/perl -w
 use 5.005;
 
 # SET UP A WINDOW HIERARCHY

Modified: trunk/libclass-multimethods-perl/demo/demo.numstr.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/demo/demo.numstr.pl?rev=20824&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/demo/demo.numstr.pl (original)
+++ trunk/libclass-multimethods-perl/demo/demo.numstr.pl Sat Jun  7 15:15:22 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#! /usr/local/bin/perl -w
 
 use Class::Multimethods;
 

Modified: trunk/libclass-multimethods-perl/demo/demo.super.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/demo/demo.super.pl?rev=20824&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/demo/demo.super.pl (original)
+++ trunk/libclass-multimethods-perl/demo/demo.super.pl Sat Jun  7 15:15:22 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#! /usr/local/bin/perl -w
 
 package Ancestor;
 




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