r15548 - in /trunk/perlconsole: debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules lib/PerlConsole/Console.pm perlconsole.1
sukria at users.alioth.debian.org
sukria at users.alioth.debian.org
Sun Feb 24 23:00:45 UTC 2008
Author: sukria
Date: Sun Feb 24 23:00:44 2008
New Revision: 15548
URL: http://svn.debian.org/wsvn/?sc=1&rev=15548
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/perlconsole/debian/
trunk/perlconsole/debian/changelog
trunk/perlconsole/debian/compat
trunk/perlconsole/debian/control
trunk/perlconsole/debian/copyright
trunk/perlconsole/debian/rules (with props)
trunk/perlconsole/perlconsole.1
Modified:
trunk/perlconsole/lib/PerlConsole/Console.pm
Added: trunk/perlconsole/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/perlconsole/debian/changelog?rev=15548&op=file
==============================================================================
--- trunk/perlconsole/debian/changelog (added)
+++ trunk/perlconsole/debian/changelog Sun Feb 24 23:00:44 2008
@@ -1,0 +1,14 @@
+perlconsole (0.3-1) unstable; urgency=low
+
+ * New upstream release
+ * Disabled the use of Module::Refresh (not yet available on Debian).
+
+ -- Alexis Sukrieh <sukria at debian.org> Tue, 09 Oct 2007 14:16:13 +0200
+
+perlconsole (0.2-1) unstable; urgency=low
+
+ * Initial release (Closes: #437261)
+ * Added a manpage.
+
+ -- Alexis Sukrieh <sukria at debian.org> Tue, 14 Aug 2007 11:08:38 +0200
+
Added: trunk/perlconsole/debian/compat
URL: http://svn.debian.org/wsvn/trunk/perlconsole/debian/compat?rev=15548&op=file
==============================================================================
--- trunk/perlconsole/debian/compat (added)
+++ trunk/perlconsole/debian/compat Sun Feb 24 23:00:44 2008
@@ -1,0 +1,1 @@
+5
Added: trunk/perlconsole/debian/control
URL: http://svn.debian.org/wsvn/trunk/perlconsole/debian/control?rev=15548&op=file
==============================================================================
--- trunk/perlconsole/debian/control (added)
+++ trunk/perlconsole/debian/control Sun Feb 24 23:00:44 2008
@@ -1,0 +1,19 @@
+Source: perlconsole
+Section: devel
+Priority: extra
+Maintainer: Alexis Sukrieh <sukria at debian.org>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: perlconsole
+Architecture: all
+Depends: ${perl:Depends},
+ libterm-readline-gnu-perl, liblexical-persistence-perl
+Description: small program that lets you evaluate Perl code interactively
+ Perl Console is a light program that lets you evaluate Perl code
+ interactively. It uses Readline for grabing input and provides completion
+ with all the namespaces loaded during your session.
+ .
+ This is pretty useful for Perl developers that write modules.
+ You can load a module in your session and test a function exported by the
+ module.
Added: trunk/perlconsole/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/perlconsole/debian/copyright?rev=15548&op=file
==============================================================================
--- trunk/perlconsole/debian/copyright (added)
+++ trunk/perlconsole/debian/copyright Sun Feb 24 23:00:44 2008
@@ -1,0 +1,21 @@
+This package was debianized by Alexis Sukrieh <sukria at debian.org> on
+Tue, 14 Aug 2007 11:08:38 +0200.
+
+It was downloaded from http://www.sukria.net/perlconsole.html
+
+Upstream Author:
+
+ Alexis Sukrieh <sukria at sukria.net>
+
+Copyright:
+
+ Copyright (C) 2007 Alexis Sukrieh
+
+License:
+
+ Perl Console is licensed under the GPL, see
+ `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2007, Alexis Sukrieh <sukria at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
Added: trunk/perlconsole/debian/rules
URL: http://svn.debian.org/wsvn/trunk/perlconsole/debian/rules?rev=15548&op=file
==============================================================================
--- trunk/perlconsole/debian/rules (added)
+++ trunk/perlconsole/debian/rules Sun Feb 24 23:00:44 2008
@@ -1,0 +1,81 @@
+#!/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
+
+ # As this is a architecture independent package, we are not
+ # supposed to install stuff to /usr/lib. MakeMaker creates
+ # the dirs, we prevent this by setting the INSTALLVENDORARCH
+ # and VENDORARCHEXP environment variables.
+
+ # Add commands to compile the package here
+ $(PERL) Makefile.PL INSTALLDIRS=vendor \
+ INSTALLVENDORARCH=/usr/share/perl5/ \
+ VENDORARCHEXP=/usr/share/perl5/
+ $(MAKE)
+ $(MAKE) test
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+
+ dh_clean build-stamp install-stamp
+
+ # Add commands to clean up after the build process here
+ [ ! -f Makefile ] || $(MAKE) realclean
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ # Add commands to install the package into debian/$PACKAGE_NAME here
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+ touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installexamples
+ dh_installdocs README
+ dh_installchangelogs CHANGES
+ dh_perl
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
Propchange: trunk/perlconsole/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Modified: trunk/perlconsole/lib/PerlConsole/Console.pm
URL: http://svn.debian.org/wsvn/trunk/perlconsole/lib/PerlConsole/Console.pm?rev=15548&op=diff
==============================================================================
--- trunk/perlconsole/lib/PerlConsole/Console.pm (original)
+++ trunk/perlconsole/lib/PerlConsole/Console.pm Sun Feb 24 23:00:44 2008
@@ -11,7 +11,7 @@
use Term::ReadLine;
use PerlConsole::Preferences;
use PerlConsole::Commands;
-use Module::Refresh;
+# use Module::Refresh;
use Lexical::Persistence;
use Getopt::Long;
@@ -276,7 +276,9 @@
$self->learn($code);
# Refresh the loaded modules in @INC that have changed
- Module::Refresh->refresh;
+
+ # libmodule-refresh-perl is not yet in Debian, wo we don't use it
+ # Module::Refresh->refresh;
# looks like it's time to evaluates some code ;)
$self->evaluate($code);
Added: trunk/perlconsole/perlconsole.1
URL: http://svn.debian.org/wsvn/trunk/perlconsole/perlconsole.1?rev=15548&op=file
==============================================================================
--- trunk/perlconsole/perlconsole.1 (added)
+++ trunk/perlconsole/perlconsole.1 Sun Feb 24 23:00:44 2008
@@ -1,0 +1,188 @@
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sh \" Subsection heading
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings. \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote. \*(C+ will
+.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+. ds -- \(*W-
+. ds PI pi
+. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
+. ds L" ""
+. ds R" ""
+. ds C` ""
+. ds C' ""
+'br\}
+.el\{\
+. ds -- \|\(em\|
+. ds PI \(*p
+. ds L" ``
+. ds R" ''
+'br\}
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
+.\" entries marked with X<> in POD. Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.if \nF \{\
+. de IX
+. tm Index:\\$1\t\\n%\t"\\$2"
+..
+. nr % 0
+. rr F
+.\}
+.\"
+.\" For nroff, turn off justification. Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.hy 0
+.if n .na
+.\"
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+.\" Fear. Run. Save yourself. No user-serviceable parts.
+. \" fudge factors for nroff and troff
+.if n \{\
+. ds #H 0
+. ds #V .8m
+. ds #F .3m
+. ds #[ \f1
+. ds #] \fP
+.\}
+.if t \{\
+. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+. ds #V .6m
+. ds #F 0
+. ds #[ \&
+. ds #] \&
+.\}
+. \" simple accents for nroff and troff
+.if n \{\
+. ds ' \&
+. ds ` \&
+. ds ^ \&
+. ds , \&
+. ds ~ ~
+. ds /
+.\}
+.if t \{\
+. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+.\}
+. \" troff and (daisy-wheel) nroff accents
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+.ds ae a\h'-(\w'a'u*4/10)'e
+.ds Ae A\h'-(\w'A'u*4/10)'E
+. \" corrections for vroff
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+. \" for low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+. ds : e
+. ds 8 ss
+. ds o a
+. ds d- d\h'-1'\(ga
+. ds D- D\h'-1'\(hy
+. ds th \o'bp'
+. ds Th \o'LP'
+. ds ae ae
+. ds Ae AE
+.\}
+.rm #[ #] #H #V #F C
+.\" ========================================================================
+.\"
+.IX Title "PERLCONSOLE 1"
+.TH PERLCONSOLE 1 "2007-08-28" "perl v5.8.8" "Perl Console"
+.SH "NAME"
+perlconsole
+.SH "COPYRIGHT"
+.IX Header "COPYRIGHT"
+Perl Console is Copyright (C) 2007 by Alexis Sukrieh
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+Perl Console is a small program that implements a Read-eval-print loop: it lets
+you evaluate Perl code interactively.
+.PP
+It uses Readline to grab input, and provides completion with all the namespaces
+loaded during your session. It allows you to load a module in your session and
+test a function exported by it.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+\&\fB\-\-rcfile\fR=<\s-1FILE\s0> : change the file parsed at startup (see \s-1RCFILE\s0).
+.SH "COMMANDS"
+.IX Header "COMMANDS"
+It's possible to interact with the console with internal commands. The
+following commands are supported in this version:
+.IP "\fB:help\fR display the interactive help screen" 4
+.IX Item ":help display the interactive help screen"
+.PD 0
+.IP "\fB:quit\fR quit the console" 4
+.IX Item ":quit quit the console"
+.IP "\fB:set\fR set a preference (see \s-1PREFERENCES\s0)." 4
+.IX Item ":set set a preference (see PREFERENCES)."
+.PD
+.SH "RCFILE"
+.IX Header "RCFILE"
+PerlConsole will look for a rcfile located in your home directory called:
+~/.perlconsolerc (or wherever you pointed to with \*(L"\-\-rcifle\*(R").
+.PP
+Every line in that file will be evaluated as if they were issued in the console.
+You can then load there your favorite modules, or even define your preferences.
+.PP
+Example of a valid ~/.perlconsolerc
+.PP
+.Vb 2
+\& :set output = dumper
+\& use Date::Calc;
+.Ve
+.SH "PREFERENCES"
+.IX Header "PREFERENCES"
+Preferences can be set with the \fB:set\fR command. The following preferences are
+supported in this version:
+.IP "\fBoutput\fR changes the output of evaluated code" 4
+.IX Item "output changes the output of evaluated code"
+.PP
+For details about commands, ype :help <command> within the console.
+.SH "AUTHOR"
+.IX Header "AUTHOR"
+Perl Console was writen by Alexis Sukrieh <sukria at sukria.net>.
+.PP
+This manpage was written by Alexis Sukrieh for the Debian system but may be
+used for others.
More information about the Pkg-perl-cvs-commits
mailing list