public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbtree/
Date: Sun, 11 Sep 2016 06:54:12 +0000 (UTC)	[thread overview]
Message-ID: <1473576764.fa2041c116006af0dfb64e2436d72e622f1129bf.graaff@gentoo> (raw)

commit:     fa2041c116006af0dfb64e2436d72e622f1129bf
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 11 06:51:50 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Sep 11 06:52:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa2041c1

dev-ruby/rbtree: fix installation of files

Place compiled object file in a location where it
can be found and used when installed as a gem.
This also fixes bug 593376

Package-Manager: portage-2.2.28

 dev-ruby/rbtree/{rbtree-0.4.2.ebuild => rbtree-0.4.2-r1.ebuild} | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/rbtree/rbtree-0.4.2.ebuild b/dev-ruby/rbtree/rbtree-0.4.2-r1.ebuild
similarity index 89%
rename from dev-ruby/rbtree/rbtree-0.4.2.ebuild
rename to dev-ruby/rbtree/rbtree-0.4.2-r1.ebuild
index 5d75f6e..d9e7e68 100644
--- a/dev-ruby/rbtree/rbtree-0.4.2.ebuild
+++ b/dev-ruby/rbtree/rbtree-0.4.2-r1.ebuild
@@ -3,16 +3,15 @@
 # $Id$
 
 EAPI=5
+
+# ruby23: fails tests
 USE_RUBY="ruby20 ruby21 ruby22"
 
-RUBY_FAKEGEM_TASK_TEST=""
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README"
 
 inherit multilib ruby-fakegem
 
-RUBY_FAKEGEM_EXTRAINSTALL="rbtree$(get_modname)"
-
 DESCRIPTION="Ruby/RBTree module"
 HOMEPAGE="http://www.geocities.co.jp/SiliconValley-PaloAlto/3388/rbtree/README.html"
 
@@ -24,6 +23,8 @@ IUSE="test"
 all_ruby_prepare() {
 	# Fix test for random hash ordering.
 	sed -i -e '527 s/flatten/flatten.sort/g' test.rb || die
+
+	mkdir lib || die
 }
 
 each_ruby_configure() {
@@ -32,6 +33,7 @@ each_ruby_configure() {
 
 each_ruby_compile() {
 	emake V=1
+	cp rbtree$(get_modname) lib/ || die
 }
 
 each_ruby_test() {


             reply	other threads:[~2016-09-11  6:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11  6:54 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-31  8:53 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbtree/ Hans de Graaff
2023-12-27 13:55 Hans de Graaff
2023-06-21  7:36 Jakov Smolić
2023-04-27 11:25 Hans de Graaff
2023-04-08 10:01 Hans de Graaff
2022-12-12  6:39 Hans de Graaff
2022-02-03  6:33 Hans de Graaff
2021-10-07 20:32 Sam James
2021-07-28  4:21 Hans de Graaff
2018-02-24  8:50 Hans de Graaff
2017-07-30  6:10 Hans de Graaff
2016-04-25 23:17 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473576764.fa2041c116006af0dfb64e2436d72e622f1129bf.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox