pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-nokogiri ruby-nokogiri: update to 1.10.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d45245c5026
branches:  trunk
changeset: 327911:7d45245c5026
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Sat Jan 12 14:31:38 2019 +0000

description:
ruby-nokogiri: update to 1.10.0.

Upstream changes (from CHANGELOG.md):

## 1.10.0 / 2019-01-04

### Features

* [MRI] Cross-built Windows gems now support Ruby 2.6 [#1842, #1850]


### Backwards incompatibilities

This release ends support for:

* Ruby 2.2, for which [official support ended on 2018-03-31](https://www.ruby-lang.org/en/news/2018/06/20/support-of-ruby-2-2-has-ended/) [#1841]
* JRuby 1.7, for which [official support ended on 2017-11-21](https://github.com/jruby/jruby/issues/4112) [#1741]


### Dependencies

* [MRI] libxml2 is updated from 2.9.8 to 2.9.9
* [MRI] libxslt is updated from 1.1.32 to 1.1.33


## 1.9.1 / 2018-12-17

### Bug fixes

* Fix a bug introduced in v1.9.0 where `XML::DocumentFragment#dup` no longer returned an instance of the callee's class, instead always returning an `XML::DocumentFragment`. This notably broke any 
subclass of `XML::DocumentFragment` including `HTML::DocumentFragment` as well as the Loofah gem's `Loofah::HTML::DocumentFragment`. [#1846]


## 1.9.0 / 2018-12-17

### Security Notes

* [JRuby] Upgrade Xerces dependency from 2.11.0 to 2.12.0 to address upstream vulnerability CVE-2012-0881 [#1831] (Thanks @grajagandev for reporting.)


### Notable non-functional changes

* Decrease installation size by removing many unneeded files (e.g., `/test`) from the packaged gems. [#1719] (Thanks, @stevecrozz!)


### Features

* `XML::Attr#value=` allows HTML node attribute values to be set to either a blank string or an empty boolean attribute. [#1800]
* Introduce `XML::Node#wrap` which does what `XML::NodeSet#wrap` has always done, but for a single node. [#1531] (Thanks, @ethirajsrinivasan!)
* [MRI] Improve installation experience on macOS High Sierra (Darwin). [#1812, #1813] (Thanks, @gpakosz and @nurse!)
* [MRI] Node#dup supports copying a node directly to a new document. See the method documentation for details.
* [MRI] DocumentFragment#dup is now more memory-efficient, avoiding making unnecessary copies. [#1063]
* [JRuby] NodeSet has been rewritten to improve performance! [#1795]


### Bug fixes

* `NodeSet#each` now returns `self` instead of zero. [#1822] (Thanks, @olehif!)
* [MRI] Address a memory leak when using XML::Builder to create nodes with namespaces. [#1810]
* [MRI] Address a memory leak when unparenting a DTD. [#1784] (Thanks, @stevecheckoway!)
* [MRI] Use RbConfig::CONFIG instead of ::MAKEFILE_CONFIG to fix installations that use Makefile macros. [#1820] (Thanks, @nobu!)
* [JRuby] Decrease large memory usage when making nested XPath queries. [#1749]
* [JRuby] Fix failing tests on JRuby 9.2.x
* [JRuby] Fix default namespaces in nodes reparented into a different document [#1774]
* [JRuby] Fix support for Java 9. [#1759] (Thanks, @Taywee!)


### Dependencies

* [MRI] Upgrade mini_portile2 dependency from `~> 2.3.0` to `~> 2.4.0`

diffstat:

 textproc/ruby-nokogiri/Makefile |   12 ++-
 textproc/ruby-nokogiri/PLIST    |  137 +---------------------------------------
 textproc/ruby-nokogiri/distinfo |   10 +-
 3 files changed, 13 insertions(+), 146 deletions(-)

diffs (204 lines):

diff -r 6a7873394e1f -r 7d45245c5026 textproc/ruby-nokogiri/Makefile
--- a/textproc/ruby-nokogiri/Makefile   Sat Jan 12 14:27:49 2019 +0000
+++ b/textproc/ruby-nokogiri/Makefile   Sat Jan 12 14:31:38 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2018/11/01 15:00:31 tsutsui Exp $
+# $NetBSD: Makefile,v 1.44 2019/01/12 14:31:38 tsutsui Exp $
 
-DISTNAME=      nokogiri-1.8.5
+DISTNAME=      nokogiri-1.10.0
 CATEGORIES=    textproc
 
 MAINTAINER=    tsutsui%NetBSD.org@localhost
@@ -8,14 +8,16 @@
 COMMENT=       HTML, XML, SAX, and Reader parser with XPath and CSS selector support
 LICENSE=       mit
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-mini_portile2>=2.3.0<2.4.0:../../misc/ruby-mini_portile2
+RUBY_VERSIONS_INCOMPATIBLE= 22
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-mini_portile2>=2.4.0<2.5.0:../../misc/ruby-mini_portile2
 
 USE_GCC_RUNTIME=       yes
 USE_TOOLS+=            pkg-config
 MAKE_ENV+=             NOKOGIRI_USE_SYSTEM_LIBRARIES=yes
 RUBYGEM_OPTIONS+=      --format-executable
-OVERRIDE_GEMSPEC+=     :files ports/archives/libxml2-2.9.8.tar.gz= \
-                               ports/archives/libxslt-1.1.32.tar.gz=
+OVERRIDE_GEMSPEC+=     :files ports/archives/libxml2-2.9.9.tar.gz= \
+                               ports/archives/libxslt-1.1.33.tar.gz=
 
 .include "../../devel/ruby-pkg-config/tool.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
diff -r 6a7873394e1f -r 7d45245c5026 textproc/ruby-nokogiri/PLIST
--- a/textproc/ruby-nokogiri/PLIST      Sat Jan 12 14:27:49 2019 +0000
+++ b/textproc/ruby-nokogiri/PLIST      Sat Jan 12 14:31:38 2019 +0000
@@ -1,30 +1,12 @@
-@comment $NetBSD: PLIST,v 1.27 2018/11/01 15:00:31 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.28 2019/01/12 14:31:38 tsutsui Exp $
 bin/nokogiri${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
 ${GEM_EXTSDIR}/nokogiri/nokogiri.${RUBY_DLEXT}
-${GEM_LIBDIR}/.autotest
-${GEM_LIBDIR}/.cross_rubies
-${GEM_LIBDIR}/.editorconfig
-${GEM_LIBDIR}/.gemtest
-${GEM_LIBDIR}/.travis.yml
-${GEM_LIBDIR}/CHANGELOG.md
-${GEM_LIBDIR}/CONTRIBUTING.md
-${GEM_LIBDIR}/C_CODING_STYLE.rdoc
-${GEM_LIBDIR}/Gemfile
-${GEM_LIBDIR}/Gemfile-libxml-ruby
 ${GEM_LIBDIR}/LICENSE-DEPENDENCIES.md
 ${GEM_LIBDIR}/LICENSE.md
-${GEM_LIBDIR}/Manifest.txt
 ${GEM_LIBDIR}/README.md
-${GEM_LIBDIR}/ROADMAP.md
-${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/SECURITY.md
-${GEM_LIBDIR}/STANDARD_RESPONSES.md
-${GEM_LIBDIR}/Y_U_NO_GEMSPEC.md
-${GEM_LIBDIR}/appveyor.yml
 ${GEM_LIBDIR}/bin/nokogiri
-${GEM_LIBDIR}/build_all
 ${GEM_LIBDIR}/dependencies.yml
 ${GEM_LIBDIR}/ext/nokogiri/depend
 ${GEM_LIBDIR}/ext/nokogiri/extconf.rb
@@ -161,121 +143,4 @@
 ${GEM_LIBDIR}/lib/nokogiri/xslt/stylesheet.rb
 ${GEM_LIBDIR}/lib/xsd/xmlparser/nokogiri.rb
 ${GEM_LIBDIR}/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
-${GEM_LIBDIR}/patches/libxml2/0002-Fix-nullptr-deref-with-XPath-logic-ops.patch
-${GEM_LIBDIR}/patches/libxml2/0003-Fix-infinite-loop-in-LZMA-decompression.patch
-${GEM_LIBDIR}/patches/sort-patches-by-date
-${GEM_LIBDIR}/suppressions/README.txt
-${GEM_LIBDIR}/suppressions/nokogiri_ruby-2.supp
-${GEM_LIBDIR}/tasks/test.rb
-${GEM_LIBDIR}/test/css/test_nthiness.rb
-${GEM_LIBDIR}/test/css/test_parser.rb
-${GEM_LIBDIR}/test/css/test_tokenizer.rb
-${GEM_LIBDIR}/test/css/test_xpath_visitor.rb
-${GEM_LIBDIR}/test/decorators/test_slop.rb
-${GEM_LIBDIR}/test/files/2ch.html
-${GEM_LIBDIR}/test/files/GH_1042.html
-${GEM_LIBDIR}/test/files/address_book.rlx
-${GEM_LIBDIR}/test/files/address_book.xml
-${GEM_LIBDIR}/test/files/atom.xml
-${GEM_LIBDIR}/test/files/bar/bar.xsd
-${GEM_LIBDIR}/test/files/bogus.xml
-${GEM_LIBDIR}/test/files/dont_hurt_em_why.xml
-${GEM_LIBDIR}/test/files/encoding.html
-${GEM_LIBDIR}/test/files/encoding.xhtml
-${GEM_LIBDIR}/test/files/exslt.xml
-${GEM_LIBDIR}/test/files/exslt.xslt
-${GEM_LIBDIR}/test/files/foo/foo.xsd
-${GEM_LIBDIR}/test/files/metacharset.html
-${GEM_LIBDIR}/test/files/namespace_pressure_test.xml
-${GEM_LIBDIR}/test/files/noencoding.html
-${GEM_LIBDIR}/test/files/po.xml
-${GEM_LIBDIR}/test/files/po.xsd
-${GEM_LIBDIR}/test/files/saml/saml20assertion_schema.xsd
-${GEM_LIBDIR}/test/files/saml/saml20protocol_schema.xsd
-${GEM_LIBDIR}/test/files/saml/xenc_schema.xsd
-${GEM_LIBDIR}/test/files/saml/xmldsig_schema.xsd
-${GEM_LIBDIR}/test/files/shift_jis.html
-${GEM_LIBDIR}/test/files/shift_jis.xml
-${GEM_LIBDIR}/test/files/shift_jis_no_charset.html
-${GEM_LIBDIR}/test/files/slow-xpath.xml
-${GEM_LIBDIR}/test/files/snuggles.xml
-${GEM_LIBDIR}/test/files/staff.dtd
-${GEM_LIBDIR}/test/files/staff.xml
-${GEM_LIBDIR}/test/files/staff.xslt
-${GEM_LIBDIR}/test/files/test_document_url/bar.xml
-${GEM_LIBDIR}/test/files/test_document_url/document.dtd
-${GEM_LIBDIR}/test/files/test_document_url/document.xml
-${GEM_LIBDIR}/test/files/tlm.html
-${GEM_LIBDIR}/test/files/to_be_xincluded.xml
-${GEM_LIBDIR}/test/files/valid_bar.xml
-${GEM_LIBDIR}/test/files/xinclude.xml
-${GEM_LIBDIR}/test/helper.rb
-${GEM_LIBDIR}/test/html/sax/test_parser.rb
-${GEM_LIBDIR}/test/html/sax/test_parser_context.rb
-${GEM_LIBDIR}/test/html/sax/test_parser_text.rb
-${GEM_LIBDIR}/test/html/sax/test_push_parser.rb
-${GEM_LIBDIR}/test/html/test_attributes.rb
-${GEM_LIBDIR}/test/html/test_builder.rb
-${GEM_LIBDIR}/test/html/test_document.rb
-${GEM_LIBDIR}/test/html/test_document_encoding.rb
-${GEM_LIBDIR}/test/html/test_document_fragment.rb
-${GEM_LIBDIR}/test/html/test_element_description.rb
-${GEM_LIBDIR}/test/html/test_named_characters.rb
-${GEM_LIBDIR}/test/html/test_node.rb
-${GEM_LIBDIR}/test/html/test_node_encoding.rb
-${GEM_LIBDIR}/test/namespaces/test_additional_namespaces_in_builder_doc.rb
-${GEM_LIBDIR}/test/namespaces/test_namespaces_aliased_default.rb
-${GEM_LIBDIR}/test/namespaces/test_namespaces_in_builder_doc.rb
-${GEM_LIBDIR}/test/namespaces/test_namespaces_in_cloned_doc.rb
-${GEM_LIBDIR}/test/namespaces/test_namespaces_in_created_doc.rb
-${GEM_LIBDIR}/test/namespaces/test_namespaces_in_parsed_doc.rb
-${GEM_LIBDIR}/test/namespaces/test_namespaces_preservation.rb
-${GEM_LIBDIR}/test/test_convert_xpath.rb
-${GEM_LIBDIR}/test/test_css_cache.rb
-${GEM_LIBDIR}/test/test_encoding_handler.rb
-${GEM_LIBDIR}/test/test_memory_leak.rb
-${GEM_LIBDIR}/test/test_nokogiri.rb
-${GEM_LIBDIR}/test/test_soap4r_sax.rb
-${GEM_LIBDIR}/test/test_xslt_transforms.rb
-${GEM_LIBDIR}/test/xml/node/test_save_options.rb
-${GEM_LIBDIR}/test/xml/node/test_subclass.rb
-${GEM_LIBDIR}/test/xml/sax/test_parser.rb
-${GEM_LIBDIR}/test/xml/sax/test_parser_context.rb
-${GEM_LIBDIR}/test/xml/sax/test_parser_text.rb
-${GEM_LIBDIR}/test/xml/sax/test_push_parser.rb
-${GEM_LIBDIR}/test/xml/test_attr.rb
-${GEM_LIBDIR}/test/xml/test_attribute_decl.rb
-${GEM_LIBDIR}/test/xml/test_builder.rb
-${GEM_LIBDIR}/test/xml/test_c14n.rb
-${GEM_LIBDIR}/test/xml/test_cdata.rb
-${GEM_LIBDIR}/test/xml/test_comment.rb
-${GEM_LIBDIR}/test/xml/test_document.rb
-${GEM_LIBDIR}/test/xml/test_document_encoding.rb
-${GEM_LIBDIR}/test/xml/test_document_fragment.rb
-${GEM_LIBDIR}/test/xml/test_dtd.rb
-${GEM_LIBDIR}/test/xml/test_dtd_encoding.rb
-${GEM_LIBDIR}/test/xml/test_element_content.rb
-${GEM_LIBDIR}/test/xml/test_element_decl.rb
-${GEM_LIBDIR}/test/xml/test_entity_decl.rb
-${GEM_LIBDIR}/test/xml/test_entity_reference.rb
-${GEM_LIBDIR}/test/xml/test_namespace.rb
-${GEM_LIBDIR}/test/xml/test_node.rb
-${GEM_LIBDIR}/test/xml/test_node_attributes.rb
-${GEM_LIBDIR}/test/xml/test_node_encoding.rb
-${GEM_LIBDIR}/test/xml/test_node_inheritance.rb
-${GEM_LIBDIR}/test/xml/test_node_reparenting.rb
-${GEM_LIBDIR}/test/xml/test_node_set.rb
-${GEM_LIBDIR}/test/xml/test_parse_options.rb
-${GEM_LIBDIR}/test/xml/test_processing_instruction.rb
-${GEM_LIBDIR}/test/xml/test_reader.rb
-${GEM_LIBDIR}/test/xml/test_reader_encoding.rb
-${GEM_LIBDIR}/test/xml/test_relax_ng.rb
-${GEM_LIBDIR}/test/xml/test_schema.rb
-${GEM_LIBDIR}/test/xml/test_syntax_error.rb
-${GEM_LIBDIR}/test/xml/test_text.rb
-${GEM_LIBDIR}/test/xml/test_unparented_node.rb
-${GEM_LIBDIR}/test/xml/test_xinclude.rb
-${GEM_LIBDIR}/test/xml/test_xpath.rb
-${GEM_LIBDIR}/test/xslt/test_custom_functions.rb
-${GEM_LIBDIR}/test/xslt/test_exception_handling.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 6a7873394e1f -r 7d45245c5026 textproc/ruby-nokogiri/distinfo
--- a/textproc/ruby-nokogiri/distinfo   Sat Jan 12 14:27:49 2019 +0000
+++ b/textproc/ruby-nokogiri/distinfo   Sat Jan 12 14:31:38 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.30 2018/11/01 15:00:31 tsutsui Exp $
+$NetBSD: distinfo,v 1.31 2019/01/12 14:31:38 tsutsui Exp $
 
-SHA1 (nokogiri-1.8.5.gem) = ae3d107915198f129f6fecbccbc0f909978a6391
-RMD160 (nokogiri-1.8.5.gem) = 3ee1af906b154fbc31134ff5240524baabe52e23
-SHA512 (nokogiri-1.8.5.gem) = 4f74bc70a778a7b0655b47d25c437c496941c44b0c83cdcd4f721453b17d35a3a145831b250a8d8077f6a78a0659d5f2f685f472f0b29a8f078bcbd3ab3ba817
-Size (nokogiri-1.8.5.gem) = 9279488 bytes
+SHA1 (nokogiri-1.10.0.gem) = 6f0f4b0cd55dde2a11fb77d5647a029905e087ec
+RMD160 (nokogiri-1.10.0.gem) = b5ff6890cd9a62ae18a985b0d15eb5a1285cee0b
+SHA512 (nokogiri-1.10.0.gem) = 00a9307e5073a2246d51df4ad0567e503ed6064d45a125eedb09803012c7ff77c2068429a549fe42088f0155f711cd1a13081e4b9170ddfb24176ea8ae5d1544
+Size (nokogiri-1.10.0.gem) = 8979968 bytes



Home | Main Index | Thread Index | Old Index