Package: ruby-pygments.rb / 0.5.4~ds1-3

Metadata

Package Version Patches format
ruby-pygments.rb 0.5.4~ds1-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Remove gemspec git ls files.patch | (download)

pygments.rb.gemspec | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

remove gemspec git ls-files
0002 Don t set PYGMENTS_PATH and remove sys.path appends.patch | (download)

lib/pygments/mentos.py | 15 8 + 7 - 0 !
lib/pygments/popen.rb | 5 3 + 2 - 0 !
2 files changed, 11 insertions(+), 9 deletions(-)

don't set pygments_path and remove sys.path appends
0003 Conditional use of lexers file path.patch | (download)

lib/pygments/popen.rb | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

conditional use of lexers file pathuse upstream file path during build, use shipped file once installed.
0004 Remove unshipped custom lexers.patch | (download)

lib/pygments/popen.rb | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 remove unshipped custom lexers
0005 Use proper python shebang.patch | (download)

lib/pygments/mentos.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use proper python shebang
0006 Invoke mentos directly on GNU Linux.patch | (download)

lib/pygments/popen.rb | 13 2 + 11 - 0 !
1 file changed, 2 insertions(+), 11 deletions(-)

 [patch] invoke mentos directly on gnu/linux

Invoking the script on GNU/Linux by passing it as an argument to
python(2) makes the process use 100% CPU for about tens of seconds when
it is supposed to timeout (test_returns_nil_on_timeout reproduces this).

On current Debian Sid python2 exists, so this can be used in mentos.py
shebang.

Brought back script invocation for windows.

This is forwarded upstream https://github.com/tmm1/pygments.rb/pull/119

0007 Update test result.patch | (download)

test/test_pygments.rb | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

 update 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