summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-11-24 11:31:53 +0000
committerHans de Graaff <graaff@gentoo.org>2012-11-24 11:31:53 +0000
commit9a20a71398c5d8fd4b7d74d14120520a16babed6 (patch)
treeaa47909de2cd31047989fa324bdff5b5488f8e18 /dev-ruby/eventmachine
parentSimplify by using freebsd_src_unpack, by Yuta SATOH, bug #444506 (diff)
downloadhistorical-9a20a71398c5d8fd4b7d74d14120520a16babed6.tar.gz
historical-9a20a71398c5d8fd4b7d74d14120520a16babed6.tar.bz2
historical-9a20a71398c5d8fd4b7d74d14120520a16babed6.zip
Version bump. Ebuild partly based on version by Michel Boaventura in the ruby overlay.
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/eventmachine')
-rw-r--r--dev-ruby/eventmachine/ChangeLog10
-rw-r--r--dev-ruby/eventmachine/Manifest14
-rw-r--r--dev-ruby/eventmachine/eventmachine-1.0.0.ebuild70
3 files changed, 91 insertions, 3 deletions
diff --git a/dev-ruby/eventmachine/ChangeLog b/dev-ruby/eventmachine/ChangeLog
index e9404f032663..fdbf4f986fb7 100644
--- a/dev-ruby/eventmachine/ChangeLog
+++ b/dev-ruby/eventmachine/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/eventmachine
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.16 2011/12/11 08:43:12 graaff Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.17 2012/11/24 11:31:42 graaff Exp $
+
+*eventmachine-1.0.0 (24 Nov 2012)
+
+ 24 Nov 2012; Hans de Graaff <graaff@gentoo.org> +eventmachine-1.0.0.ebuild:
+ Version bump. Ebuild partly based on version by Michel Boaventura in the ruby
+ overlay.
11 Dec 2011; Hans de Graaff <graaff@gentoo.org>
eventmachine-0.12.10-r2.ebuild:
diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index 50cfa8edaf00..aa61f7ef414e 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -1,6 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX eventmachine-0.12.10-gentoo.patch 1644 SHA256 11e8bbfa3b776d05d7a64ca729398e35b0083a6738ba3a1a297760090cb3781e SHA512 f1117c94624308b472587e3315afd2dc9dd39401396c63f68732e76a35b801847013a832d16e247f2f94c8f1fc29e8435bd68dbbac73befe5c6a614869478764 WHIRLPOOL 86182d25d6b874fa4257a791346ffe81ceb5f2324a2b7fe313b2a8f95c478f36934c6fe3b0b54989258491f78f5e781eab63a0b92550ba5cdda6e139f44f5366
AUX eventmachine-0.12.10-https-test.patch 816 SHA256 f437298272476b92ccbe13a85d8e995dfba92761922238375b2e945bfdc4aa17 SHA512 93cb00fb6b542f5ce7763331f0bad04a1b0aacafe6feba1553512aea5409a2af185f97e7045c74c6d8b7e3598f6e57d6ac96d422a57cf4e38aa88a6e2bb72b73 WHIRLPOOL c5b51c297f235b2cd5e427c363a54167392bea0d0c173c9873fff1ef022a1b156cbd04d159d50d39e7a72dad0bbc2b47da0174c395b8cee4649dd1fb53ade5e6
DIST eventmachine-0.12.10.gem 220672 SHA256 dcbe6193937366b5c6803f8aa09886ff241eeb13b782c1a33ff1a76f99a6ede8 SHA512 e290c60de4449706f2782bfe679bf9fb42b4e378cddb93567547561f30e1cedc00f29ab70e0f28ba74fde4a5def04db1ad0c0933711de2cf40208dbaaacde7d6 WHIRLPOOL 260de38b2f8dd9319cf8478d27b811486ee1c1e2a364b70fc6f8951f9d114e4a29119ed4b1fc856da136ffb34e177adfe78c99eff6a8a25247ce0792359e42d3
+DIST eventmachine-1.0.0.gem 224256 SHA256 ff8a799d0bac093a37dff1fb3407aa460c756d8518e814155ccbcda967d450e3 SHA512 248be6cfa93f85d1e4cca267921d03035d61234b82431c33a3c566b1aff295aef9113f96bbcd82abc011df5f3143863651e97cc5a2e74a628511fc982c1819d2 WHIRLPOOL f0d9e1ba839c90cd7bcc84498b13b65e12c90b7298540b5221beac1bb7e0f64b75f5fce389a2ed71ac1387b41e238643d722219ff833b84b2f199e4ce099dd4f
EBUILD eventmachine-0.12.10-r2.ebuild 1945 SHA256 cfc1abbf9734c1b2a976f6c1a62004261b8b61e7ccad40a079257be9b3780a14 SHA512 e33ccff82d4d466a4423e7c5a1ef3dadbce7d4e6c6aab44791bafd7a392c14937cb859688a70aad93c792bf78744277f82df64f6747ebd5b3811df5945361ef3 WHIRLPOOL 62854e65ae6e9344c457cb05fb0d21a8296677e761b997db5bfd75671316850089efbeffe60feff535d65da618795defb524e076d276f45dde4b5e23eea709ec
-MISC ChangeLog 2829 SHA256 8d108626b16dcc3323a6b3203b63141617dee2b70038b296a7e778ccd5eea99a SHA512 f8473e3697ca45e2061507891acf414b826084d7439b340c799c708e42eac6a5536456331f01788cce864a6a57193c107680685e54ba6978413a6bb99e019a3a WHIRLPOOL 3c1b3875e81402b8fe046d4256c2e3f22019a9662780b3b81fd43d3031d85745ba6ddcb741880d0d22d82abc3e4d08c78a35ccc6b86790b31262ebfd6dbe7a1a
+EBUILD eventmachine-1.0.0.ebuild 2002 SHA256 e27ac246c1f4ec3e736510837219bc76fc1ae939bbf0fa46ac34a6b72bd30ce1 SHA512 b44207ed987d1c071f61677f676001e64d54f976344baef2f8dffab4f059999d5a6960de7fbf758c26f787d055866bf2d9e7a67b20417a4a391de16eea259e66 WHIRLPOOL 7427f75d7dff3d25c70e7221a5f3742dba7f6f76ed9f1410c26aea6637343233451540649787977458388359548011e53e916307c1172c43d6ce16c715a80fd9
+MISC ChangeLog 3034 SHA256 6696f009611cebf1946f94e41cad0dd8ba762b7a06b3b5356603064f0b015505 SHA512 f75865ba062f1d9e734d14fd2e61e9baae861570e9463f612aa07c7f0fe6199f9a1d2b454fcb7f5f547a8fa4d1055c552044ba4fc1256199de828dd383f48348 WHIRLPOOL 6cdde2e7154062b1a88fe410f1919a49fafd8b7f705ee4a6f1f4277f6e0c6e1ef5ce0f05d1499e9a6cb154aa29a51eaff991f55ae1f5251af10e416a71e02513
MISC metadata.xml 433 SHA256 cb277b1f4d7367e9b925224bd5e742773d371799cdfc39a3f56b8d568f7d2e27 SHA512 b88e96679f88e8aca9b3244bd13ad331e63ca724bcc610fc91e3476ab918b190e9475c727f02489c55491d690ba15e829906c35ba44c10113437496cb0aa4475 WHIRLPOOL cf8e293481130474ed91ab4963e3f32f9d06b7e08fe9aeac14a46b67b2b0e40540954e3f4dacad82e2ba004b3947dbcaa0365e89ff2bf72a85f0e91e3b1dabec
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAlCwsCkACgkQiIP6VqMIqNfe+wEAg86vtgmBYE/1xbstWBXKP5mM
+RL5N1NeXKjwQ49ET9hYA/jZ1UbBb+bxRNl78vI2XEIRkLnRmrYKBvs9Z+ThHrQ3l
+=Ix3x
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/eventmachine/eventmachine-1.0.0.ebuild b/dev-ruby/eventmachine/eventmachine-1.0.0.ebuild
new file mode 100644
index 000000000000..867c6dded005
--- /dev/null
+++ b/dev-ruby/eventmachine/eventmachine-1.0.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/eventmachine-1.0.0.ebuild,v 1.1 2012/11/24 11:31:42 graaff Exp $
+
+EAPI=4
+# jruby → has shims for Java handling but tests fail badly, remaining
+# stuck; avoid that for now.
+USE_RUBY="ruby18 ree18 ruby19"
+
+RUBY_FAKEGEM_TASK_DOC="yard"
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
+
+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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="${DEPEND}
+ dev-libs/openssl"
+RDEPEND="${RDEPEND}
+ dev-libs/openssl"
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )"
+
+all_ruby_prepare() {
+ # Remove package tasks to avoid dependency on rake-compiler.
+ rm rakelib/package.rake || die
+
+ # fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
+ sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
+
+ # Remove the resolver tests since they require network access and
+ # the localhost test fails with an IPv6 localhost.
+ rm tests/test_resolver.rb || die
+}
+
+each_ruby_configure() {
+ for extdir in ext ext/fastfilereader; do
+ pushd $extdir
+ ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
+ popd
+ done
+}
+
+each_ruby_compile() {
+ for extdir in ext ext/fastfilereader; do
+ pushd $extdir
+ # both extensions use C++, so use the CXXFLAGS not the CFLAGS
+ emake CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake failed for ${extdir}"
+ popd
+ cp $extdir/*.so lib/ || die "Unable to copy extensions for ${extdir}"
+ done
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib -S testrb tests/test_*.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}/
+ doins -r examples || die "Failed to install examples"
+}