[liblingua-en-tagger-perl] 03/04: Drop patch use-nstore-for-datafiles, applied upstream.

gregor herrmann gregoa at debian.org
Tue Dec 27 00:55:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository liblingua-en-tagger-perl.

commit 5896c435cc1b369193cf414724113c3e5f6246eb
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Dec 27 01:53:17 2016 +0100

    Drop patch use-nstore-for-datafiles, applied upstream.
---
 debian/patches/series                   |  1 -
 debian/patches/use-nstore-for-datafiles | 32 --------------------------------
 2 files changed, 33 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 52c4e03..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-use-nstore-for-datafiles
diff --git a/debian/patches/use-nstore-for-datafiles b/debian/patches/use-nstore-for-datafiles
deleted file mode 100644
index 1f7fd4a..0000000
--- a/debian/patches/use-nstore-for-datafiles
+++ /dev/null
@@ -1,32 +0,0 @@
-Description: Change the generation of the part-of-speech lexicon to use nstore instead of store.
- This should make the package architecture-independent and reproducible.
-Forwarded: https://rt.cpan.org/Ticket/Display.html?id=119386
-Author: Chris Butler <chrisb at debian.org>, Reiner Herrmann <reiner at reiner-h.de>
-Last-Update: 2015-05-28
-Reviewed-By: Axel Beckert <abe at debian.org>
-Bug: https://rt.cpan.org/Ticket/Display.html?id=119386
-
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -33,8 +33,9 @@
-         
- 
- sub install {
--        use Storable;
-+        use Storable qw/nstore/;
-         use File::Spec;
-+        $Storable::canonical = 1;
-         my $lex_dir = 'Tagger';
-         my $word_path = File::Spec->catfile( $lex_dir, 'pos_words.hash' );
-         my $tag_path = File::Spec->catfile( $lex_dir, 'pos_tags.hash' );
-@@ -44,8 +44,8 @@
-                 _load_tags( File::Spec->catfile( $lex_dir, 'tags.yml' ) );
-                 _load_words( File::Spec->catfile( $lex_dir, 'words.yml' ) );
-                 _load_words( File::Spec->catfile( $lex_dir, 'unknown.yml' ) );
--                store \%_LEXICON, $word_path;
--                store \%_HMM, $tag_path;
-+                nstore \%_LEXICON, $word_path;
-+                nstore \%_HMM, $tag_path;
-         }
- 
-         if( -f $word_path and -f $tag_path ){

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblingua-en-tagger-perl.git



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