diff options
author | taca <taca> | 2012-03-20 07:26:05 +0000 |
---|---|---|
committer | taca <taca> | 2012-03-20 07:26:05 +0000 |
commit | a8194bb36a2a42026717d8ddd0ebb97495efc358 (patch) | |
tree | 7cab0e20898061a8838f6b1ed5d4db7a2ee636dd /archivers | |
parent | b783b95bdce973de5257c6e796aad28033a88b99 (diff) | |
download | pkgsrc-a8194bb36a2a42026717d8ddd0ebb97495efc358.tar.gz |
Update ruby-xz package to 0.1.1.
== 0.1.0
* <b>Add XZ::StreamReader and XZ::StreamWriter for io-like behaviour.</b>
* New dependency on the +io-like+ gem.
* <b>Add Ruby 1.8 compatibility.</b> Thanks to Christoph Plank.
* We now have proper unit tests.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/ruby-xz/Makefile | 8 | ||||
-rw-r--r-- | archivers/ruby-xz/PLIST | 8 | ||||
-rw-r--r-- | archivers/ruby-xz/distinfo | 10 | ||||
-rw-r--r-- | archivers/ruby-xz/patches/patch-lib_xz.rb | 15 | ||||
-rw-r--r-- | archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb | 15 |
5 files changed, 31 insertions, 25 deletions
diff --git a/archivers/ruby-xz/Makefile b/archivers/ruby-xz/Makefile index 85f40bd7696..de82b2c79ea 100644 --- a/archivers/ruby-xz/Makefile +++ b/archivers/ruby-xz/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.6 2011/11/12 15:04:58 taca Exp $ +# $NetBSD: Makefile,v 1.7 2012/03/20 07:26:05 taca Exp $ -DISTNAME= ruby-xz-0.0.1 +DISTNAME= ruby-xz-0.1.1 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//} CATEGORIES= archivers @@ -13,8 +13,8 @@ PKG_DESTDIR_SUPPORT= user-destdir DEPENDS+= xz-[0-9]*:../../archivers/xz DEPENDS+= ${RUBY_PKGPREFIX}-ffi-[0-9]*:../../devel/ruby-ffi +DEPENDS+= ${RUBY_PKGPREFIX}-io-like-[0-9]*:../../devel/ruby-io-like -RUBY_VERSION_SUPPORTED= 19 193 RUBYGEMS_REQD= 1.8.10 PRIVILEGED_STAGES+= clean @@ -23,7 +23,7 @@ EVAL_PREFIX+= XZ_PREFIX=xz SUBST_CLASSES+= path SUBST_STAGE.path= pre-configure -SUBST_FILES.path= lib/xz.rb +SUBST_FILES.path= lib/xz/lib_lzma.rb SUBST_SED.path= -e "s,@LOCALBASE@,${XZ_PREFIX},g" SUBST_SED.path+= -e "s,@SHLIB_EXT@,${SHLIB_EXT},g" diff --git a/archivers/ruby-xz/PLIST b/archivers/ruby-xz/PLIST index 4d1ce5a85d8..1fbe83e5266 100644 --- a/archivers/ruby-xz/PLIST +++ b/archivers/ruby-xz/PLIST @@ -1,5 +1,11 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/03 19:51:05 minskim Exp $ +@comment $NetBSD: PLIST,v 1.2 2012/03/20 07:26:05 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/HISTORY.rdoc ${GEM_LIBDIR}/README.rdoc +${GEM_LIBDIR}/VERSION ${GEM_LIBDIR}/lib/xz.rb +${GEM_LIBDIR}/lib/xz/lib_lzma.rb +${GEM_LIBDIR}/lib/xz/stream.rb +${GEM_LIBDIR}/lib/xz/stream_reader.rb +${GEM_LIBDIR}/lib/xz/stream_writer.rb ${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/archivers/ruby-xz/distinfo b/archivers/ruby-xz/distinfo index e9f2257587f..9bfa6cc86cc 100644 --- a/archivers/ruby-xz/distinfo +++ b/archivers/ruby-xz/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/10/03 19:51:05 minskim Exp $ +$NetBSD: distinfo,v 1.2 2012/03/20 07:26:05 taca Exp $ -SHA1 (ruby-xz-0.0.1.gem) = 4f076cd0b9741c13e8b9e562eeeac3a9fc7fd447 -RMD160 (ruby-xz-0.0.1.gem) = ee0c9a6301f1b5ac1e2980eb48d784d5417d0194 -Size (ruby-xz-0.0.1.gem) = 9728 bytes -SHA1 (patch-lib_xz.rb) = f5fbb0ec5fa17d2fc8fe7e26e74a7eeb5e74ae2f +SHA1 (ruby-xz-0.1.1.gem) = e90f6d1d5cc0cdf5a483d0b738e9c3510bb5da77 +RMD160 (ruby-xz-0.1.1.gem) = 44baebe06c0558e9f4fb3490413bf08a83e12645 +Size (ruby-xz-0.1.1.gem) = 17408 bytes +SHA1 (patch-lib_xz_lib__lzma.rb) = f257dcc0cf047fdfe8bf189bc73888af7f79a3cf diff --git a/archivers/ruby-xz/patches/patch-lib_xz.rb b/archivers/ruby-xz/patches/patch-lib_xz.rb deleted file mode 100644 index f46f7adb5b6..00000000000 --- a/archivers/ruby-xz/patches/patch-lib_xz.rb +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-lib_xz.rb,v 1.1.1.1 2011/10/03 19:51:05 minskim Exp $ - -Use an absolute path for a library to load. - ---- lib/xz.rb.orig 2011-10-02 00:41:00.000000000 +0000 -+++ lib/xz.rb -@@ -77,7 +77,7 @@ module XZ - :lzma_buf_error, - :lzma_prog_error - -- ffi_lib "liblzma" -+ ffi_lib "@LOCALBASE@/lib/liblzma.@SHLIB_EXT@" - - attach_function :lzma_easy_encoder, [:pointer, :uint32, :int], :int - attach_function :lzma_code, [:pointer, :int], :int diff --git a/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb b/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb new file mode 100644 index 00000000000..d43833e2f0a --- /dev/null +++ b/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb @@ -0,0 +1,15 @@ +$NetBSD: patch-lib_xz_lib__lzma.rb,v 1.1 2012/03/20 07:26:05 taca Exp $ + +Use an absolute path for a library to load. + +--- lib/xz/lib_lzma.rb.orig 2012-03-19 09:42:58.000000000 +0000 ++++ lib/xz/lib_lzma.rb +@@ -71,7 +71,7 @@ module XZ + :lzma_buf_error, + :lzma_prog_error + +- ffi_lib ['lzma.so.2', 'lzma.so', 'lzma'] ++ ffi_lib ['lzma.@SHLIB_EXT@.2', 'lzma.@SHLIB_EXT@', 'lzma'].map! { |f| File.join('@LOCALBASE@/lib', f) } + + attach_function :lzma_easy_encoder, [:pointer, :uint32, :int], :int + attach_function :lzma_code, [:pointer, :int], :int |