Control: tags 1028620 + patch
Dear maintainer, I've prepared an NMU for ruby-pygments.rb (versioned as 2.3.0+ds-2.2). The diff is attached to this message. Regards.
diff -Nru ruby-pygments.rb-2.3.0+ds/debian/changelog ruby-pygments.rb-2.3.0+ds/debian/changelog --- ruby-pygments.rb-2.3.0+ds/debian/changelog 2022-03-13 12:31:00.000000000 +0100 +++ ruby-pygments.rb-2.3.0+ds/debian/changelog 2023-01-20 09:51:53.000000000 +0100 @@ -1,3 +1,10 @@ +ruby-pygments.rb (2.3.0+ds-2.2) unstable; urgency=medium + + * Non-maintainer upload. + * Add patch for pygments 2.24 (Closes: #1028620) + + -- Jochen Sprickerhof <jspri...@debian.org> Fri, 20 Jan 2023 09:51:53 +0100 + ruby-pygments.rb (2.3.0+ds-2.1) unstable; urgency=medium * Non-maintainer upload diff -Nru ruby-pygments.rb-2.3.0+ds/debian/patches/0016-Adopt-to-pygments-2.24.patch ruby-pygments.rb-2.3.0+ds/debian/patches/0016-Adopt-to-pygments-2.24.patch --- ruby-pygments.rb-2.3.0+ds/debian/patches/0016-Adopt-to-pygments-2.24.patch 1970-01-01 01:00:00.000000000 +0100 +++ ruby-pygments.rb-2.3.0+ds/debian/patches/0016-Adopt-to-pygments-2.24.patch 2023-01-20 09:49:57.000000000 +0100 @@ -0,0 +1,21 @@ +From: Jochen Sprickerhof <jspri...@debian.org> +Date: Fri, 20 Jan 2023 09:04:03 +0100 +Subject: Adopt to pygments 2.24 + +--- + test/test_pygments.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/test_pygments.rb b/test/test_pygments.rb +index b8c0292..25bd75f 100644 +--- a/test/test_pygments.rb ++++ b/test/test_pygments.rb +@@ -29,7 +29,7 @@ class PygmentsHighlightTest < Test::Unit::TestCase + code = P.highlight(RUBY_CODE) + assert_match '<span class="ch">#!/usr/bin/ruby</span>', code + assert_equal %(<div class="highlight"><pre><span></span><span class="ch">#!/usr/bin/ruby</span> +-<span class="nb">puts</span> <span class="s1">'foo'</span> ++<span class="nb">puts</span><span class=\"w\"> </span><span class="s1">'foo'</span> + </pre></div>), code + end + diff -Nru ruby-pygments.rb-2.3.0+ds/debian/patches/series ruby-pygments.rb-2.3.0+ds/debian/patches/series --- ruby-pygments.rb-2.3.0+ds/debian/patches/series 2022-03-13 12:31:00.000000000 +0100 +++ ruby-pygments.rb-2.3.0+ds/debian/patches/series 2023-01-20 09:50:15.000000000 +0100 @@ -6,3 +6,4 @@ 0013-test-drop-test-that-depends-on-Python-internals.patch 0014-no-relative-path-to-mentos-py.patch test-update-for-latest-pygments.patch +0016-Adopt-to-pygments-2.24.patch
signature.asc
Description: PGP signature