Sun Sep 23 13:44:11 2018 UTC ()
archivers/ruby-xz: update to 1.0.0

== 1.0.0 (2018-05-20)

* *BreakingChange* The XZ module's methods now take any parameters
  beyond the IO object as real Ruby keyword arguments rather than
  a long argument list.
* *BreakingChange* XZ.decompress_stream now honours Ruby's
  external and internal encoding concept instead of just
  returning BINARY-tagged strings.
* *BreakingChange* Remove deprecated API on stream reader/writer
  class and instead sync the API with Ruby's zlib library
  (Ticket #12 by me).
* *BreakingChange* StreamWriter.new and StreamReader.new do not accept
  a block anymore. This is part of syncing with Ruby's zlib API.
* *BreakingChange* StreamReader.open and StreamWriter.open always
  return the new instance, even if a block is given to the method
  (previous behaviour was to return the return value of the block).
  This is part of the syncing with Ruby's zlib API.
* *BreakingChange* StreamReader.new and StreamWriter.new as well as
  the ::open variants take additional arguments as real Ruby keyword
  arguments now instead of a long parameter list plus options hash.
  This is different from Ruby's own zlib API as that one takes both
  a long parameter list and a hash of additional options. ruby-xz
  is meant to follow zlib's semantics mostly, but not as a drop-in
  replacement, so this divergence from zlib's API is okay (also
  given that it isn't possible to replicate all possible options
  1:1 anyway, since liblzma simply accepts different options as
  libz). If you've never used these methods' optional arguments,
  you should be fine.
* *BreakingChange* Stream#close now returns nil instead of the
  number of bytes written. This syncs Stream#close with Ruby's
  own IO#close, which also returns nil.
* *BreakingChange* Remove Stream#pos=, Stream#seek, Stream#stat. These
  methods irritated the minitar gem, which doesn't expect them to
  raise NotImplementedError, but directly to be missing if the object
  does not support seeking.
* *BreakingChange* StreamReader and StreamWriter now honour Ruby's
  encoding system instead of returning only BINARY-tagged strings.
* *Dependency* Remove dependency on ffi. ruby-xz now uses fiddle from
  the stdlib instead.
* *Dependency* Remove dependency on io-like. ruby-xz now implements
  all the IO mechanics itself. (Ticket #10 by me)
* *Dependency* Bump required Ruby version to 2.3.0.
* *Fix* libzlma.dylib not being found on OS X (Ticket #15 by
  s0nspark).


(taca)
diff -r1.13 -r1.14 pkgsrc/archivers/ruby-xz/Makefile
diff -r1.4 -r1.5 pkgsrc/archivers/ruby-xz/PLIST
diff -r1.7 -r1.8 pkgsrc/archivers/ruby-xz/distinfo
diff -r1.3 -r0 pkgsrc/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb

cvs diff -r1.13 -r1.14 pkgsrc/archivers/ruby-xz/Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/ruby-xz/Makefile 2016/01/03 05:31:55 1.13
+++ pkgsrc/archivers/ruby-xz/Makefile 2018/09/23 13:44:11 1.14
@@ -1,23 +1,21 @@ @@ -1,23 +1,21 @@
1# $NetBSD: Makefile,v 1.13 2016/01/03 05:31:55 taca Exp $ 1# $NetBSD: Makefile,v 1.14 2018/09/23 13:44:11 taca Exp $
2 2
3DISTNAME= ruby-xz-0.2.3 3DISTNAME= ruby-xz-1.0.0
4PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//} 4PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
5CATEGORIES= archivers 5CATEGORIES= archivers
6 6
7MAINTAINER= minskim@NetBSD.org 7MAINTAINER= minskim@NetBSD.org
8HOMEPAGE= https://github.com/Quintus/ruby-xz 8HOMEPAGE= https://github.com/Quintus/ruby-xz
9COMMENT= Ruby bindings for liblzma 9COMMENT= Ruby bindings for liblzma
10LICENSE= mit 10LICENSE= mit
11 11
12DEPENDS+= xz-[0-9]*:../../archivers/xz 12DEPENDS+= ${RUBY_NAME}-fiddle>=${RUBY_VERSION}:../../devel/ruby-fiddle
13DEPENDS+= ${RUBY_PKGPREFIX}-ffi-[0-9]*:../../devel/ruby-ffi 
14DEPENDS+= ${RUBY_PKGPREFIX}-io-like-[0-9]*:../../devel/ruby-io-like 
15 13
16SUBST_CLASSES+= path 14SUBST_CLASSES+= path
17SUBST_STAGE.path= pre-configure 15SUBST_STAGE.path= pre-configure
18SUBST_FILES.path= lib/xz/lib_lzma.rb 16SUBST_FILES.path= lib/xz/lib_lzma.rb
19SUBST_SED.path+= -e "s,@LOCALBASE@,${LOCALBASE},g" 17SUBST_SED.path+= -e "s,@LOCALBASE@,${LOCALBASE},g"
20SUBST_SED.path+= -e "s,@SHLIB_EXT@,${RUBY_SLEXT},g" 18SUBST_SED.path+= -e "s,@SHLIB_EXT@,${RUBY_SLEXT},g"
21 19
22.include "../../lang/ruby/gem.mk" 20.include "../../lang/ruby/gem.mk"
23.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/archivers/ruby-xz/PLIST (expand / switch to unified diff)

--- pkgsrc/archivers/ruby-xz/PLIST 2016/01/03 05:31:55 1.4
+++ pkgsrc/archivers/ruby-xz/PLIST 2018/09/23 13:44:11 1.5
@@ -1,13 +1,14 @@ @@ -1,13 +1,14 @@
1@comment $NetBSD: PLIST,v 1.4 2016/01/03 05:31:55 taca Exp $ 1@comment $NetBSD: PLIST,v 1.5 2018/09/23 13:44:11 taca Exp $
2${GEM_HOME}/cache/${GEM_NAME}.gem 2${GEM_HOME}/cache/${GEM_NAME}.gem
3${GEM_LIBDIR}/AUTHORS 3${GEM_LIBDIR}/AUTHORS
4${GEM_LIBDIR}/COPYING 
5${GEM_LIBDIR}/HISTORY.rdoc 4${GEM_LIBDIR}/HISTORY.rdoc
 5${GEM_LIBDIR}/LICENSE
6${GEM_LIBDIR}/README.md 6${GEM_LIBDIR}/README.md
7${GEM_LIBDIR}/lib/xz.rb 7${GEM_LIBDIR}/lib/xz.rb
 8${GEM_LIBDIR}/lib/xz/fiddle_helper.rb
8${GEM_LIBDIR}/lib/xz/lib_lzma.rb 9${GEM_LIBDIR}/lib/xz/lib_lzma.rb
9${GEM_LIBDIR}/lib/xz/stream.rb 10${GEM_LIBDIR}/lib/xz/stream.rb
10${GEM_LIBDIR}/lib/xz/stream_reader.rb 11${GEM_LIBDIR}/lib/xz/stream_reader.rb
11${GEM_LIBDIR}/lib/xz/stream_writer.rb 12${GEM_LIBDIR}/lib/xz/stream_writer.rb
12${GEM_LIBDIR}/lib/xz/version.rb 13${GEM_LIBDIR}/lib/xz/version.rb
13${GEM_HOME}/specifications/${GEM_NAME}.gemspec 14${GEM_HOME}/specifications/${GEM_NAME}.gemspec

cvs diff -r1.7 -r1.8 pkgsrc/archivers/ruby-xz/distinfo (expand / switch to unified diff)

--- pkgsrc/archivers/ruby-xz/distinfo 2016/01/03 05:31:55 1.7
+++ pkgsrc/archivers/ruby-xz/distinfo 2018/09/23 13:44:11 1.8
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.7 2016/01/03 05:31:55 taca Exp $ 1$NetBSD: distinfo,v 1.8 2018/09/23 13:44:11 taca Exp $
2 2
3SHA1 (ruby-xz-0.2.3.gem) = ca7f717d02a3a59ca9442c55f9e2ab4125ed46b8 3SHA1 (ruby-xz-1.0.0.gem) = cb3e7b3c9984f047772707c35b4ab877e5adb87e
4RMD160 (ruby-xz-0.2.3.gem) = 726aa6e89f44f171014731a4dc698bcb2d8b867f 4RMD160 (ruby-xz-1.0.0.gem) = 5c3016a10ebd7ccee4b8f251e7f576425016bedb
5SHA512 (ruby-xz-0.2.3.gem) = 68ddd53d2f3f42f179f529c9aeadb8040216d7de44d63692ef0b50ba5085baad417e61e5f61a38ff8817e966af59f00177fd4016514e93409e6be4c3fa988a8d 5SHA512 (ruby-xz-1.0.0.gem) = daa39268f0a48a0b87ee11528e7558dfa3629ee04570ff20acc4a5b632451fa13c06e1319b6e8772893137f727aa9fa76b58a9a1a39e51a9c6e536d9c49aa228
6Size (ruby-xz-0.2.3.gem) = 20480 bytes 6Size (ruby-xz-1.0.0.gem) = 24576 bytes
7SHA1 (patch-lib_xz_lib__lzma.rb) = f0ab463ffab401a935551b560af28e26bff8d4eb 7SHA1 (patch-lib_xz_lib__lzma.rb) = f0ab463ffab401a935551b560af28e26bff8d4eb

File Deleted: pkgsrc/archivers/ruby-xz/patches/Attic/patch-lib_xz_lib__lzma.rb