r13276 - in /trunk/libdata-types-perl: Build.PL Changes META.yml Makefile.PL README debian/changelog debian/compat debian/control debian/copyright debian/rules debian/watch lib/Data/Types.pm

rmayorga-guest at users.alioth.debian.org rmayorga-guest at users.alioth.debian.org
Wed Jan 23 05:05:44 UTC 2008


Author: rmayorga-guest
Date: Wed Jan 23 05:05:39 2008
New Revision: 13276

URL: http://svn.debian.org/wsvn/?sc=1&rev=13276
Log:
* New upstream release
* compat level set to 6
* debian/control 
  + Raise debhelper version to 6
  + Set standards-version to 3.7.3 (no changes needed)
  + Tiny adjust to descriptions to keep lintian happy
* debian/rules
  + use $@ to touch stamp files
  + remove OPTIMIZE we don't needed
  + Move tests suites from install-stamp to build-stamp target
  + remove uneeded dh_ calls
  + remove usr/lib/perl5/auto/Data/Types/.packlist and empty dirs
  + Don't install README, it's only have installation info and
    is not needed
* debian/copyright
  + fix upstream URL
  + Refresh upstream's copyright years
* debian/watch: reaise version to 3, improve upstream URL

Modified:
    trunk/libdata-types-perl/Build.PL
    trunk/libdata-types-perl/Changes
    trunk/libdata-types-perl/META.yml
    trunk/libdata-types-perl/Makefile.PL
    trunk/libdata-types-perl/README
    trunk/libdata-types-perl/debian/changelog
    trunk/libdata-types-perl/debian/compat
    trunk/libdata-types-perl/debian/control
    trunk/libdata-types-perl/debian/copyright
    trunk/libdata-types-perl/debian/rules
    trunk/libdata-types-perl/debian/watch
    trunk/libdata-types-perl/lib/Data/Types.pm

Modified: trunk/libdata-types-perl/Build.PL
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/Build.PL?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/Build.PL (original)
+++ trunk/libdata-types-perl/Build.PL Wed Jan 23 05:05:39 2008
@@ -1,8 +1,14 @@
 use Module::Build;
 
-my $build = Module::Build->new
-  ( module_name        => 'Data::Types',
+my $build = Module::Build->new(
+    module_name        => 'Data::Types',
     license            => 'perl',
     create_makefile_pl => 'passthrough',
-  );
+    configure_requires => {
+        'Module::Build' => '0.2701',
+    },
+    build_requires     => {
+        'Test::Simple'  => '0.17'
+    },
+);
 $build->create_build_script;

Modified: trunk/libdata-types-perl/Changes
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/Changes?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/Changes (original)
+++ trunk/libdata-types-perl/Changes Wed Jan 23 05:05:39 2008
@@ -1,4 +1,11 @@
 Revision history for Perl extension Data::Types.
+
+0.07  2008-01-22T18:27:22
+       - Added Module::Build to the "configure_requires" parameter in
+         Build.PL. This should help prevent failures on systems that don't
+         already have Module::Build installed and run Makefile.PL. Reported by
+         Slaven Rezic.
+       - Added Test::Simple to the "build_requires" parameter in Build.PL.
 
 0.06  2006-05-23T00:45:44
         - Added POD tests.

Modified: trunk/libdata-types-perl/META.yml
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/META.yml?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/META.yml (original)
+++ trunk/libdata-types-perl/META.yml Wed Jan 23 05:05:39 2008
@@ -1,17 +1,21 @@
 ---
 name: Data-Types
-version: 0.06
+version: 0.07
 author:
   - 'David Wheeler <david at kineticode.com>'
 abstract: Validate and convert data types.
 license: perl
 resources:
   license: http://dev.perl.org/licenses/
+configure_requires:
+  Module::Build: 0.2701
+build_requires:
+  Test::Simple: 0.17
 provides:
   Data::Types:
     file: lib/Data/Types.pm
-    version: 0.06
-generated_by: Module::Build version 0.2801
+    version: 0.07
+generated_by: Module::Build version 0.280801
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.2.html
   version: 1.2

Modified: trunk/libdata-types-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/Makefile.PL?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/Makefile.PL (original)
+++ trunk/libdata-types-perl/Makefile.PL Wed Jan 23 05:05:39 2008
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
+# Note: this file was auto-generated by Module::Build::Compat version 0.2808_01
     
     unless (eval "use Module::Build::Compat 0.02; 1" ) {
       print "This module requires Module::Build to install itself.\n";

Modified: trunk/libdata-types-perl/README
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/README?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/README (original)
+++ trunk/libdata-types-perl/README Wed Jan 23 05:05:39 2008
@@ -1,4 +1,4 @@
-Data/Types version 0.06
+Data/Types version 0.07
 =======================
 
 This module exports a number of functions that are useful for validating and

Modified: trunk/libdata-types-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/debian/changelog?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/debian/changelog (original)
+++ trunk/libdata-types-perl/debian/changelog Wed Jan 23 05:05:39 2008
@@ -1,10 +1,31 @@
-libdata-types-perl (0.06-2) UNRELEASED; urgency=low
+libdata-types-perl (0.07-1) unstable; urgency=low
 
+  [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:35 +0200
+  [ Rene Mayorga ]
+  * New upstream release
+  * compat level set to 6
+  * debian/control 
+    + Raise debhelper version to 6
+    + Set standards-version to 3.7.3 (no changes needed)
+    + Tiny adjust to descriptions to keep lintian happy
+  * debian/rules
+    + use $@ to touch stamp files
+    + remove OPTIMIZE we don't needed
+    + Move tests suites from install-stamp to build-stamp target
+    + remove uneeded dh_ calls
+    + remove usr/lib/perl5/auto/Data/Types/.packlist and empty dirs
+    + Don't install README, it's only have installation info and
+      is not needed
+  * debian/copyright
+    + fix upstream URL
+    + Refresh upstream's copyright years
+  * debian/watch: reaise version to 3, improve upstream URL
+
+ -- Rene Mayorga <rmayorga at debian.org.sv>  Tue, 22 Jan 2008 22:07:18 -0600
 
 libdata-types-perl (0.06-1) unstable; urgency=low
 

Modified: trunk/libdata-types-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/debian/compat?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/debian/compat (original)
+++ trunk/libdata-types-perl/debian/compat Wed Jan 23 05:05:39 2008
@@ -1,1 +1,1 @@
-4
+6

Modified: trunk/libdata-types-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/debian/control?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/debian/control (original)
+++ trunk/libdata-types-perl/debian/control Wed Jan 23 05:05:39 2008
@@ -1,11 +1,11 @@
 Source: libdata-types-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 4.0.2), libmodule-build-perl
+Build-Depends: debhelper (>= 6), 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
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Data-Types/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdata-types-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-types-perl/
@@ -13,8 +13,9 @@
 Package: libdata-types-perl
 Architecture: all
 Depends: ${perl:Depends}, ${misc:Depends}, 
-Description:  Validate and convert data types.
- Data::Types exports a number of functions that are useful for validating and
- converting data types. It is intended for use in applications where data types
+Description: Validate and convert data types
+ Data::Types exports a number of functions that are useful for validating 
+ and converting data types. 
+ It is intended for use in applications where data types
  are more important than they typically are in Perl -- e.g., database
  applications.

Modified: trunk/libdata-types-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/debian/copyright?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/debian/copyright (original)
+++ trunk/libdata-types-perl/debian/copyright Wed Jan 23 05:05:39 2008
@@ -1,11 +1,11 @@
 This is the debian package for the Data-Types module.
 It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org> using dh-make-perl.
 
-It was downloaded from http://search.cpan.org/~dwheeler/Data-Types-0.05/
+It was downloaded from: http://search.cpan.org/dist/Data-Types/ 
 
 The upstream author is: David Wheeler <david at wheeler.net>.
 
-Copyright (c) 2002-2003, David Wheeler. All Rights Reserved.
+Copyright (c) 2002-2006, David Wheeler. All Rights Reserved.
 
 This program is free software, you can redistribute it and/or modify it under
 the same terms as Perl itself.

Modified: trunk/libdata-types-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/debian/rules?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/debian/rules (original)
+++ trunk/libdata-types-perl/debian/rules Wed Jan 23 05:05:39 2008
@@ -20,23 +20,28 @@
 build-stamp:
 	dh_testdir
 	$(PERL) Build.PL installdirs=vendor
-	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
+	$(PERL) Build
+	$(PERL) Build test
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
+	dh_clean build-stamp install-stamp
 	[ ! -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
+	[ ! -f $(TMP)/usr/lib/perl5/auto/Data/Types/.packlist ] || \
+	   rm $(TMP)/usr/lib/perl5/auto/Data/Types/.packlist
+	[ ! -d $(TMP)/usr/lib/perl5/auto/Data/Types ] || \
+	   rmdir --ignore-fail-on-non-empty --parents --verbose \
+	      $(TMP)/usr/lib/perl5/auto/Data/Types
+	touch $@
 
 binary-arch:
 # We have nothing to do by default.
@@ -44,12 +49,10 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installexamples
-	dh_installdocs README
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
 	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb

Modified: trunk/libdata-types-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/debian/watch?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/debian/watch (original)
+++ trunk/libdata-types-perl/debian/watch Wed Jan 23 05:05:39 2008
@@ -1,3 +1,2 @@
-# format version number, currently 2; this line is compulsory!
-version=2
-http://www.cpan.org/modules/by-module/Data/Data-Types-([\.\d]+)\.tar\.gz
+version=3
+http://search.cpan.org/dist/Data-Types/		.+/Data-Types-v?(\d[\d._]*)\.(?:tar\.gz|tar\.bz2|tgz|\.zip)

Modified: trunk/libdata-types-perl/lib/Data/Types.pm
URL: http://svn.debian.org/wsvn/trunk/libdata-types-perl/lib/Data/Types.pm?rev=13276&op=diff
==============================================================================
--- trunk/libdata-types-perl/lib/Data/Types.pm (original)
+++ trunk/libdata-types-perl/lib/Data/Types.pm Wed Jan 23 05:05:39 2008
@@ -4,7 +4,7 @@
 require Exporter;
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
-$VERSION = '0.06';
+$VERSION = '0.07';
 
 @ISA = qw(Exporter);
 




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