From eb3b0670240805d771be517cb2ebf8fd7936513b Mon Sep 17 00:00:00 2001
From: Matsuu Takuto <matsuu@gentoo.org>
Date: Wed, 14 Mar 2012 18:05:54 +0000
Subject: Fixed HOMEPAGE. Fixed SRC_URI. Added test.

Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
---
 dev-ruby/iobuffer/ChangeLog                |  7 ++++-
 dev-ruby/iobuffer/Manifest                 | 30 ++++++++++----------
 dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild | 45 ++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+), 15 deletions(-)
 create mode 100644 dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild

(limited to 'dev-ruby/iobuffer')

diff --git a/dev-ruby/iobuffer/ChangeLog b/dev-ruby/iobuffer/ChangeLog
index 2e28987d52c1..589ef223fc38 100644
--- a/dev-ruby/iobuffer/ChangeLog
+++ b/dev-ruby/iobuffer/ChangeLog
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/iobuffer
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/ChangeLog,v 1.6 2012/03/14 15:06:42 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/ChangeLog,v 1.7 2012/03/14 18:05:54 matsuu Exp $
+
+*iobuffer-1.1.2-r1 (14 Mar 2012)
+
+  14 Mar 2012; MATSUU Takuto <matsuu@gentoo.org> +iobuffer-1.1.2-r1.ebuild:
+  Fixed HOMEPAGE. Fixed SRC_URI. Added test.
 
 *iobuffer-1.1.2 (14 Mar 2012)
 
diff --git a/dev-ruby/iobuffer/Manifest b/dev-ruby/iobuffer/Manifest
index 7f0742eb1f95..7dde6697624b 100644
--- a/dev-ruby/iobuffer/Manifest
+++ b/dev-ruby/iobuffer/Manifest
@@ -3,24 +3,26 @@ Hash: SHA1
 
 DIST iobuffer-1.0.0.gem 11776 RMD160 c510a4b55c1429f3849779709ba840e43a4a8170 SHA1 a5ce4e05d50534fb26f9217453f51f109b1b8803 SHA256 b5a99e964f52aff860d6a16c91e79e3bd8c7baad8423bee935634cea8c44c265
 DIST iobuffer-1.1.2.gem 9216 RMD160 bac18810ae022219afe83c9b99f4121117ecff15 SHA1 1da2f9b53d4cd6fb2492319f5106facd96e55a06 SHA256 433a397aef5a39246e40171d790e38753fecfdb22f1c37d0846633ea1878759f
+DIST iobuffer-git-1.1.2.tgz 9286 RMD160 131e05a713a95f56e44e00cbef7b65b50419aa99 SHA1 773c60975d92a8a59fd052217ef111f9c7fa6475 SHA256 41ed7bbb78314ce2115c6842347be1315f92b58c83cee0ed21b80f1d0ddb73ff
 EBUILD iobuffer-1.0.0.ebuild 1063 RMD160 0e74e442075c209caa801a0e9bfbcb9ccfdb9517 SHA1 aabe2fa22e5b5fb07fa2bb2d8b79bf34b467c8a1 SHA256 9e1c74f6973d3ce38fa6198607164e22b531b1695fdaded5cb14a7631230eccc
+EBUILD iobuffer-1.1.2-r1.ebuild 1246 RMD160 71d407d5e09c91c6488cb772b2e4c908b3a9cfd8 SHA1 2d784218a7f542d8851f6a32ff40b79d31288cf9 SHA256 656d0e1caa60520e7bf58a06e6dfd54b324aacb18905ec434721bcfb1c5b1d38
 EBUILD iobuffer-1.1.2.ebuild 992 RMD160 60c8c8cc8be1631593552574b4d1cb72389ff6db SHA1 812cbe3dcf010ba7535e865a822555825da649d0 SHA256 a668d9d7addf8e03a9a2c9aa8f40983f7504db2bb026c1ccf70e59090d0c9659
-MISC ChangeLog 924 RMD160 20c41f22b9b8f499182251fb9776c1f5a961bc8d SHA1 f34f76d05fe4a0cf8460a453965df6db15fef676 SHA256 1c2bc29da0b362e0fffeebe3258cc46e4910a564852667a43981fd1cb0c26038
+MISC ChangeLog 1080 RMD160 e68faf5db7e6eee32b50fedabc2399a4c4a9c47a SHA1 0db8a877c74dc10b6d85c5f4f50b8db88fcc0850 SHA256 a401723b19517d221099d801ef3674ad80bda7d6c2800d9d49691a555c1c2a37
 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQIcBAEBAgAGBQJPYLQMAAoJECaGw+YFKA1pPJsP/imxxluE59T3XrnRCdqMbjxY
-U7VPHdtKPJnO/I6so/faT/bimv97Rs6JUJ+sCtQ2215pdOxEIvT78dojZSxQnXYf
-sA4kr3OlBGFLLeyR1tvYUaS45qvek4uAh7WC029c91jbI8U368Ay/mSAZYI2Hs3X
-/ZYhhbhLIhgsZ7wBOw/0u5mOyHk3qGTAOWqHgJS+ZdKSmALjIGEYjoqoH8bzzwoC
-dKDIlhbz6wBnCN7bHFUdgwUi4zZfeFbcttPbOmn38jCDgIYNTKqQaHzqWOBJpDlE
-MimrF96vSYETTnB9cRZi1ofqv5aBKID24HXyfARm97z91+LIyoIV4Yw+3/8u+l+K
-lTn3aW8jXBOzylDcI9TtjyyYNfQULfQEaxBqsqfTmtqgwDoSEVkIx2yJJXd8XH4z
-g4Vcf6EFKnStVLNewJMP1dU35vdS0R+5cddqiwru67pNwdhJeBtAkEmFhv3xM33k
-NNTKJa17YrvYybuB2wYAmFajArw5PqXffPOU/CnWwVXEkqq2vwX7X61Dvs7xddOz
-xdbNFb4NYovSBf3BojiVBK37Ad41KIDTJnBYU9SmNjKQsA/EQ/PUI+wYUmlVnYmU
-Km4pE6IOMNcaCIiKeAt0QrgJnpcgbzcDbkZCMPVnhoV6l8JHzr+952wXpyaELRMZ
-jk/2kzToSWXrN//F1pO1
-=utOh
+iQIcBAEBAgAGBQJPYN42AAoJECaGw+YFKA1p2UQP/jcRqS9JZrSuudl+sJssxtkZ
+RljJ6dn9ktgzWDsN3ia3Md2hdfWxAnm1w1wzZ6kGVPQM6aT2qXkCZkR/JRFKX4Jh
+/mDgafwKvyRUKMKY3Vich977piNa8KXlAzi3PuAZRkYWOTdcx1Mz+g8gmMle2dXh
+7WTeszjMROJPn75QgZbj4rOxJAzSAtyALH1iHFk0kQXfuEfpTpKAlgLfVkk1j2Bk
+tPxp0WNXNUQnjJ6ie28f5t+c2FUAZF7cnpxGdOVcwhdawbkO2Srx/UOb9OMCYZoJ
+/7Ev7Y2kafgJIsEpITX7B7XLdNyR3vK/+14PByMwoiai9u8jnvl0U5zV/Z5icGP4
++0zozmt6wok71AgbribrjfhE+/53tNdcopwUzr6C07kD6oNhCw4XFJ2r9UxuDMfA
+mTzCbnQTwDKJJyaxCCxdQaUEQPFUI6enqFwajSrJ6QNZ0AciTOEtDCNnUO1lBP1e
+XsYQsDgm5RjCIUEqEN6Ltz27Y+NmnbAJfKlI2unQqQd9w5HFszgJxLuy8ij1m8o6
+E5jxM6KFcv9U+uHazdAkF6/X8UyurzW169kcuWzBZjb/1lbO6EzlYKFhD+kACbFD
+6XvgGfLBE4oOYwS7Wn5e22XB+LHpuClleoHXK/V+djwKSA9bACg8fNxNPN4URMrE
+zs0YuODhzfpFkjKMCtHI
+=nRwH
 -----END PGP SIGNATURE-----
diff --git a/dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild b/dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..10974c7addf8
--- /dev/null
+++ b/dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/iobuffer-1.1.2-r1.ebuild,v 1.1 2012/03/14 18:05:54 matsuu Exp $
+
+EAPI="4"
+# jruby: mkmf
+# rbx: Kernel(Autoload)#allocate (method_missing)
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+inherit ruby-fakegem
+
+GITHUB_USER="tarcieri"
+
+DESCRIPTION="IO::Buffer is a fast byte queue which is primarily intended for non-blocking I/O applications"
+HOMEPAGE="http://github.com/tarcieri/iobuffer"
+SRC_URI="http://github.com/${GITHUB_USER}/iobuffer/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86 ~x86-macos"
+SLOT="0"
+IUSE=""
+
+RUBY_S="${GITHUB_USER}-${PN}-*"
+
+ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/rspec )"
+
+all_ruby_prepare() {
+	rm .rspec || die
+}
+
+each_ruby_configure() {
+	${RUBY} -C ext extconf.rb || die "Failed to configure the extension."
+	sed -i -e 's:-Wl,--no-undefined::' \
+		-e "s/^ldflags  = /ldflags = $\(LDFLAGS\) /" ext/Makefile || die
+}
+
+each_ruby_compile() {
+	emake -C ext || die "Failed to compile the extension."
+	cp ext/iobuffer_ext.so lib/ || die
+}
-- 
cgit v1.2.3-65-gdbad