Sat Feb 3 16:44:40 2024 UTC (114d)
textproc/ruby-libxml: update to 5.0.2

5.0.0 (2024-01-07)

* This release is major version bump because it removes access to global
  parser options that libxml2 version 2.12.0 deprecated (see
  https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.0)
  In the unlikely event your code uses these options, then you will need to
  update it.
  Specifically, instead of setting global parser options, pass them directly
  to either Parsers or ParserContexts when creating them.  Options are
  defined as constants in LibXML::XML::Parser::Options and
  LibXML::HTML::Parser::Options
* Update Parser initialize methods to take keyword parameters instead of a
  hash table (you may have to update your code due to this change)
* Fix broken compilation with libxml2 version 2.12.0 (due to libxml2 header
  changes)
* Add support for Ruby 3.3.*
* Remove support for Ruby 2.7.* (gem should still work but is no longer
  tested)

5.0.1 (2024-01-08)

* Fix broken Document#io method that was broken by switching Parsers to use
  keyword arguments

5.0.2 (2024-01-08)

* Fix broken DTD creation (DTD name is not required)


(taca)
diff -r1.43 -r1.44 pkgsrc/textproc/ruby-libxml/Makefile
diff -r1.24 -r1.25 pkgsrc/textproc/ruby-libxml/PLIST
diff -r1.30 -r1.31 pkgsrc/textproc/ruby-libxml/distinfo

cvs diff -r1.43 -r1.44 pkgsrc/textproc/ruby-libxml/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/ruby-libxml/Makefile 2023/11/12 16:17:20 1.43
+++ pkgsrc/textproc/ruby-libxml/Makefile 2024/02/03 16:44:40 1.44
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.43 2023/11/12 16:17:20 taca Exp $ 1# $NetBSD: Makefile,v 1.44 2024/02/03 16:44:40 taca Exp $
2 2
3DISTNAME= libxml-ruby-4.1.2 3DISTNAME= libxml-ruby-5.0.2
4PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/ruby-//} 4PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/ruby-//}
5CATEGORIES= textproc 5CATEGORIES= textproc
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://xml4r.github.io/libxml-ruby/ 8HOMEPAGE= https://xml4r.github.io/libxml-ruby/
9COMMENT= Support module for libxml2 library 9COMMENT= Support module for libxml2 library
10LICENSE= mit 10LICENSE= mit
11 11
12USE_GCC_RUNTIME= yes 12USE_GCC_RUNTIME= yes
13 13
14CONFIGURE_ARGS+= \ 14CONFIGURE_ARGS+= \
15 --with-xml2-include=${BUILDLINK_PREFIX.libxml2}/include/libxml2 15 --with-xml2-include=${BUILDLINK_PREFIX.libxml2}/include/libxml2
16 16

cvs diff -r1.24 -r1.25 pkgsrc/textproc/ruby-libxml/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/ruby-libxml/PLIST 2023/01/09 06:03:24 1.24
+++ pkgsrc/textproc/ruby-libxml/PLIST 2024/02/03 16:44:40 1.25
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.24 2023/01/09 06:03:24 taca Exp $ 1@comment $NetBSD: PLIST,v 1.25 2024/02/03 16:44:40 taca Exp $
2${GEM_HOME}/build_info/${GEM_NAME}.info 2${GEM_HOME}/build_info/${GEM_NAME}.info
3${GEM_HOME}/cache/${GEM_NAME}.gem 3${GEM_HOME}/cache/${GEM_NAME}.gem
4${GEM_EXTSDIR}/gem.build_complete 4${GEM_EXTSDIR}/gem.build_complete
5${GEM_EXTSDIR}/libxml_ruby.${RUBY_DLEXT} 5${GEM_EXTSDIR}/libxml_ruby.${RUBY_DLEXT}
6${GEM_LIBDIR}/HISTORY 6${GEM_LIBDIR}/HISTORY
7${GEM_LIBDIR}/LICENSE 7${GEM_LIBDIR}/LICENSE
8${GEM_LIBDIR}/README.rdoc 8${GEM_LIBDIR}/README.rdoc
9${GEM_LIBDIR}/Rakefile 9${GEM_LIBDIR}/Rakefile
10${GEM_LIBDIR}/ext/libxml/extconf.h 10${GEM_LIBDIR}/ext/libxml/extconf.h
11${GEM_LIBDIR}/ext/libxml/extconf.rb 11${GEM_LIBDIR}/ext/libxml/extconf.rb
12${GEM_LIBDIR}/ext/libxml/libxml.c 12${GEM_LIBDIR}/ext/libxml/libxml.c
13${GEM_LIBDIR}/ext/libxml/libxml_ruby.def 13${GEM_LIBDIR}/ext/libxml/libxml_ruby.def
14${GEM_LIBDIR}/ext/libxml/ruby_libxml.h 14${GEM_LIBDIR}/ext/libxml/ruby_libxml.h
@@ -154,26 +154,27 @@ ${GEM_LIBDIR}/test/model/books.xml @@ -154,26 +154,27 @@ ${GEM_LIBDIR}/test/model/books.xml
154${GEM_LIBDIR}/test/model/cwm_1_0.xml 154${GEM_LIBDIR}/test/model/cwm_1_0.xml
155${GEM_LIBDIR}/test/model/merge_bug_data.xml 155${GEM_LIBDIR}/test/model/merge_bug_data.xml
156${GEM_LIBDIR}/test/model/ruby-lang.html 156${GEM_LIBDIR}/test/model/ruby-lang.html
157${GEM_LIBDIR}/test/model/rubynet.xml 157${GEM_LIBDIR}/test/model/rubynet.xml
158${GEM_LIBDIR}/test/model/rubynet_project 158${GEM_LIBDIR}/test/model/rubynet_project
159${GEM_LIBDIR}/test/model/shiporder.rnc 159${GEM_LIBDIR}/test/model/shiporder.rnc
160${GEM_LIBDIR}/test/model/shiporder.rng 160${GEM_LIBDIR}/test/model/shiporder.rng
161${GEM_LIBDIR}/test/model/shiporder.xml 161${GEM_LIBDIR}/test/model/shiporder.xml
162${GEM_LIBDIR}/test/model/shiporder.xsd 162${GEM_LIBDIR}/test/model/shiporder.xsd
163${GEM_LIBDIR}/test/model/shiporder_bad.xsd 163${GEM_LIBDIR}/test/model/shiporder_bad.xsd
164${GEM_LIBDIR}/test/model/shiporder_import.xsd 164${GEM_LIBDIR}/test/model/shiporder_import.xsd
165${GEM_LIBDIR}/test/model/soap.xml 165${GEM_LIBDIR}/test/model/soap.xml
166${GEM_LIBDIR}/test/model/xinclude.xml 166${GEM_LIBDIR}/test/model/xinclude.xml
 167${GEM_LIBDIR}/test/test.rb
167${GEM_LIBDIR}/test/test_attr.rb 168${GEM_LIBDIR}/test/test_attr.rb
168${GEM_LIBDIR}/test/test_attr_decl.rb 169${GEM_LIBDIR}/test/test_attr_decl.rb
169${GEM_LIBDIR}/test/test_attributes.rb 170${GEM_LIBDIR}/test/test_attributes.rb
170${GEM_LIBDIR}/test/test_canonicalize.rb 171${GEM_LIBDIR}/test/test_canonicalize.rb
171${GEM_LIBDIR}/test/test_deprecated_require.rb 172${GEM_LIBDIR}/test/test_deprecated_require.rb
172${GEM_LIBDIR}/test/test_document.rb 173${GEM_LIBDIR}/test/test_document.rb
173${GEM_LIBDIR}/test/test_document_write.rb 174${GEM_LIBDIR}/test/test_document_write.rb
174${GEM_LIBDIR}/test/test_dtd.rb 175${GEM_LIBDIR}/test/test_dtd.rb
175${GEM_LIBDIR}/test/test_encoding.rb 176${GEM_LIBDIR}/test/test_encoding.rb
176${GEM_LIBDIR}/test/test_encoding_sax.rb 177${GEM_LIBDIR}/test/test_encoding_sax.rb
177${GEM_LIBDIR}/test/test_error.rb 178${GEM_LIBDIR}/test/test_error.rb
178${GEM_LIBDIR}/test/test_helper.rb 179${GEM_LIBDIR}/test/test_helper.rb
179${GEM_LIBDIR}/test/test_html_parser.rb 180${GEM_LIBDIR}/test/test_html_parser.rb

cvs diff -r1.30 -r1.31 pkgsrc/textproc/ruby-libxml/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/ruby-libxml/distinfo 2023/11/12 16:17:20 1.30
+++ pkgsrc/textproc/ruby-libxml/distinfo 2024/02/03 16:44:40 1.31
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.30 2023/11/12 16:17:20 taca Exp $ 1$NetBSD: distinfo,v 1.31 2024/02/03 16:44:40 taca Exp $
2 2
3BLAKE2s (libxml-ruby-4.1.2.gem) = 49333047737c253b166be2131fcb9d0bb2d47a8ce90d6a1e1851f55aecbbed82 3BLAKE2s (libxml-ruby-5.0.2.gem) = f71c95041f97ab9e2b18db41a4409eb30a9e33c58c87488fa0184f0c36668d49
4SHA512 (libxml-ruby-4.1.2.gem) = d0f775ec58651fb3d6fa4a2995924680f50eb1fa3324cda027476fa4e178d8a744724f48dbdf483636c6f38189ca40428b38154995a6531c0568e0fa407dfa3b 4SHA512 (libxml-ruby-5.0.2.gem) = 449464107c1b533c25ec3ba4e722f5805f1e487609939306ee4535ba9b8197e47d79d50fa69571f0dff9d7ab974ee848ce95679a6f64da84aaf109c367ef6829
5Size (libxml-ruby-4.1.2.gem) = 364544 bytes 5Size (libxml-ruby-5.0.2.gem) = 364544 bytes