pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/ruby-libxml



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon Mar 20 15:32:38 UTC 2017

Modified Files:
        pkgsrc/textproc/ruby-libxml: Makefile PLIST distinfo

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/textproc/ruby-libxml/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/ruby-libxml/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/ruby-libxml/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ruby-libxml/Makefile
diff -u pkgsrc/textproc/ruby-libxml/Makefile:1.24 pkgsrc/textproc/ruby-libxml/Makefile:1.25
--- pkgsrc/textproc/ruby-libxml/Makefile:1.24   Tue Oct 18 14:36:38 2016
+++ pkgsrc/textproc/ruby-libxml/Makefile        Mon Mar 20 15:32:38 2017
@@ -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
 

Index: pkgsrc/textproc/ruby-libxml/PLIST
diff -u pkgsrc/textproc/ruby-libxml/PLIST:1.17 pkgsrc/textproc/ruby-libxml/PLIST:1.18
--- pkgsrc/textproc/ruby-libxml/PLIST:1.17      Tue Oct 18 14:36:38 2016
+++ pkgsrc/textproc/ruby-libxml/PLIST   Mon Mar 20 15:32:38 2017
@@ -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}/LICENSE
 ${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/html_parser.rb
 ${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/attribut
 ${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

Index: pkgsrc/textproc/ruby-libxml/distinfo
diff -u pkgsrc/textproc/ruby-libxml/distinfo:1.18 pkgsrc/textproc/ruby-libxml/distinfo:1.19
--- pkgsrc/textproc/ruby-libxml/distinfo:1.18   Tue Oct 18 14:36:38 2016
+++ pkgsrc/textproc/ruby-libxml/distinfo        Mon Mar 20 15:32:38 2017
@@ -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