r40774 - in /trunk/libfile-touch-perl: ._Makefile.PL ._test.pl Changes META.yml Touch.pm debian/README.source debian/changelog debian/control debian/patches/ debian/rules

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Jul 26 19:44:39 UTC 2009


Author: jawnsy-guest
Date: Sun Jul 26 19:44:20 2009
New Revision: 40774

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=40774
Log:
* New upstream release
* Added myself to Uploaders and Copyright
* Standards-Version 3.8.2 (no changes)
* Upgraded to new debhelper rules format
  + The MacOS files (._ prefix) were removed upstream now
* Remove perl-modules from dependencies
* Remove the patches, they no longer appear necessary

Removed:
    trunk/libfile-touch-perl/._Makefile.PL
    trunk/libfile-touch-perl/._test.pl
    trunk/libfile-touch-perl/debian/README.source
    trunk/libfile-touch-perl/debian/patches/
Modified:
    trunk/libfile-touch-perl/Changes
    trunk/libfile-touch-perl/META.yml
    trunk/libfile-touch-perl/Touch.pm
    trunk/libfile-touch-perl/debian/changelog
    trunk/libfile-touch-perl/debian/control
    trunk/libfile-touch-perl/debian/rules

Modified: trunk/libfile-touch-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-touch-perl/Changes?rev=40774&op=diff
==============================================================================
--- trunk/libfile-touch-perl/Changes (original)
+++ trunk/libfile-touch-perl/Changes Sun Jul 26 19:44:20 2009
@@ -1,5 +1,8 @@
 Revision history for Perl extension File::Touch.
 
+0.07  Sat Jul 25 12:54 2009
+        - BUGFIX last fix caused probs (thanks Reini Urban)
+          see https://rt.cpan.org/Ticket/Display.html?id=48183
 0.06  Tue Mar 24 11:22:13 2009
         - now works on systems lacking O_NONBLOCK
 	  (thanks Ronald Fischer)

Modified: trunk/libfile-touch-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-touch-perl/META.yml?rev=40774&op=diff
==============================================================================
--- trunk/libfile-touch-perl/META.yml (original)
+++ trunk/libfile-touch-perl/META.yml Sun Jul 26 19:44:20 2009
@@ -1,10 +1,20 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         File-Touch
-version:      0.06
-version_from: Touch.pm
-installdirs:  site
-requires:
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.30
+--- #YAML:1.0
+name:               File-Touch
+version:            0.08
+abstract:           ~
+author:  []
+license:            unknown
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
+    ExtUtils::MakeMaker:  0
+requires:  {}
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.50
+meta-spec:
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4

Modified: trunk/libfile-touch-perl/Touch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-touch-perl/Touch.pm?rev=40774&op=diff
==============================================================================
--- trunk/libfile-touch-perl/Touch.pm (original)
+++ trunk/libfile-touch-perl/Touch.pm Sun Jul 26 19:44:20 2009
@@ -3,7 +3,7 @@
 require Exporter;
 @ISA = qw(Exporter);
 @EXPORT = qw(touch);
-$VERSION = "0.06";
+$VERSION = "0.08";
 use warnings;
 use strict;
 
@@ -14,28 +14,19 @@
 
 my $SYSOPEN_MODE = O_WRONLY|O_CREAT;
 eval {
-    $SYSOPEN_MODE |= &{ $Fcntl::{'O_NONBLOCK'} };
+    $SYSOPEN_MODE |= O_NONBLOCK;
 };
 if($@) {
-    if($@ =~ /Your vendor has not defined/) {
-	# OK, we don't have O_NONBLOCK:
-	# probably running on Windows.
-    } else {
-	die "$@"; # Rethrow exception, must be something different
-    }
-}
-
-
-
-
-
-foreach my $Fcntl_sym (keys %Fcntl::){
-    if($Fcntl_sym eq 'O_NONBLOCK'){
-	$SYSOPEN_MODE |= &{ $Fcntl::{'O_NONBLOCK'} };
-	last;
-    }
-}
-
+    # OK, we don't have O_NONBLOCK:
+    # probably running on Windows.
+}
+eval {
+    $SYSOPEN_MODE |= O_NOCTTY;
+};
+if($@) {
+    # OK, we don't have O_NOCTTY:
+    # probably running on Windows.
+}
 
 sub new
 {

Modified: trunk/libfile-touch-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-touch-perl/debian/changelog?rev=40774&op=diff
==============================================================================
--- trunk/libfile-touch-perl/debian/changelog (original)
+++ trunk/libfile-touch-perl/debian/changelog Sun Jul 26 19:44:20 2009
@@ -1,8 +1,18 @@
-libfile-touch-perl (0.06-2) UNRELEASED; urgency=low
+libfile-touch-perl (0.08-1) UNRELEASED; urgency=low
 
+  [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- Nathan Handler <nhandler at ubuntu.com>  Sat, 06 Jun 2009 01:34:12 +0000
+  [ Jonathan Yu ]
+  * New upstream release
+  * Added myself to Uploaders and Copyright
+  * Standards-Version 3.8.2 (no changes)
+  * Upgraded to new debhelper rules format
+    + The MacOS files (._ prefix) were removed upstream now
+  * Remove perl-modules from dependencies
+  * Remove the patches, they no longer appear necessary
+
+ -- Jonathan Yu <frequency at cpan.org>  Sun, 26 Jul 2009 11:39:09 -0400
 
 libfile-touch-perl (0.06-1) unstable; urgency=low
 

Modified: trunk/libfile-touch-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-touch-perl/debian/control?rev=40774&op=diff
==============================================================================
--- trunk/libfile-touch-perl/debian/control (original)
+++ trunk/libfile-touch-perl/debian/control Sun Jul 26 19:44:20 2009
@@ -1,25 +1,23 @@
 Source: libfile-touch-perl
+Section: perl
+Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Allard Hoeve <allard at byte.nl>, Gunnar Wolf <gwolf at debian.org>,
- Niko Tyni <ntyni at iki.fi>,
- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
- gregor herrmann <gregoa at debian.org>,
- Ryan Niebur <ryanryan52 at gmail.com>
-Section: perl
-Priority: optional
-Standards-Version: 3.8.1
+ Niko Tyni <ntyni at iki.fi>, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
+ gregor herrmann <gregoa at debian.org>, Ryan Niebur <ryanryan52 at gmail.com>,
+ Jonathan Yu <frequency at cpan.org>
+Standards-Version: 3.8.2
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl (>> 5.8)
 Homepage: http://search.cpan.org/dist/File-Touch/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libfile-touch-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libfile-touch-perl/
-Build-Depends: debhelper (>= 7), quilt
-Build-Depends-Indep: perl (>> 5.8), perl-modules
 
 Package: libfile-touch-perl
 Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends}, perl-modules
+Depends: ${misc:Depends}, ${perl:Depends}
 Description: Perl interface to touch-like functions
- File::Touch lets you update access and modification timestamps,
- creating nonexistent files where necessary.
- .
- It also allows you to only modify one of the stamps, choose to not
- create nonexistent files, and use timestamps from a different file.
+ File::Touch lets you update access and modification timestamps, creating
+ nonexistent files where necessary. It also allows you to only modify one of
+ the stamps, choose to not create nonexistent files, and use timestamps from
+ a different file.

Modified: trunk/libfile-touch-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-touch-perl/debian/rules?rev=40774&op=diff
==============================================================================
--- trunk/libfile-touch-perl/debian/rules (original)
+++ trunk/libfile-touch-perl/debian/rules Sun Jul 26 19:44:20 2009
@@ -1,29 +1,4 @@
 #!/usr/bin/make -f
 
-include /usr/share/quilt/quilt.make
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	[ ! -f ._Makefile.PL ] || mv ._Makefile.PL debian
-	[ ! -f ._test.pl ] || mv ._test.pl debian
-	dh build
-	touch $@
-
-clean: unpatch
+%:
 	dh $@
-	[ ! -f debian/._Makefile.PL ] || mv debian/._Makefile.PL ._Makefile.PL
-	[ ! -f debian/._test.pl ] || mv debian/._test.pl ._test.pl
-
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	touch $@
-
-binary-arch:
-
-binary-indep: install
-	dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build




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