diff options
author | taca <taca@pkgsrc.org> | 2012-03-20 07:24:21 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2012-03-20 07:24:21 +0000 |
commit | 36663bc55bfc8df406adfcbe117a41db464219c8 (patch) | |
tree | c71b16a93f3034f7d6854bd22c4a628940eaed82 /devel | |
parent | 959f4d4d8f18cd631d6bda6610d3b898c72cfe8c (diff) | |
download | pkgsrc-36663bc55bfc8df406adfcbe117a41db464219c8.tar.gz |
Importing ruby-io-like version 0.3.0.
The IO::Like module provides the methods of an IO object based upon on a few
simple methods provided by the including class: unbuffered_read,
unbuffered_write, and unbuffered_seek.
These methods provide the underlying read, write, and seek support
respectively, and only the method or methods necessary to the correct
operation of the IO aspects of the including class need to be provided.
Missing functionality will cause the resulting object to appear read-only,
write-only, and/or unseekable depending on which underlying methods are
absent.
Additionally, read and write operations which are buffered in IO are buffered
with independently configurable buffer sizes. Duplexed objects (those with
separate read and write streams) are also supported.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-io-like/DESCR | 15 | ||||
-rw-r--r-- | devel/ruby-io-like/Makefile | 12 | ||||
-rw-r--r-- | devel/ruby-io-like/PLIST | 13 | ||||
-rw-r--r-- | devel/ruby-io-like/distinfo | 5 |
4 files changed, 45 insertions, 0 deletions
diff --git a/devel/ruby-io-like/DESCR b/devel/ruby-io-like/DESCR new file mode 100644 index 00000000000..0a4fab070c7 --- /dev/null +++ b/devel/ruby-io-like/DESCR @@ -0,0 +1,15 @@ +The IO::Like module provides the methods of an IO object based upon on a few +simple methods provided by the including class: unbuffered_read, +unbuffered_write, and unbuffered_seek. + +These methods provide the underlying read, write, and seek support +respectively, and only the method or methods necessary to the correct +operation of the IO aspects of the including class need to be provided. + +Missing functionality will cause the resulting object to appear read-only, +write-only, and/or unseekable depending on which underlying methods are +absent. + +Additionally, read and write operations which are buffered in IO are buffered +with independently configurable buffer sizes. Duplexed objects (those with +separate read and write streams) are also supported. diff --git a/devel/ruby-io-like/Makefile b/devel/ruby-io-like/Makefile new file mode 100644 index 00000000000..48f80a8389b --- /dev/null +++ b/devel/ruby-io-like/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/03/20 07:24:21 taca Exp $ + +DISTNAME= io-like-0.3.0 +CATEGORIES= devel + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://io-like.rubyforge.org +COMMENT= Functionality of an IO object to any class +LICENSE= # + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-io-like/PLIST b/devel/ruby-io-like/PLIST new file mode 100644 index 00000000000..f3e3e8ee9c1 --- /dev/null +++ b/devel/ruby-io-like/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/20 07:24:21 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/CONTRIBUTORS +${GEM_LIBDIR}/GPL +${GEM_LIBDIR}/HACKING +${GEM_LIBDIR}/LEGAL +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/LICENSE.rubyspec +${GEM_LIBDIR}/MANIFEST +${GEM_LIBDIR}/NEWS +${GEM_LIBDIR}/README +${GEM_LIBDIR}/lib/io/like.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/devel/ruby-io-like/distinfo b/devel/ruby-io-like/distinfo new file mode 100644 index 00000000000..6d78287bed0 --- /dev/null +++ b/devel/ruby-io-like/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/03/20 07:24:21 taca Exp $ + +SHA1 (io-like-0.3.0.gem) = 10948be02ec924e43df28985a554dabf556f9282 +RMD160 (io-like-0.3.0.gem) = 605e44be3f2e8563b0be4e4a1b19106558cb6227 +Size (io-like-0.3.0.gem) = 31744 bytes |