debian/0000755000000000000000000000000012046542403007166 5ustar debian/copyright0000644000000000000000000000225312046542403011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: IO-Prompt Upstream-Contact: Damian Conway Source: http://search.cpan.org/dist/IO-Prompt/ Files: * Copyright: 2005, Damian Conway License: Artistic or GPL-1+ Files: debian/* Copyright: 2006, David Moreno Garza 2006, Gunnar Wolf 2006, Niko Tyni 2010, Jonathan Yu 2010-2012, Salvatore Bonaccorso License: Artistic or GPL-1+ 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 systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic' 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 systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1' debian/watch0000644000000000000000000000025412046542403010220 0ustar # format version number, currently 3; this line is compulsory! version=3 http://search.cpan.org/dist/IO-Prompt/ .*/IO-Prompt-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/control0000644000000000000000000000206712046542403010576 0ustar Source: libio-prompt-perl Section: perl Priority: optional Build-Depends: debhelper (>= 9) Build-Depends-Indep: perl, libtest-pod-perl, libterm-readkey-perl, libwant-perl, libtest-pod-coverage-perl, libio-pty-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann , Jonathan Yu , Niko Tyni , Salvatore Bonaccorso Standards-Version: 3.9.4 Homepage: http://search.cpan.org/dist/IO-Prompt/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libio-prompt-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libio-prompt-perl.git Package: libio-prompt-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libterm-readkey-perl, libwant-perl Description: module to interactively prompt for user input IO::Prompt is a Perl module useful for prompting the user for some input and returning that data as an object. It also provides functions for simulating hand-typing to the console and for accessing the low-level input. debian/changelog0000644000000000000000000000643412046542403011047 0ustar libio-prompt-perl (0.997002-1) unstable; urgency=low [ gregor herrmann ] * Remove alternative (build) dependencies that are already satisfied in oldstable. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Imported Upstream version 0.997002 * Email change: Salvatore Bonaccorso -> carnil@debian.org * Update debian/copyright file. Update format to copyright-format 1.0 as released together with Debian policy 3.9.3. Update copyright years for debian/* packaging files. Refer to Debian systems in general instead of only Debian GNU/Linux systems. Explicitly refer to GPL-1 license text in /usr/share/common-licenses. * Bump Debhelper compat level to 9. Adjust versioned Build-Depends on debhelper to (>= 9). * Bump Standards-Version to 3.9.4 -- Salvatore Bonaccorso Wed, 07 Nov 2012 21:16:45 +0100 libio-prompt-perl (0.997001-1) unstable; urgency=low * New upstream release * Add myself to Uploaders -- Salvatore Bonaccorso Sun, 25 Apr 2010 18:06:31 +0200 libio-prompt-perl (0.997-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Use new debhelper 7 short rules format * Add myself to Uploaders and Copyright * Rewrite control description * Update dependency alternatives (some things are core) * Refresh copyright information to new DEP5 format * Install examples from examples/* [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Removed: XS- Vcs-Svn fields. * Remove libmodule-build-perl from Build-Depends-Indep. * debian/control: change my email address. * debian/watch: use dist-based URL. [ 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. * Refresh debian/copyright and update Copyright years and holders for debian/* packaging. * Add add-shebang-to-examples.patch patch to fix lintian's executable-not-elf-or-script warnings. -- Jonathan Yu Tue, 02 Feb 2010 16:57:15 -0500 libio-prompt-perl (0.99.4-3) unstable; urgency=medium * Add dependencies on libversion-perl and libterm-readkey-perl. (Closes: #394146) * Urgency set to medium because of an RC bug fix. -- Niko Tyni Fri, 20 Oct 2006 20:19:07 +0300 libio-prompt-perl (0.99.4-2) unstable; urgency=low [ gregor herrmann ] * New Maintainer: Debian Perl Group. * Add libtest-pod-perl and libtest-pod-coverage-perl to build dependencies. * Add watch file. * Add libwant-perl to dependencies (closes: #386502). [ Gunnar Wolf ] * Retouched a bit debian/copyright, the description in debian/control - both were autogenerated and needed some love ;-) -- Gunnar Wolf Fri, 15 Sep 2006 12:44:21 -0500 libio-prompt-perl (0.99.4-1) unstable; urgency=low * Initial Release. -- David Moreno Garza Wed, 10 May 2006 15:08:09 -0500 debian/libio-prompt-perl.examples0000644000000000000000000000001312046542403014275 0ustar examples/* debian/rules0000755000000000000000000000003612046542403010245 0ustar #!/usr/bin/make -f %: dh $@ debian/source/0000755000000000000000000000000012046542403010466 5ustar debian/source/format0000644000000000000000000000001412046542403011674 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212046542403010364 0ustar 9 debian/patches/0000755000000000000000000000000012046542403010615 5ustar debian/patches/add-shebang-to-examples.patch0000644000000000000000000000203612046542403016230 0ustar Description: Add shebang to some of the examples/ file as lintian complains about executable-not-elf-or-script. Origin: vendor Author: Salvatore Bonaccorso --- a/examples/data.pl +++ b/examples/data.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use IO::Prompt; # The input is taken from the __PROMPT__ section below --- a/examples/num.pl +++ b/examples/num.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use IO::Prompt; # You can constrain input to be numeric, or even integral... --- a/examples/record.pl +++ b/examples/record.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use IO::Prompt -record; # Loading the module with the -record flag causes it to record all inputs --- a/examples/require.pl +++ b/examples/require.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use IO::Prompt; # The -require flag allows you to specify conditions that must be met by --- a/examples/underscore.pl +++ b/examples/underscore.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use IO::Prompt; # This example demostrates how prompt autosets $_ when appropriate debian/patches/series0000644000000000000000000000005712046542403012034 0ustar create-pty.patch add-shebang-to-examples.patch debian/patches/create-pty.patch0000644000000000000000000000132112046542403013710 0ustar 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 --- 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, "ttyname(); + +ok( open(my $OUT, ">$tty"), "Output to $tty"); +ok( open(my $IN, "<$tty"), "Input from $tty");