r53064 - in /trunk/libio-prompt-perl/debian: changelog control patches/ patches/create-pty.patch patches/series source/ source/format

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Fri Feb 19 20:04:21 UTC 2010


Author: carnil-guest
Date: Fri Feb 19 20:03:47 2010
New Revision: 53064

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53064
Log:
* Convert to '3.0 (quilt)' source package format.
* Add Build-Depends on libio-pty-perl for running the tests in a environment
  where no /dev/tty is present. Add patch create-pty.patch to pass build
  tests even in this environment.
* Bump Standards-Version to 3.8.4. 

Added:
    trunk/libio-prompt-perl/debian/patches/
    trunk/libio-prompt-perl/debian/patches/create-pty.patch
    trunk/libio-prompt-perl/debian/patches/series
    trunk/libio-prompt-perl/debian/source/
    trunk/libio-prompt-perl/debian/source/format
Modified:
    trunk/libio-prompt-perl/debian/changelog
    trunk/libio-prompt-perl/debian/control

Modified: trunk/libio-prompt-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-prompt-perl/debian/changelog?rev=53064&op=diff
==============================================================================
--- trunk/libio-prompt-perl/debian/changelog (original)
+++ trunk/libio-prompt-perl/debian/changelog Fri Feb 19 20:03:47 2010
@@ -1,7 +1,4 @@
 libio-prompt-perl (0.997-1) UNRELEASED; urgency=low
-
-  NOTE: this is currently FTBFS because Ryan's system
-  doesn't have ttys. Not sure if I'm missing a dep...
 
   [ Jonathan Yu ]
   * New upstream release
@@ -29,6 +26,13 @@
 
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
+
+  [ Salvatore Bonaccorso ]
+  * Convert to '3.0 (quilt)' source package format.
+  * Add Build-Depends on libio-pty-perl for running the tests in a environment
+    where no /dev/tty is present. Add patch create-pty.patch to pass build
+    tests even in this environment.
+  * Bump Standards-Version to 3.8.4. 
 
  -- Jonathan Yu <jawnsy at cpan.org>  Tue, 02 Feb 2010 16:57:15 -0500
 

Modified: trunk/libio-prompt-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-prompt-perl/debian/control?rev=53064&op=diff
==============================================================================
--- trunk/libio-prompt-perl/debian/control (original)
+++ trunk/libio-prompt-perl/debian/control Fri Feb 19 20:03:47 2010
@@ -3,11 +3,11 @@
 Priority: optional
 Build-Depends: debhelper (>= 7), perl (>= 5.10) | libmodule-build-perl
 Build-Depends-Indep: perl, perl (>= 5.10) | libversion-perl, libtest-pod-perl,
- libterm-readkey-perl, libwant-perl, libtest-pod-coverage-perl
+ libterm-readkey-perl, libwant-perl, libtest-pod-coverage-perl, libio-pty-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregoa at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
  Gunnar Wolf <gwolf at debian.org>, Niko Tyni <ntyni at iki.fi>
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: http://search.cpan.org/dist/IO-Prompt/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libio-prompt-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libio-prompt-perl/

Added: trunk/libio-prompt-perl/debian/patches/create-pty.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-prompt-perl/debian/patches/create-pty.patch?rev=53064&op=file
==============================================================================
--- trunk/libio-prompt-perl/debian/patches/create-pty.patch (added)
+++ trunk/libio-prompt-perl/debian/patches/create-pty.patch Fri Feb 19 20:03:47 2010
@@ -1,0 +1,21 @@
+Description: Use IO:Pty to create a slave pseudo tty for running the 
+ 01.dependency.t test which otherwise causes FTBFS on environments 
+ with no ttys.
+Origin: vendor
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=54807
+Forwarded: yes
+Author: Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>
+--- a/t/01.dependencies.t
++++ b/t/01.dependencies.t
+@@ -1,5 +1,8 @@
+ use Test::More tests => 2;
++use IO::Pty;
+ 
+-# Depends on hardcoded /dev/tty access
+-ok( open(my $OUT, ">/dev/tty"), "Output to /dev/tty");
+-ok( open(my $IN, "</dev/tty"), "Input from /dev/tty");
++$pty = new IO::Pty;
++$tty = $pty->ttyname();
++
++ok( open(my $OUT, ">$tty"), "Output to $tty");
++ok( open(my $IN, "<$tty"), "Input from $tty");

Added: trunk/libio-prompt-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-prompt-perl/debian/patches/series?rev=53064&op=file
==============================================================================
--- trunk/libio-prompt-perl/debian/patches/series (added)
+++ trunk/libio-prompt-perl/debian/patches/series Fri Feb 19 20:03:47 2010
@@ -1,0 +1,1 @@
+create-pty.patch

Added: trunk/libio-prompt-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-prompt-perl/debian/source/format?rev=53064&op=file
==============================================================================
--- trunk/libio-prompt-perl/debian/source/format (added)
+++ trunk/libio-prompt-perl/debian/source/format Fri Feb 19 20:03:47 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)




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