Skip to content

Commit

Permalink
textproc/ruby-libxml: update to 5.0.2
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
taca committed Feb 3, 2024
1 parent 1884a27 commit 606a209
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions textproc/ruby-libxml/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.43 2023/11/12 16:17:20 taca Exp $
# $NetBSD: Makefile,v 1.44 2024/02/03 16:44:40 taca Exp $

DISTNAME= libxml-ruby-4.1.2
DISTNAME= libxml-ruby-5.0.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/ruby-//}
CATEGORIES= textproc

Expand Down
3 changes: 2 additions & 1 deletion textproc/ruby-libxml/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.24 2023/01/09 06:03:24 taca Exp $
@comment $NetBSD: PLIST,v 1.25 2024/02/03 16:44:40 taca Exp $
${GEM_HOME}/build_info/${GEM_NAME}.info
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_EXTSDIR}/gem.build_complete
Expand Down Expand Up @@ -164,6 +164,7 @@ ${GEM_LIBDIR}/test/model/shiporder_bad.xsd
${GEM_LIBDIR}/test/model/shiporder_import.xsd
${GEM_LIBDIR}/test/model/soap.xml
${GEM_LIBDIR}/test/model/xinclude.xml
${GEM_LIBDIR}/test/test.rb
${GEM_LIBDIR}/test/test_attr.rb
${GEM_LIBDIR}/test/test_attr_decl.rb
${GEM_LIBDIR}/test/test_attributes.rb
Expand Down
8 changes: 4 additions & 4 deletions textproc/ruby-libxml/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.30 2023/11/12 16:17:20 taca Exp $
$NetBSD: distinfo,v 1.31 2024/02/03 16:44:40 taca Exp $

BLAKE2s (libxml-ruby-4.1.2.gem) = 49333047737c253b166be2131fcb9d0bb2d47a8ce90d6a1e1851f55aecbbed82
SHA512 (libxml-ruby-4.1.2.gem) = d0f775ec58651fb3d6fa4a2995924680f50eb1fa3324cda027476fa4e178d8a744724f48dbdf483636c6f38189ca40428b38154995a6531c0568e0fa407dfa3b
Size (libxml-ruby-4.1.2.gem) = 364544 bytes
BLAKE2s (libxml-ruby-5.0.2.gem) = f71c95041f97ab9e2b18db41a4409eb30a9e33c58c87488fa0184f0c36668d49
SHA512 (libxml-ruby-5.0.2.gem) = 449464107c1b533c25ec3ba4e722f5805f1e487609939306ee4535ba9b8197e47d79d50fa69571f0dff9d7ab974ee848ce95679a6f64da84aaf109c367ef6829
Size (libxml-ruby-5.0.2.gem) = 364544 bytes

0 comments on commit 606a209

Please sign in to comment.