summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-04-19 11:48:28 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-04-19 11:48:28 +0000
commita5a18563cab8fe09c61872ac39c4b6e48a239c53 (patch)
treec76095d7f590639611bd6013f05c0e30ff900933 /dev-ruby
parentMaintenance. Add missing deps. Fix LICENSE. EAPI=3 (diff)
downloadhistorical-a5a18563cab8fe09c61872ac39c4b6e48a239c53.tar.gz
historical-a5a18563cab8fe09c61872ac39c4b6e48a239c53.tar.bz2
historical-a5a18563cab8fe09c61872ac39c4b6e48a239c53.zip
Add OpenSSL to dependencies, use a trick yo build in parallel, install examples unconditionally, document why jruby is not listed.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/eventmachine/ChangeLog11
-rw-r--r--dev-ruby/eventmachine/Manifest11
-rw-r--r--dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild53
3 files changed, 68 insertions, 7 deletions
diff --git a/dev-ruby/eventmachine/ChangeLog b/dev-ruby/eventmachine/ChangeLog
index 6c2975d1d1e0..b88411c31357 100644
--- a/dev-ruby/eventmachine/ChangeLog
+++ b/dev-ruby/eventmachine/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/eventmachine
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.9 2009/12/27 19:49:50 a3li Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.10 2010/04/19 11:48:28 flameeyes Exp $
+
+*eventmachine-0.12.10-r2 (19 Apr 2010)
+
+ 19 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +eventmachine-0.12.10-r2.ebuild:
+ Add OpenSSL to dependencies, use a trick yo build in parallel, install
+ examples unconditionally, document why jruby is not listed.
*eventmachine-0.12.10-r1 (27 Dec 2009)
diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index 38f33041f73a..6864949f5db4 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -3,13 +3,14 @@ Hash: SHA1
DIST eventmachine-0.12.10.gem 220672 RMD160 625b4917e84d55fec468a810e9ee0bb5273387f0 SHA1 d9b3ec65e3e94e461ed2d53c01a2b9ab62fe6a07 SHA256 dcbe6193937366b5c6803f8aa09886ff241eeb13b782c1a33ff1a76f99a6ede8
EBUILD eventmachine-0.12.10-r1.ebuild 992 RMD160 270ce2f56a3e7c524a3d12a7f25433dff6c2c9db SHA1 a2c39f1ba2d769180076dbeae1e2aff9d2cf164a SHA256 7ccc8e9ad7d55d2d152390dfe122c0968cdc6ed79d7849baa358dd61fed5b793
+EBUILD eventmachine-0.12.10-r2.ebuild 1284 RMD160 eb131a781aeaee60fe5b377fc40f79f123aa8dad SHA1 24242680d305432f06ea783d53cf957acc1b9f13 SHA256 f3628053fd32ec6695a28a0f9f65d5bc9ff3f60c4730517a6f3a5d2e453e324d
EBUILD eventmachine-0.12.10.ebuild 467 RMD160 6d63cd5cb85602fc3d3e7a087733e5a7f462c438 SHA1 da0eb6ebaca27384cc41086d61d02fb3f2bbe659 SHA256 75850f25834b392d59fc2998e4c5f99e7f9578df57b6058e6f3d9108473aea6e
-MISC ChangeLog 1645 RMD160 eb8e4ac9c00a5ddfe1dbaa1a27eb00099a3d0ad5 SHA1 36a9c862614e5691e6a167290d62923fd345d6c4 SHA256 6047761d68acbf9bf272c16b9a3bf2240b611e8b18ad5e915f941ea0ba56d32e
+MISC ChangeLog 1918 RMD160 69bcfbc9ba34436588f83014af2f331b9e0c7965 SHA1 b0d35781309a9b2498d160bb385905ccf1b6c6f0 SHA256 78fabaa9536293e2ba96cde5fae618221b3fd30e50c17d9f12d25b2bd632998c
MISC metadata.xml 433 RMD160 b5bc8163799d4caf1299a8fc0bf59b65fc8e3856 SHA1 e0ad3695d36bb1dcee0607262d0b1934d6d23cb8 SHA256 cb277b1f4d7367e9b925224bd5e742773d371799cdfc39a3f56b8d568f7d2e27
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAks3umQACgkQTEkQYPgooqFmogCfU8xuV39mL6Gn+FkPepgTNSth
-gsAAoIVMvEZWVS9uWamlgjx3CCxApXXH
-=2GcH
+iEYEARECAAYFAkvMQxgACgkQAiZjviIA2XhjvgCgvSSIEC/lPzzCzi18tYcXd1Sd
+QO4An2SJYg15Ts0bgpYbA9OmQR8XSLfx
+=NkEB
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild b/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild
new file mode 100644
index 000000000000..3a29d143f62a
--- /dev/null
+++ b/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild,v 1.1 2010/04/19 11:48:28 flameeyes Exp $
+
+EAPI="2"
+# jruby → has shims for Java handling but tests fail badly, remaining
+# stuck; avoid that for now.
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="docs/ChangeLog README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby programs."
+HOMEPAGE="http://rubyeventmachine.com"
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend 'dev-ruby/rake'
+
+DEPEND="${DEPEND}
+ dev-libs/openssl"
+RDEPEND="${RDEPEND}
+ dev-libs/openssl"
+
+all_ruby_prepare() {
+ # This test only works on BSD, and error handling fails on 1.8
+ rm tests/test_process_watch.rb || die "rm failed"
+
+ cat - > "${T}"/submake <<EOF
+#!/bin/sh
+
+myrealmake=${MAKE}
+MAKE=\$myrealmake emake "\$@"
+
+EOF
+ chmod +x "${T}"/submake || die
+}
+
+each_ruby_compile() {
+ MAKE="${T}"/submake ${RUBY} -S rake build || die "rake build failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}/
+ doins -r examples || die "Failed to install examples"
+}