public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasm/
Date: Sat, 18 Sep 2021 02:30:56 +0000 (UTC)	[thread overview]
Message-ID: <1631932238.bf8f8e4d8d86c80b86de38a1af7490c4b60e34ca.sam@gentoo> (raw)

commit:     bf8f8e4d8d86c80b86de38a1af7490c4b60e34ca
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 18 02:21:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 18 02:30:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8f8e4d

dev-ruby/metasm: unslot

Pentoo seems to already be unmerging the older version anyway
so isn't intending to install them in parallel.

We can always re-slot it in future, but nowadays, we end up
using =..* for Ruby deps anyway most of the time.

Closes: https://bugs.gentoo.org/686712
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...{metasm-1.0.4.ebuild => metasm-1.0.4-r1.ebuild} | 26 +++++++++++++---------
 ...{metasm-1.0.5.ebuild => metasm-1.0.5-r1.ebuild} | 24 +++++++++++---------
 2 files changed, 29 insertions(+), 21 deletions(-)

diff --git a/dev-ruby/metasm/metasm-1.0.4.ebuild b/dev-ruby/metasm/metasm-1.0.4-r1.ebuild
similarity index 65%
rename from dev-ruby/metasm/metasm-1.0.4.ebuild
rename to dev-ruby/metasm/metasm-1.0.4-r1.ebuild
index 1ca58ace640..8810ff79935 100644
--- a/dev-ruby/metasm/metasm-1.0.4.ebuild
+++ b/dev-ruby/metasm/metasm-1.0.4-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 USE_RUBY="ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_RECIPE_DOC="none"
@@ -10,18 +11,25 @@ RUBY_FAKEGEM_EXTRAINSTALL="metasm metasm.rb misc samples"
 
 inherit ruby-fakegem
 
-DESCRIPTION="cross-architecture assembler, disassembler, linker, and debugger"
+DESCRIPTION="Cross-architecture assembler, disassembler, linker, and debugger"
 HOMEPAGE="https://metasm.cr0.org/"
 
 LICENSE="LGPL-2.1"
-SLOT="${PV}"
-IUSE=""
-
+SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 
+RDEPEND="!dev-ruby/metasm:1.0.5
+	!dev-ruby/metasm:1.0.4
+	!dev-ruby/metasm:1.0.2"
+DEPEND="${RDEPEND}"
+
 all_ruby_prepare() {
-	mkdir bin
-	ln -s ../samples/disassemble.rb ./bin/disassemble
+	mkdir bin || die
+	ln -s ../samples/disassemble.rb ./bin/disassemble || die
+}
+
+each_ruby_test() {
+	${RUBY} -Ilib:. -e "Dir['tests/*.rb'].each{|f| require f}" || die
 }
 
 all_ruby_install() {
@@ -29,7 +37,3 @@ all_ruby_install() {
 
 	ruby_fakegem_binwrapper disassemble
 }
-
-each_ruby_test() {
-	${RUBY} -Ilib:. -e "Dir['tests/*.rb'].each{|f| require f}" || die
-}

diff --git a/dev-ruby/metasm/metasm-1.0.5.ebuild b/dev-ruby/metasm/metasm-1.0.5-r1.ebuild
similarity index 70%
rename from dev-ruby/metasm/metasm-1.0.5.ebuild
rename to dev-ruby/metasm/metasm-1.0.5-r1.ebuild
index 0cd06d33120..59108ac0207 100644
--- a/dev-ruby/metasm/metasm-1.0.5.ebuild
+++ b/dev-ruby/metasm/metasm-1.0.5-r1.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 USE_RUBY="ruby25 ruby26 ruby27 ruby30"
 
 RUBY_FAKEGEM_RECIPE_DOC="none"
@@ -10,18 +11,25 @@ RUBY_FAKEGEM_EXTRAINSTALL="metasm metasm.rb misc samples"
 
 inherit ruby-fakegem
 
-DESCRIPTION="cross-architecture assembler, disassembler, linker, and debugger"
+DESCRIPTION="Cross-architecture assembler, disassembler, linker, and debugger"
 HOMEPAGE="https://metasm.cr0.org/"
 
 LICENSE="LGPL-2.1"
-SLOT="${PV}"
-IUSE=""
-
+SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 
+RDEPEND="!dev-ruby/metasm:1.0.5
+	!dev-ruby/metasm:1.0.4
+	!dev-ruby/metasm:1.0.2"
+DEPEND="${RDEPEND}"
+
 all_ruby_prepare() {
-	mkdir bin
-	ln -s ../samples/disassemble.rb ./bin/disassemble
+	mkdir bin || die
+	ln -s ../samples/disassemble.rb ./bin/disassemble || die
+}
+
+each_ruby_test() {
+	${RUBY} -Ilib:. -e "Dir['tests/*.rb'].each{|f| require f}" || die
 }
 
 all_ruby_install() {
@@ -29,7 +37,3 @@ all_ruby_install() {
 
 	ruby_fakegem_binwrapper disassemble
 }
-
-each_ruby_test() {
-	${RUBY} -Ilib:. -e "Dir['tests/*.rb'].each{|f| require f}" || die
-}


             reply	other threads:[~2021-09-18  2:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-18  2:30 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-04 18:33 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasm/ Rick Farina
2022-05-01  8:38 Hans de Graaff
2022-05-01  8:38 Hans de Graaff
2021-07-09  6:55 Hans de Graaff
2020-09-11  6:58 Hans de Graaff
2020-09-05  8:01 Hans de Graaff
2019-05-22  5:05 Hans de Graaff
2019-04-09  5:53 Hans de Graaff
2018-02-04 15:15 Hans de Graaff
2017-06-12  6:04 Hans de Graaff
2017-05-08 19:54 Richard Farina
2017-05-08 19:22 Richard Farina
2016-06-21  5:09 Hans de Graaff
2016-06-21  5:09 Hans de Graaff
2015-10-23 14:35 Richard Farina
2015-10-21 14:30 Richard Farina
2015-10-12  6:06 Hans de Graaff
2015-10-08 21:04 Richard Farina

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=1631932238.bf8f8e4d8d86c80b86de38a1af7490c4b60e34ca.sam@gentoo \
    --to=sam@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