summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-10-24 09:28:20 +0000
committerHans de Graaff <graaff@gentoo.org>2010-10-24 09:28:20 +0000
commit9e0f158c2ae3d5e06acf2a554523648663428010 (patch)
tree9bfafb3843d0ff263e4d747560cb9754ab0f8e5b /dev-ruby/iobuffer
parentMaintenance. Bump EAPI. Stable on amd64 (#342385) (diff)
downloadhistorical-9e0f158c2ae3d5e06acf2a554523648663428010.tar.gz
historical-9e0f158c2ae3d5e06acf2a554523648663428010.tar.bz2
historical-9e0f158c2ae3d5e06acf2a554523648663428010.zip
Initial import, dependency of dev-ruby/rev.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/iobuffer')
-rw-r--r--dev-ruby/iobuffer/ChangeLog10
-rw-r--r--dev-ruby/iobuffer/Manifest14
-rw-r--r--dev-ruby/iobuffer/iobuffer-0.1.3-r1.ebuild41
-rw-r--r--dev-ruby/iobuffer/metadata.xml5
4 files changed, 70 insertions, 0 deletions
diff --git a/dev-ruby/iobuffer/ChangeLog b/dev-ruby/iobuffer/ChangeLog
new file mode 100644
index 000000000000..1f7f6bf16961
--- /dev/null
+++ b/dev-ruby/iobuffer/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/iobuffer
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/ChangeLog,v 1.1 2010/10/24 09:28:20 graaff Exp $
+
+*iobuffer-0.1.3-r1 (24 Oct 2010)
+
+ 24 Oct 2010; Hans de Graaff <graaff@gentoo.org> +iobuffer-0.1.3-r1.ebuild,
+ +metadata.xml:
+ Initial import, dependency of dev-ruby/rev.
+
diff --git a/dev-ruby/iobuffer/Manifest b/dev-ruby/iobuffer/Manifest
new file mode 100644
index 000000000000..a1cdeeadd0e4
--- /dev/null
+++ b/dev-ruby/iobuffer/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST iobuffer-0.1.3.gem 10240 RMD160 3e027318035569a9461bba7b59bb239b64a6b05e SHA1 04100456e7fc8ead34d13ac5e8f07d888dfc122b SHA256 ab571c7265ad839bcc05f33f6098da976bcff1b1e63ea077a6603efc8e58647f
+EBUILD iobuffer-0.1.3-r1.ebuild 1043 RMD160 d3e36f955507968596523ad2f49b0902f95c0b78 SHA1 3100a35c1550586ebeb376f8e1c4c0e9c4fc555f SHA256 c2bcaac1caaeed05faa0f016a9a347025c6739a018294984dc71137e9e75a159
+MISC ChangeLog 382 RMD160 7f9ea2de84ae8fc3ffc6db07eabd53d0b4945e49 SHA1 7c1a9395b9718a373156f16664ab41a4f7c81f20 SHA256 0a482a6f5b60bb57265df6935d99a3c630615e4f448859bd73d219ba2a5b158b
+MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iF4EAREIAAYFAkzD/D8ACgkQZihJkut28StuEgD/YWgAkRTa2K/9yIBty5NdeNXW
+I+ml1pCFw5TdfON3Em0A/iTssYzxy4j4AQNZ4iUjogbgvMwFGQDkC/v96MYJL7FG
+=O6F0
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/iobuffer/iobuffer-0.1.3-r1.ebuild b/dev-ruby/iobuffer/iobuffer-0.1.3-r1.ebuild
new file mode 100644
index 000000000000..8bee9b99e7c9
--- /dev/null
+++ b/dev-ruby/iobuffer/iobuffer-0.1.3-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/iobuffer-0.1.3-r1.ebuild,v 1.1 2010/10/24 09:28:20 graaff Exp $
+
+EAPI="2"
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES README"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="IO::Buffer is a fast byte queue which is primarily intended for non-blocking I/O applications"
+HOMEPAGE="http://mynyml.com/ruby/flexible-continuous-testing"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+each_ruby_prepare() {
+ sed -i "s/lib\/iobuffer/ext\/iobuffer/" spec/buffer_spec.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -C ext extconf.rb || die "Failed to configure the extension."
+}
+
+each_ruby_compile() {
+ emake -C ext || die "Failed to compile the extension."
+}
+
+each_ruby_test() {
+ ${RUBY} -Iext -S spec spec/buffer_spec.rb
+}
+
+each_ruby_install() {
+ emake -C ext install DESTDIR="${D}" || die "Failed to install the extension."
+}
diff --git a/dev-ruby/iobuffer/metadata.xml b/dev-ruby/iobuffer/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/iobuffer/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>