pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ruby-libxml Update ruby-libxmlto 3.0.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7ec44959f7e5
branches: trunk
changeset: 359990:7ec44959f7e5
user: taca <taca%pkgsrc.org@localhost>
date: Mon Mar 20 15:32:38 2017 +0000
description:
Update ruby-libxmlto 3.0.0.
== 3.0.0 / 2017-02-07 Charlie Savage
* Revamp how libxml-ruby manages memory. Instead of trying to return the same ruby object for each xmlnode,
the bindings now create wrapper ruby objects as needed which are then freed at the end of use.
This allows most memory management to be handled by libxml itself. Ruby only manages the lifespan of
documents and parent xml nodes. When those go out of scope, the underlying libxml objects are also freed.
This implementation requires almost no overhead, plays nicely with Nokogiri and appears to work much
better (Charlie Savage).
* Change XML::Node#eql? API. Nodes are now considered equal only if they wrap the same underlying
libxml node. Previously, they would also be considered equal if they contained the same content
(Charlie Savage)
* Change XML::Reader.expand API. Previously it would automatically instantiate a reader document so
the an xpath expression could be used to search the returned node. Now you should first call
reader.doc (Charlie Savage)
* Update Visual Studio project for Visual Studio 15 - requires ruby 2.4+ (Charlie Savage)
* Remove APIs that have been deprecated for several years (Charlie Savage)
diffstat:
textproc/ruby-libxml/Makefile | 4 ++--
textproc/ruby-libxml/PLIST | 7 +------
textproc/ruby-libxml/distinfo | 10 +++++-----
3 files changed, 8 insertions(+), 13 deletions(-)
diffs (63 lines):
diff -r fafabcce664b -r 7ec44959f7e5 textproc/ruby-libxml/Makefile
--- a/textproc/ruby-libxml/Makefile Mon Mar 20 15:31:43 2017 +0000
+++ b/textproc/ruby-libxml/Makefile Mon Mar 20 15:32:38 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2016/10/18 14:36:38 taca Exp $
+# $NetBSD: Makefile,v 1.25 2017/03/20 15:32:38 taca Exp $
-DISTNAME= libxml-ruby-2.9.0
+DISTNAME= libxml-ruby-3.0.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/ruby-//}
CATEGORIES= textproc
diff -r fafabcce664b -r 7ec44959f7e5 textproc/ruby-libxml/PLIST
--- a/textproc/ruby-libxml/PLIST Mon Mar 20 15:31:43 2017 +0000
+++ b/textproc/ruby-libxml/PLIST Mon Mar 20 15:32:38 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2016/10/18 14:36:38 taca Exp $
+@comment $NetBSD: PLIST,v 1.18 2017/03/20 15:32:38 taca Exp $
${GEM_HOME}/build_info/${GEM_NAME}.info
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_EXTSDIR}/gem.build_complete
@@ -8,7 +8,6 @@
${GEM_LIBDIR}/MANIFEST
${GEM_LIBDIR}/README.rdoc
${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/ext/libxml/extconf.h
${GEM_LIBDIR}/ext/libxml/extconf.rb
${GEM_LIBDIR}/ext/libxml/libxml.c
${GEM_LIBDIR}/ext/libxml/libxml_ruby.def
@@ -97,10 +96,7 @@
${GEM_LIBDIR}/lib/libxml/namespace.rb
${GEM_LIBDIR}/lib/libxml/namespaces.rb
${GEM_LIBDIR}/lib/libxml/node.rb
-${GEM_LIBDIR}/lib/libxml/ns.rb
${GEM_LIBDIR}/lib/libxml/parser.rb
-${GEM_LIBDIR}/lib/libxml/properties.rb
-${GEM_LIBDIR}/lib/libxml/reader.rb
${GEM_LIBDIR}/lib/libxml/sax_callbacks.rb
${GEM_LIBDIR}/lib/libxml/sax_parser.rb
${GEM_LIBDIR}/lib/libxml/schema.rb
@@ -108,7 +104,6 @@
${GEM_LIBDIR}/lib/libxml/schema/element.rb
${GEM_LIBDIR}/lib/libxml/schema/type.rb
${GEM_LIBDIR}/lib/libxml/tree.rb
-${GEM_LIBDIR}/lib/libxml/xpath_object.rb
${GEM_LIBDIR}/lib/libxml_ruby.${RUBY_DLEXT}
${GEM_LIBDIR}/lib/xml.rb
${GEM_LIBDIR}/lib/xml/libxml.rb
diff -r fafabcce664b -r 7ec44959f7e5 textproc/ruby-libxml/distinfo
--- a/textproc/ruby-libxml/distinfo Mon Mar 20 15:31:43 2017 +0000
+++ b/textproc/ruby-libxml/distinfo Mon Mar 20 15:32:38 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2016/10/18 14:36:38 taca Exp $
+$NetBSD: distinfo,v 1.19 2017/03/20 15:32:38 taca Exp $
-SHA1 (libxml-ruby-2.9.0.gem) = e106c8640f1c370e92a19b63cde88ce185a1ef51
-RMD160 (libxml-ruby-2.9.0.gem) = bc9c652e304c71ee5d84233ace41ef95b1134c35
-SHA512 (libxml-ruby-2.9.0.gem) = 06ad42ce68c16715fc92a41439c3c27b49fc25b4f8829fac0a27f860d6c3df9a4cb964f1b4677d7587d31c0e5542c4d1c1c25ae3bcfcec889015618d22f6ff3c
-Size (libxml-ruby-2.9.0.gem) = 262144 bytes
+SHA1 (libxml-ruby-3.0.0.gem) = 9a4f28d019da0aef73773d676f9ba3ce9294b6bb
+RMD160 (libxml-ruby-3.0.0.gem) = 372d6cca92236af3ca6aefe798656da6300ed0c3
+SHA512 (libxml-ruby-3.0.0.gem) = 76f1f37c0bc9fa78f0e8124abccc921a710166675e0118ae7f1789f7920296b6a5ba8bef2a0a38db881fa900634c16b20d27b1178d5bf4bf71a42751d5426345
+Size (libxml-ruby-3.0.0.gem) = 259584 bytes
Home |
Main Index |
Thread Index |
Old Index