diff options
author | Sam James <sam@gentoo.org> | 2021-09-18 03:21:14 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-18 03:30:38 +0100 |
commit | bf8f8e4d8d86c80b86de38a1af7490c4b60e34ca (patch) | |
tree | 140ead83c2d21b5df61601fdbe5263d122179bcb /dev-ruby/metasm | |
parent | dev-util/diffoscope: add 184 (diff) | |
download | gentoo-bf8f8e4d8d86c80b86de38a1af7490c4b60e34ca.tar.gz gentoo-bf8f8e4d8d86c80b86de38a1af7490c4b60e34ca.tar.bz2 gentoo-bf8f8e4d8d86c80b86de38a1af7490c4b60e34ca.zip |
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@gentoo.org>
Diffstat (limited to 'dev-ruby/metasm')
-rw-r--r-- | dev-ruby/metasm/metasm-1.0.4-r1.ebuild (renamed from dev-ruby/metasm/metasm-1.0.4.ebuild) | 26 | ||||
-rw-r--r-- | dev-ruby/metasm/metasm-1.0.5-r1.ebuild (renamed from dev-ruby/metasm/metasm-1.0.5.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 index 1ca58ace640a..8810ff79935a 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 index 0cd06d331201..59108ac0207a 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 -} |