Package: ruby-pygments.rb / 4.0.0+ds-1

Metadata

Package Version Patches format
ruby-pygments.rb 4.0.0+ds-1 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 git ls-files usage from gemspec file

0002 Don t set PYGMENTS_PATH and remove sys.path appends.patch | (download)

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

 don't set pygments_path and remove sys.path appends

No need to use those as everything is installed already. This is just an updated
version of the previous already existing patch from Debian Ruby Extras Maintainers.
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

Origin patch from Per Andersson <avtobiff@gmail.com>
0010 Disable the test expecting a timeout.patch | (download)

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

 disable the test expecting a timeout

Based on previous patch from Santiago Vila <sanvila@debian.org>.
0013 test drop test that depends on Python internals.patch | (download)

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

 test: drop test that depends on python internals

This test works on Python 2 because for some reason the "Python" lexers
comes later, and overrides the "IPython" one in the mime type index. On
0014 no relative path to mentos py.patch | (download)

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

 do not use relative path to mentos.py

This fails when testing against the installed package.