summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-11-11 12:28:00 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-11-11 12:28:00 +0000
commit1e17b8ece7654a95d54dbd8dd852694ea571399d (patch)
treebff1cb5f39a31ff85a62cdd3dff1d6b68ac9cd6b /dev-ruby/rev
parentAdd ruby20 target. (diff)
downloadgentoo-2-1e17b8ece7654a95d54dbd8dd852694ea571399d.tar.gz
gentoo-2-1e17b8ece7654a95d54dbd8dd852694ea571399d.tar.bz2
gentoo-2-1e17b8ece7654a95d54dbd8dd852694ea571399d.zip
Add ruby20 target. Cleanup old.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/rev')
-rw-r--r--dev-ruby/rev/ChangeLog8
-rw-r--r--dev-ruby/rev/rev-0.3.2-r1.ebuild (renamed from dev-ruby/rev/rev-0.3.2.ebuild)16
2 files changed, 15 insertions, 9 deletions
diff --git a/dev-ruby/rev/ChangeLog b/dev-ruby/rev/ChangeLog
index bbb2813aa3f5..4ec7c2a791f5 100644
--- a/dev-ruby/rev/ChangeLog
+++ b/dev-ruby/rev/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/rev
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rev/ChangeLog,v 1.4 2013/03/28 22:01:19 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rev/ChangeLog,v 1.5 2013/11/11 12:28:00 mrueg Exp $
+
+*rev-0.3.2-r1 (11 Nov 2013)
+
+ 11 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +rev-0.3.2-r1.ebuild,
+ -rev-0.3.2.ebuild:
+ Add ruby20 target. Cleanup old.
28 Mar 2013; Alex Legler <a3li@gentoo.org> rev-0.3.2.ebuild:
Fix HOMEPAGE, bug 463552
diff --git a/dev-ruby/rev/rev-0.3.2.ebuild b/dev-ruby/rev/rev-0.3.2-r1.ebuild
index 86a883a1be82..b6cab1eb2ad1 100644
--- a/dev-ruby/rev/rev-0.3.2.ebuild
+++ b/dev-ruby/rev/rev-0.3.2-r1.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rev/rev-0.3.2.ebuild,v 1.4 2013/03/28 22:01:19 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rev/rev-0.3.2-r1.ebuild,v 1.1 2013/11/11 12:28:00 mrueg Exp $
-EAPI="2"
-USE_RUBY="ruby18 ruby19 ree18"
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20"
RUBY_FAKEGEM_EXTRADOC="CHANGES README.textile"
RUBY_FAKEGEM_TASK_TEST=""
-inherit ruby-fakegem
+inherit multilib ruby-fakegem
DESCRIPTION="Rev is an event library for Ruby, built on the libev event library."
HOMEPAGE="https://rubygems.org/gems/rev"
@@ -33,14 +33,14 @@ each_ruby_compile() {
# the lazy load of other extensions; see bug #320545.
find ext/rev -name Makefile -print0 | xargs -0 \
sed -i -e 's:-Wl,--no-undefined::' || die "--no-undefined removal failed"
- emake -C ext/rev || die "Unable to compile rev extension."
+ emake -C ext/rev V=1 || die "Unable to compile rev extension."
- emake -C ext/http11_client || die "Unable to compile http11 extension."
+ emake -C ext/http11_client V=1 || die "Unable to compile http11 extension."
}
each_ruby_install() {
- cp ext/rev/rev_ext.so lib
- cp ext/http11_client/http11_client.so lib
+ cp ext/rev/rev_ext$(get_modname) lib || die
+ cp ext/http11_client/http11_client$(get_modname) lib || die
each_fakegem_install
}