From 36663bc55bfc8df406adfcbe117a41db464219c8 Mon Sep 17 00:00:00 2001 From: taca Date: Tue, 20 Mar 2012 07:24:21 +0000 Subject: 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. --- devel/ruby-io-like/DESCR | 15 +++++++++++++++ devel/ruby-io-like/Makefile | 12 ++++++++++++ devel/ruby-io-like/PLIST | 13 +++++++++++++ devel/ruby-io-like/distinfo | 5 +++++ 4 files changed, 45 insertions(+) create mode 100644 devel/ruby-io-like/DESCR create mode 100644 devel/ruby-io-like/Makefile create mode 100644 devel/ruby-io-like/PLIST create mode 100644 devel/ruby-io-like/distinfo (limited to 'devel/ruby-io-like') 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 -- cgit v1.2.3