Package: ruby-pygments.rb / 0.6.3-2+deb9u1

Metadata

Package Version Patches format
ruby-pygments.rb 0.6.3-2+deb9u1 3.0 (quilt)

Patch series

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

pygments.rb.gemspec | 8 6 + 2 - 0 !
1 file changed, 6 insertions(+), 2 deletions(-)

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 | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 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 | 12 2 + 10 - 0 !
1 file changed, 2 insertions(+), 10 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
0008 fix_test_pygments.patch | (download)

test/test_pygments.rb | 16 8 + 8 - 0 !
1 file changed, 8 insertions(+), 8 deletions(-)

 reflect changes in pygments engine s/c1/ch
Bug-Debian: https://bugs.debian.org/812940
0009 adapt to new pygments.patch | (download)

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

 adapt to new pygments

 the new version of pygments 2.1.1 adds empty span blocks
 This patch adapts the tests to the new convention
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830400
Bug: https://github.com/tmm1/pygments.rb/issues/160
0010 no relative path for require in tests.patch | (download)

test/test_pygments.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 no relative path for require in tests

Let the interpreter find the library with loadpath in tests
So that the tests can be run with the installed package (autpkgtest)
0011 Set reasonable upper limit to RLIMIT_NOFILE.patch | (download)

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

---