[DRE-commits] [ruby-pygments.rb] 02/07: Refresh patches for new upstream version

Per Andersson avtobiff-guest at moszumanska.debian.org
Fri Apr 4 02:07:00 UTC 2014


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

avtobiff-guest pushed a commit to branch master
in repository ruby-pygments.rb.

commit e5a25388bc9f51c8265d36cd90d278b2134d5155
Author: Per Andersson <avtobiff at gmail.com>
Date:   Fri Apr 4 03:48:46 2014 +0200

    Refresh patches for new upstream version
---
 debian/patches/0003-Conditional-use-of-lexers-file-path.patch | 4 +---
 debian/patches/0004-Remove-unshipped-custom-lexers.patch      | 4 +++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/0003-Conditional-use-of-lexers-file-path.patch b/debian/patches/0003-Conditional-use-of-lexers-file-path.patch
index 0c76bda..8cf3972 100644
--- a/debian/patches/0003-Conditional-use-of-lexers-file-path.patch
+++ b/debian/patches/0003-Conditional-use-of-lexers-file-path.patch
@@ -5,11 +5,9 @@ From:Per Andersson <avtobiff at gmail.com>
  lib/pygments/popen.rb |    5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
 
-diff --git a/lib/pygments/popen.rb b/lib/pygments/popen.rb
-index cc7ac8b..eb3cb78 100644
 --- a/lib/pygments/popen.rb
 +++ b/lib/pygments/popen.rb
-@@ -119,7 +119,10 @@ module Pygments
+@@ -119,7 +119,10 @@
      # Returns an array of lexers
      def lexers
        begin
diff --git a/debian/patches/0004-Remove-unshipped-custom-lexers.patch b/debian/patches/0004-Remove-unshipped-custom-lexers.patch
index 64c4448..1e4ba51 100644
--- a/debian/patches/0004-Remove-unshipped-custom-lexers.patch
+++ b/debian/patches/0004-Remove-unshipped-custom-lexers.patch
@@ -3,16 +3,18 @@ Subject: Remove unshipped custom lexers
 From: Per Andersson <avtobiff at gmail.com>
 --- a/lib/pygments/popen.rb
 +++ b/lib/pygments/popen.rb
-@@ -142,9 +142,9 @@
+@@ -142,10 +142,10 @@
            :filenames => lxr[2],
            :mimetypes => lxr[3]
          }
 -        hash["Augeas"] = {:name=>"Augeas", :aliases=>["augeas"], :filenames=>["*.aug"], :mimetypes=>[]}
 -        hash["dasm16"] = {:name=>"dasm16", :aliases=>["DASM16"], :filenames=>["*.dasm16", "*.dasm"], :mimetypes=>['text/x-dasm16']}
 -        hash["Puppet"] = {:name=>"Puppet", :aliases=>["puppet"], :filenames=>["*.pp"], :mimetypes=>[]}
+-        hash["Slash"]  = {:name=>"Slash",  :aliases=>["slash"],  :filenames=>["*.sl"], :mimetypes=>[]}
 +        #hash["Augeas"] = {:name=>"Augeas", :aliases=>["augeas"], :filenames=>["*.aug"], :mimetypes=>[]}
 +        #hash["dasm16"] = {:name=>"dasm16", :aliases=>["DASM16"], :filenames=>["*.dasm16", "*.dasm"], :mimetypes=>['text/x-dasm16']}
 +        #hash["Puppet"] = {:name=>"Puppet", :aliases=>["puppet"], :filenames=>["*.pp"], :mimetypes=>[]}
++        #hash["Slash"]  = {:name=>"Slash",  :aliases=>["slash"],  :filenames=>["*.sl"], :mimetypes=>[]}
          hash
        end
      end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-pygments.rb.git



More information about the Pkg-ruby-extras-commits mailing list