[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771317: marked as done (unblock: ruby-pygments.rb/0.5.4~ds1-1.1)



Your message dated Fri, 28 Nov 2014 13:49:06 +0000
with message-id <635c31902ca768d0be2be63aa175ef88@mail.adsl.funky-badger.org>
and subject line Re: Bug#771317: unblock: ruby-pygments.rb/0.5.4~ds1-1.1
has caused the Debian Bug report #771317,
regarding unblock: ruby-pygments.rb/0.5.4~ds1-1.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
771317: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771317
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package ruby-pygments.rb

During BSP in Munich we created an NMU patch that fixed
the bug https://bugs.debian.org/768615 . The debdiff is
attached.

unblock ruby-pygments.rb/0.5.4~ds1-1.1

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
diff -Nru ruby-pygments.rb-0.5.4~ds1/debian/changelog ruby-pygments.rb-0.5.4~ds1/debian/changelog
--- ruby-pygments.rb-0.5.4~ds1/debian/changelog	2014-04-04 04:06:32.000000000 +0200
+++ ruby-pygments.rb-0.5.4~ds1/debian/changelog	2014-11-22 17:17:34.000000000 +0100
@@ -1,3 +1,10 @@
+ruby-pygments.rb (0.5.4~ds1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Update the testsuite (Closes: #768615)
+
+ -- Tomasz Buchert <tomasz.buchert@inria.fr>  Sat, 22 Nov 2014 15:18:14 +0100
+
 ruby-pygments.rb (0.5.4~ds1-1) unstable; urgency=low
 
   * Initial release (Closes: #703188)
diff -Nru ruby-pygments.rb-0.5.4~ds1/debian/patches/0007-Update-test-result.patch ruby-pygments.rb-0.5.4~ds1/debian/patches/0007-Update-test-result.patch
--- ruby-pygments.rb-0.5.4~ds1/debian/patches/0007-Update-test-result.patch	2014-04-04 03:54:49.000000000 +0200
+++ ruby-pygments.rb-0.5.4~ds1/debian/patches/0007-Update-test-result.patch	2014-11-22 17:17:34.000000000 +0100
@@ -1,18 +1,28 @@
 Description: Update test result
 Subject: Update test result
- Using old test result.
+ The upstream testsuite is using an embedded pygments version, which
+ at the moment of writing this is 2.0pre. The version in Debian is
+ slightly different (2.0rc1) and there are some minor mismatches. Most
+ importantly, the Debian version is unable to find a good lexer for
+ ambigous code "a". It is fixed by forcing it to use Ruby lexer.
 
  Already reported upstream https://github.com/tmm1/pygments.rb/issues/118
 Author: Per Andersson <avtobiff@gmail.com>
 ---
 --- a/test/test_pygments.rb
 +++ b/test/test_pygments.rb
-@@ -32,7 +32,7 @@
-   def test_highlight_works_with_larger_files
-     code = P.highlight(REDIS_CODE)
-     assert_match 'used_memory_peak_human', code
--    assert_equal 455203, code.bytesize.to_i
-+    assert_equal 454107, code.bytesize.to_i
+@@ -88,7 +88,7 @@
    end
  
-   def test_returns_nil_on_timeout
+   def test_highlight_works_with_single_character_input
+-    code = P.highlight("a")
++    code = P.highlight("a", :lexer => 'ruby')
+     assert_match 'a</span>', code
+   end
+ 
+@@ -283,5 +283,3 @@
+     assert list['Html'][:aliases].include?('html')
+   end
+ end
+-
+-

--- End Message ---
--- Begin Message ---
On 2014-11-28 12:21, Tomasz Buchert wrote:
Please unblock package ruby-pygments.rb

During BSP in Munich we created an NMU patch that fixed
the bug https://bugs.debian.org/768615 . The debdiff is
attached.

Unblocked, thanks.

Regards,

Adam

--- End Message ---

Reply to: