r20911 - in /trunk/libfilehandle-unget-perl: Makefile.PL debian/changelog debian/control debian/copyright debian/patches/ debian/patches/Makefile.PL.patch debian/patches/series debian/rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Tue Jun 10 18:21:30 UTC 2008


Author: gregoa
Date: Tue Jun 10 18:21:30 2008
New Revision: 20911

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20911
Log:
* Split out changes to Makefile.PL into a quilt patch; add quilt framework.
* Set Standards-Version to 3.7.3 (no changes).
* Refresh debian/rules, no functional changes.
* debian/copyright: add author-independent upstream URL and actual copyright
  statement.

Added:
    trunk/libfilehandle-unget-perl/debian/patches/
    trunk/libfilehandle-unget-perl/debian/patches/Makefile.PL.patch
    trunk/libfilehandle-unget-perl/debian/patches/series
Modified:
    trunk/libfilehandle-unget-perl/Makefile.PL
    trunk/libfilehandle-unget-perl/debian/changelog
    trunk/libfilehandle-unget-perl/debian/control
    trunk/libfilehandle-unget-perl/debian/copyright
    trunk/libfilehandle-unget-perl/debian/rules

Modified: trunk/libfilehandle-unget-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-unget-perl/Makefile.PL?rev=20911&op=diff
==============================================================================
--- trunk/libfilehandle-unget-perl/Makefile.PL (original)
+++ trunk/libfilehandle-unget-perl/Makefile.PL Tue Jun 10 18:21:30 2008
@@ -16,7 +16,8 @@
 
 requires        (
                   'perl' => '5.004',
-                  'Scalar::Util' => '1.13',
+                  'ExtUtils::MakeMaker::bytes' => 0,
+                  'Scalar::Util' => '1.14',
                 );
 
 clean_files     ('t/temp');

Modified: trunk/libfilehandle-unget-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-unget-perl/debian/changelog?rev=20911&op=diff
==============================================================================
--- trunk/libfilehandle-unget-perl/debian/changelog (original)
+++ trunk/libfilehandle-unget-perl/debian/changelog Tue Jun 10 18:21:30 2008
@@ -17,6 +17,11 @@
   * Set debhelper compatibility level to 5.
   * debian/control: Move perl to Build-Depends-Indep.
   * debian/rules: delete /usr/lib/perl5 only if it exists.
+  * Split out changes to Makefile.PL into a quilt patch; add quilt framework.
+  * Set Standards-Version to 3.7.3 (no changes).
+  * Refresh debian/rules, no functional changes.
+  * debian/copyright: add author-independent upstream URL and actual copyright
+    statement.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:29:29 +0200
 

Modified: trunk/libfilehandle-unget-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-unget-perl/debian/control?rev=20911&op=diff
==============================================================================
--- trunk/libfilehandle-unget-perl/debian/control (original)
+++ trunk/libfilehandle-unget-perl/debian/control Tue Jun 10 18:21:30 2008
@@ -1,10 +1,10 @@
 Source: libfilehandle-unget-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), quilt (>= 0.40)
 Build-Depends-Indep: perl5
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/FileHandle-Unget/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libfilehandle-unget-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-unget-perl/

Modified: trunk/libfilehandle-unget-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-unget-perl/debian/copyright?rev=20911&op=diff
==============================================================================
--- trunk/libfilehandle-unget-perl/debian/copyright (original)
+++ trunk/libfilehandle-unget-perl/debian/copyright Tue Jun 10 18:21:30 2008
@@ -3,9 +3,27 @@
 
 This package was put together by Joey Hess <joeyh at debian.org>, using
 sources from the CPAN, at:
-	http://search.cpan.org/author/DCOPPIT/
+	http://search.cpan.org/author/DCOPPIT/ or
+	http://search.cpan.org/dist/FileHandle-Unget/
 
-This package was written by David Coppit and is licensed under the GPL.
+
+COPYRIGHT
+
+Copyright (c) 1998-Sep 1 2000 Broc Seib. Copyright (c) Sep 1 2000-2004 David
+Coppit. All rights reserved, save those granted by the license.
+
+
+LICENSE
+
+This code is distributed under the GNU General Public License (GPL).  See
+the file LICENSE included in the distribution.
+
+
+AUTHOR
+
+David Coppit <david at coppit.org> 
+
+
 On Debian the full text of the GPL is in the file
 /usr/share/common-licenses/GPL
 

Added: trunk/libfilehandle-unget-perl/debian/patches/Makefile.PL.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-unget-perl/debian/patches/Makefile.PL.patch?rev=20911&op=file
==============================================================================
--- trunk/libfilehandle-unget-perl/debian/patches/Makefile.PL.patch (added)
+++ trunk/libfilehandle-unget-perl/debian/patches/Makefile.PL.patch Tue Jun 10 18:21:30 2008
@@ -1,0 +1,14 @@
+Author: Joey Hess <joeyh at debian.org>
+
+--- libfilehandle-unget-perl.orig/Makefile.PL
++++ libfilehandle-unget-perl/Makefile.PL
+@@ -16,8 +16,7 @@
+ 
+ requires        (
+                   'perl' => '5.004',
+-                  'ExtUtils::MakeMaker::bytes' => 0,
+-                  'Scalar::Util' => '1.14',
++                  'Scalar::Util' => '1.13',
+                 );
+ 
+ clean_files     ('t/temp');

Added: trunk/libfilehandle-unget-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-unget-perl/debian/patches/series?rev=20911&op=file
==============================================================================
--- trunk/libfilehandle-unget-perl/debian/patches/series (added)
+++ trunk/libfilehandle-unget-perl/debian/patches/series Tue Jun 10 18:21:30 2008
@@ -1,0 +1,1 @@
+Makefile.PL.patch

Modified: trunk/libfilehandle-unget-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-unget-perl/debian/rules?rev=20911&op=diff
==============================================================================
--- trunk/libfilehandle-unget-perl/debian/rules (original)
+++ trunk/libfilehandle-unget-perl/debian/rules Tue Jun 10 18:21:30 2008
@@ -1,43 +1,59 @@
 #!/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.
 
-Makefile:
-	perl Makefile.PL INSTALLDIRS=vendor
+# 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
+
+include /usr/share/quilt/quilt.make
+
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp: Makefile
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
-	touch build-stamp
+	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
-	dh_clean
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || ( touch Makefile && $(MAKE) realclean )
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	$(MAKE) install PREFIX=$(CURDIR)/debian/libfilehandle-unget-perl/usr
-	[ ! -d $(CURDIR)/debian/libfilehandle-unget-perl/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/libfilehandle-unget-perl/usr/lib/perl5
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	touch $@
 
-binary-arch: build install
+binary-arch:
+# We have nothing to do here for an architecture-independent package
 
 binary-indep: build install
 	dh_testdir
 	dh_testroot
 	dh_installdocs README
-	dh_installexamples
 	dh_installchangelogs CHANGES
-	dh_link
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb




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