r34953 - in /trunk/libscalar-number-perl/debian: changelog compat control copyright rules

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Fri May 8 07:35:24 UTC 2009


Author: ryan52-guest
Date: Fri May  8 07:35:19 2009
New Revision: 34953

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=34953
Log:
* machine readable copyright format
* debhelper 7
* add libparent-perl to (build-)depends
* s/This module/Scalar::Number/ in the long description
* add libtest-pod-perl and libtest-pod-coverage-perl to build depends
* convert from arch:all to arch:any

Modified:
    trunk/libscalar-number-perl/debian/changelog
    trunk/libscalar-number-perl/debian/compat
    trunk/libscalar-number-perl/debian/control
    trunk/libscalar-number-perl/debian/copyright
    trunk/libscalar-number-perl/debian/rules

Modified: trunk/libscalar-number-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscalar-number-perl/debian/changelog?rev=34953&op=diff
==============================================================================
--- trunk/libscalar-number-perl/debian/changelog (original)
+++ trunk/libscalar-number-perl/debian/changelog Fri May  8 07:35:19 2009
@@ -11,8 +11,14 @@
   * New upstream release
   * Add myself to Uploaders
   * Debian Policy 3.8.1
+  * machine readable copyright format
+  * debhelper 7
+  * add libparent-perl to (build-)depends
+  * s/This module/Scalar::Number/ in the long description
+  * add libtest-pod-perl and libtest-pod-coverage-perl to build depends
+  * convert from arch:all to arch:any
 
- -- Ryan Niebur <ryanryan52 at gmail.com>  Fri, 08 May 2009 00:03:50 -0700
+ -- Ryan Niebur <ryanryan52 at gmail.com>  Fri, 08 May 2009 00:29:20 -0700
 
 libscalar-number-perl (0.002-2) unstable; urgency=low
 

Modified: trunk/libscalar-number-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscalar-number-perl/debian/compat?rev=34953&op=diff
==============================================================================
--- trunk/libscalar-number-perl/debian/compat (original)
+++ trunk/libscalar-number-perl/debian/compat Fri May  8 07:35:19 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libscalar-number-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscalar-number-perl/debian/control?rev=34953&op=diff
==============================================================================
--- trunk/libscalar-number-perl/debian/control (original)
+++ trunk/libscalar-number-perl/debian/control Fri May  8 07:35:19 2009
@@ -1,8 +1,7 @@
 Source: libscalar-number-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: perl (>= 5.8.8-7), libdata-float-perl (>= 0.005), libdata-integer-perl
+Build-Depends: debhelper (>= 7), perl (>= 5.8.8-7), libdata-float-perl (>= 0.005), libdata-integer-perl, libparent-perl, libtest-pod-perl, libtest-pod-coverage-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>,
  Damyan Ivanov <dmn at debian.org>, Rene Mayorga <rmayorga at debian.org>,
@@ -13,10 +12,10 @@
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libscalar-number-perl/
 
 Package: libscalar-number-perl
-Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, libdata-float-perl (>= 0.005), libdata-integer-perl
+Architecture: any
+Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, libdata-float-perl (>= 0.005), libdata-integer-perl, libparent-perl
 Description: Perl module for handling numeric aspects of scalars
- This module is about the numeric part of plain (string) Perl scalars.
+ Scalar::Number is about the numeric part of plain (string) Perl scalars.
  A scalar has a numeric value, which may be expressed in either the
  native integer type or the native floating point type. Many values
  are expressible both ways, in which case the exact representation is
@@ -24,6 +23,6 @@
  know about both of these representations, and the differing behaviours
  of numbers according to which way they are expressible.
  .
- This module provides functions to extract the numeric part of a scalar,
+ Scalar::Number provides functions to extract the numeric part of a scalar,
  classify a number by expressibility, and compare numbers across
  representations.

Modified: trunk/libscalar-number-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscalar-number-perl/debian/copyright?rev=34953&op=diff
==============================================================================
--- trunk/libscalar-number-perl/debian/copyright (original)
+++ trunk/libscalar-number-perl/debian/copyright Fri May  8 07:35:19 2009
@@ -1,23 +1,31 @@
-This is the debian package for the Scalar-Number module.
-It was created by gregor herrmann <gregor+debian at comodo.priv.at> using
-dh-make-perl and is maintained by the Debian Perl Group.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Andrew Main (Zefram) <zefram at fysh.org>
+Upstream-Source: http://search.cpan.org/dist/Scalar-Number/
+Upstream-Name: Scalar-Number
 
-It was downloaded from: http://search.cpan.org/dist/Scalar-Number/
+Files: *
+Copyright: Copyright (C) 2007, 2009 Andrew Main (Zefram) <zefram at fysh.org>
+License-Alias: Perl
+License: Artistic | GPL-1+
 
-The upstream author is: 
-Andrew Main (Zefram) <zefram at fysh.org>
+Files: debian/*
+Copyright: 2007, Damyan Ivanov <dmn at debian.org>
+ 2007, gregor herrmann <gregor+debian at comodo.priv.at>
+ 2008, Rene Mayorga <rmayorga at debian.org.sv>
+ 2009, Ryan Niebur <ryanryan52 at gmail.com>
+License: Artistic | GPL-1+
 
-Copyright (C) 2007 Andrew Main (Zefram) <zefram at fysh.org>
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in `/usr/share/common-licenses/Artistic'
 
-This module is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
-Perl is distributed under your choice of the GNU General Public License or
-the Artistic License.  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, gregor herrmann
-<gregor+debian at comodo.priv.at> and is licensed under the same terms as the
-software itself (see above).
+License: GPL-1+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'

Modified: trunk/libscalar-number-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscalar-number-perl/debian/rules?rev=34953&op=diff
==============================================================================
--- trunk/libscalar-number-perl/debian/rules (original)
+++ trunk/libscalar-number-perl/debian/rules Fri May  8 07:35:19 2009
@@ -1,68 +1,26 @@
 #!/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) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh build
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-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:
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+	dh --before dh_auto_install install
+	dh_auto_install
+	find debian/$(shell dh_listpackages) -type f -name .packlist | xargs rm -f
+	dh --after dh_auto_install install
 	touch $@
 
-binary-arch:
-# We have nothing to do by default.
+binary-arch: install
+	dh $@
 
-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
+binary-indep:
 
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: binary binary-arch binary-indep install clean build




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