Source: ruby-pygments.rb Version: 2.3.0+ds-2 Followup-For: Bug #1006047 Control: tags -1 pending
Dear maintainers, I prepared an NMU to fix this issue. It's blocking the migration of pygments to testing. I uploaded to DELAYED/5, please cancel or tell me to cancel if you want to handle this yourself. Paul
diff --git a/debian/changelog b/debian/changelog index 34cf687..0045c1a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ruby-pygments.rb (2.3.0+ds-2.1) unstable; urgency=medium + + * Non-maintainer upload + * test: update for latest pygments (Closes: #1006047) + + -- Paul Gevers <elb...@debian.org> Sun, 13 Mar 2022 12:31:00 +0100 + ruby-pygments.rb (2.3.0+ds-2) unstable; urgency=medium * Team upload. diff --git a/debian/patches/series b/debian/patches/series index ea926c8..5ce9448 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ 0010-Disable-the-test-expecting-a-timeout.patch 0013-test-drop-test-that-depends-on-Python-internals.patch 0014-no-relative-path-to-mentos-py.patch +test-update-for-latest-pygments.patch diff --git a/debian/patches/test-update-for-latest-pygments.patch b/debian/patches/test-update-for-latest-pygments.patch new file mode 100644 index 0000000..51dd7a4 --- /dev/null +++ b/debian/patches/test-update-for-latest-pygments.patch @@ -0,0 +1,38 @@ +From: Paul Gevers <elb...@debian.org> +Date: Sun, 13 Mar 2022 12:29:11 +0100 +X-Dgit-Generated: 2.3.0+ds-2.1 5528a716afc2e62e4fc6377770c623c238e02259 +Subject: test: update for latest pygments + +Closes: #1006047 + +--- + +--- ruby-pygments.rb-2.3.0+ds.orig/test/test_pygments.rb ++++ ruby-pygments.rb-2.3.0+ds/test/test_pygments.rb +@@ -71,7 +71,7 @@ class PygmentsHighlightTest < Test::Unit + + def test_highlight_formatter_bbcode + code = P.highlight(RUBY_CODE, formatter: 'bbcode') +- assert_match 'color=#408080][i]#!/usr/bin/ruby[/i]', code ++ assert_match 'color=#3D7B7B][i]#!/usr/bin/ruby[/i]', code + end + + def test_highlight_formatter_terminal +@@ -181,7 +181,7 @@ class PygmentsLexerClassTest < Test::Uni + assert_equal P::Lexer['PHP'], P::Lexer.find_by_extname('.php4') + assert_equal P::Lexer['PHP'], P::Lexer.find_by_extname('.php5') + assert_equal P::Lexer['Groff'], P::Lexer.find_by_extname('.1') +- assert_equal P::Lexer['Groff'], P::Lexer.find_by_extname('.3') ++# assert_equal P::Lexer['Groff'], P::Lexer.find_by_extname('.3') + assert_equal P::Lexer['C'], P::Lexer.find_by_extname('.c') + assert_equal P::Lexer['Python'], P::Lexer.find_by_extname('.py') + assert_equal P::Lexer['Java'], P::Lexer.find_by_extname('.java') +@@ -213,7 +213,7 @@ class PygmentsCssTest < Test::Unit::Test + end + + def test_css_default +- assert_match '.c { color: #408080; font-style: italic }', P.css ++ assert_match '.c { color: #3D7B7B; font-style: italic }', P.css + end + + def test_css_colorful
_______________________________________________ Pkg-ruby-extras-maintainers mailing list Pkg-ruby-extras-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers