develooper Front page | perl.perl5.porters | Postings from April 2011

[PATCH] installperl: removed NamedSequences.txt, added CompositionExclusions.txt

Thread Next
From:
Alexey Tourbin
Date:
April 26, 2011 19:35
Subject:
[PATCH] installperl: removed NamedSequences.txt, added CompositionExclusions.txt
Message ID:
20110427023515.GC21855@altlinux.org
NamedSequences.txt was used in Unicode/UCD.pm before v5.13.7-9-g98ef764.
"git grep -w NamedSequences" suggests that NamedSequences.txt is now
used only in lib/charnames.t and lib/unicore/mktables.

CompositionExclusions.txt is used in cpan/Unicode-Normalize/mkheader.
Since Unicode-Normalize is a CPAN module, CompositionExclusions.txt
should be kept so that the module can be upgraded locally from CPAN.
---
 installperl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/installperl b/installperl
index 41b575b..90c349d 100755
--- a/installperl
+++ b/installperl
@@ -722,7 +722,7 @@ sub installlib {
     if ( $dir =~ /^unicore/ ) {
       if ( $name =~ /\.txt\z/ ) {
         # We can ignore most, but not all .txt files
-        return unless $name =~ /\A(?:Blocks|CaseFolding|SpecialCasing|NamedSequences)\.txt\z/;
+        return unless $name =~ /\A(?:Blocks|CaseFolding|CompositionExclusions|SpecialCasing)\.txt\z/;
       }
       else {
         # TestProp only needed during testing
-- 
1.7.4.5


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About