Package: ruby-nokogiri / 1.18.2+dfsg-1

Metadata

Package Version Patches format
ruby-nokogiri 1.18.2+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0002 deactivate reader_blocking test.patch | (download)

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

 deactivate reader_blocking test

It makes the test suite hang on Debian kFreeBSD ports

https://github.com/sparklemotion/nokogiri/issues/965

0002 Ignore mismatching versions of libs.patch | (download)

lib/nokogiri/version/info.rb | 19 10 + 9 - 0 !
1 file changed, 10 insertions(+), 9 deletions(-)

 ignore mismatching versions of libs

when there is a discrepancy between the version used to build the
package and the version to used to run tests. Meaningful only during
transitions, but cause spurious autopkgtest failures.

Debian-Bug: https://bugs.debian.org/993818
0005 Remove unnecessary development dependencies.patch | (download)

rakelib/extensions.rake | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 remove unnecessary development dependencies


0005 test helper.rb ignore GC compaction on unsupported p.patch | (download)

test/helper.rb | 23 16 + 7 - 0 !
1 file changed, 16 insertions(+), 7 deletions(-)

 test/helper.rb: ignore gc compaction on unsupported platforms

For example, ruby 3.0 on Debian ppc64el architecture does not support GC
compaction. When running the tests, every 20th test crashes like this:

> Error:
> Minitest::Result#test_parsing_attribute_namespace:
> NotImplementedError: Compaction isn't available on this platform
>     <internal:gc>:213:in `compact'
>     /home/terceiro/ruby-nokogiri-1.13.5+dfsg/test/helper.rb:123:in `teardown'

0006 Drop code from rakelib rubocop.rake.patch | (download)

rakelib/rubocop.rake | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 drop code from rakelib/rubocop.rake

This is loaded unconditionally by rake when executed by
gem2deb-test-runner, making the build require having rubocop installed,
what is not really warranted.