[SCM] Debian packaging of Text-RewriteRules CPAN distribution branch, master, updated. 4714723674193ad853b5fa48c15e7eeb8866cd4d
Nuno Carvalho
smash at cpan.org
Fri May 4 14:05:59 UTC 2012
The following commit has been merged in the master branch:
commit 45f414d47adf20953f2fdb444da242943eeed834
Author: Nuno Carvalho <smash at cpan.org>
Date: Fri May 4 14:42:20 2012 +0100
Add patch to fix typos (also applied upstream)
diff --git a/debian/changelog b/debian/changelog
index 3a1712f..9c618e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,6 @@
libtext-rewriterules-perl (0.23-1) UNRELEASED; urgency=low
TODO:
- - Could you add a patch for the spelling error reported by lintian (and then
- forward it upstream)?
- scripts/textrr:
- Install it as example?
- If installed into /usr/bin/ write a small manpage to know what is textrr
diff --git a/debian/patches/fix_typos.patch b/debian/patches/fix_typos.patch
new file mode 100644
index 0000000..0d2153d
--- /dev/null
+++ b/debian/patches/fix_typos.patch
@@ -0,0 +1,65 @@
+Description: fix typos
+Author: Nuno Carvalho <smash at cpan.org>
+Applied-Upstream: 0.24
+--- a/lib/Text/RewriteRules.pm
++++ b/lib/Text/RewriteRules.pm
+@@ -54,7 +54,7 @@
+
+ cursor based rewrite (RULES/m function):
+
+- add a cursor to the begining of the string
++ add a cursor to the beginning of the string
+ while not reach end of string
+ | apply substitute just after cursor and advance cursor
+ | or advance cursor if no rule can be applied
+@@ -80,7 +80,7 @@
+
+ The approach used is the last: we use C<Filter::Simple> such that we
+ can add a specific non-perl syntax inside the Perl script. This
+-improves legibility of big rewriting rules sytems.
++improves legibility of big rewriting rules systems.
+
+ This documentation is divided in two parts: first we will see the
+ reference of the module. Kind of, what it does, with a brief
+@@ -150,12 +150,12 @@
+
+ =head2 Conditional Rule
+
+-On some cases we want to perform a susbtitution if the pattern matches
++On some cases we want to perform a substitution if the pattern matches
+ B<and> a set of conditions about that pattern (or not) are true.
+
+ For that, we use a three part rule. We have the common rule plus the
+ condition part, separated from the rule by C<!!>. These conditional
+-rules can be applied both for basic and exeuction rules.
++rules can be applied both for basic and execution rules.
+
+ RULES translate
+ ([[:alpha:]]+)=e=>$dic{$1}!! exists($dic{$1})
+@@ -225,7 +225,7 @@
+ To facilitate matching complex languages Text::RewriteRules defines a
+ set of regular expressions that you can use (without defining them).
+
+-=head2 Parethesis
++=head2 Parenthesis
+
+ There are three kind of usual parenthesis: the standard parenthesis,
+ brackets or curly braces. You can match a balanced string of
+@@ -238,7 +238,7 @@
+
+ to this string
+
+- something [ a [ b] c [d ]] and somehting more
++ something [ a [ b] c [d ]] and something more
+
+ then, you will get
+
+@@ -803,7 +803,7 @@
+
+ At the moment, just a set of commented examples.
+
+-Example1 -- from number to portuguese words (usint tradicional rewriting)
++Example1 -- from number to portuguese words (using traditional rewriting)
+
+ Example2 -- Naif translator (using cursor-based rewriting)
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..48dc2d5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_typos.patch
--
Debian packaging of Text-RewriteRules CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list