diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-05-09 21:19:56 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-05-09 21:20:51 +0200 |
commit | 68a26463bd1737d311b961c13a57f1cb8fc103eb (patch) | |
tree | ac9b2cce165f55fc13862442acc5f16e859a4aa1 | |
parent | dev-ruby/racc: invoke tests directly to fix bug 617130 (diff) | |
download | gentoo-68a26463bd1737d311b961c13a57f1cb8fc103eb.tar.gz gentoo-68a26463bd1737d311b961c13a57f1cb8fc103eb.tar.bz2 gentoo-68a26463bd1737d311b961c13a57f1cb8fc103eb.zip |
dev-ruby/racc: cleanup
Package-Manager: Portage-2.3.5, Repoman-2.3.1
-rw-r--r-- | dev-ruby/racc/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/racc/racc-1.4.12.ebuild | 65 | ||||
-rw-r--r-- | dev-ruby/racc/racc-1.4.13.ebuild | 65 |
3 files changed, 0 insertions, 132 deletions
diff --git a/dev-ruby/racc/Manifest b/dev-ruby/racc/Manifest index 5db8e522e1fa..d31707567eeb 100644 --- a/dev-ruby/racc/Manifest +++ b/dev-ruby/racc/Manifest @@ -1,4 +1,2 @@ DIST racc-1.4.11.gem 113664 SHA256 1e2e420d5e2e4b9f2b352e9b2828448a2ee13a16fdebf6a7e863252b5054c840 SHA512 147c3c0ade40ec5544397a9dbf8579514d97145c2cc9f4e16508d41265c1b5cd6fc986c09367792592b5ab6b274e271eb7dded02ea9c398eadafb8addda4ef0c WHIRLPOOL e54b553547bf13816033c103a4de79e7e5bd50bf30b58a7525a059ce0556071f01ee6658ad00febbc024314f322ce114b41864d1833ce8bc282519fe5c868f40 -DIST racc-1.4.12.gem 115712 SHA256 bd9a6b06cf502abfdd7823c833ba69b74d038e8d365a5ce42d502f528f531db0 SHA512 7ae244127ba80ef07e1e2cabc1ec4c7c306b93d155d89e95ba425139c3ca24fdbc3c8cef3958b344a0b821fdfc36e25524d8b27de7f8a01ae2f1732edb11987f WHIRLPOOL 5c34ab9ab841f2062d697f7005e05a4b5bc54c8e210543ac4cc917f0a331cc8c823da9976b1f013b2a54664009e5bdc57d04da86d06882ec288438a304583642 -DIST racc-1.4.13.gem 115712 SHA256 1da7f490ab9df37109d44f7d626d63354bb4188d02ebf94a7181c652914ffd75 SHA512 f4ad94087afd115aa9c61de72d8fc2ae4a9f5cf4529bba3de02fd53a8e5ceb4ffc7180334bbbebbec162ddd27f5c98865812dd08e268be5a008d251bdfb65f4b WHIRLPOOL 518891400ae4a86de5dceef170e52d09cb388603337a6822fe1b78a128230f128da975813c162d89e09c2c7329ca2681d4f3d762d718222fca3f0a5729519853 DIST racc-1.4.14.gem 116224 SHA256 f4876d08e9bfb560ec281301347a3550ef9526b46b6e5c07dac5fbf394d0d003 SHA512 7401ad1722c92101c24f881226e44bd8b21033c7bae8b13cbf329f9b426c312ce61d14ce584b4f94d6863b77f30d6ebccf26f9fca2de724f8e0659f0e2d2173f WHIRLPOOL f8fa70a6967218ec5364aa9e7b56fc01b2c1b6e2b82ad50282cf2974dfc66e233eae07ba01fa2d832116284a6ab3c940d22f469e9d70538ca571cf4d3eacf062 diff --git a/dev-ruby/racc/racc-1.4.12.ebuild b/dev-ruby/racc/racc-1.4.12.ebuild deleted file mode 100644 index 2922c56706bc..000000000000 --- a/dev-ruby/racc/racc-1.4.12.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_TASK_DOC="docs" -RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog" - -inherit multilib ruby-fakegem - -DESCRIPTION="A LALR(1) parser generator for Ruby" -HOMEPAGE="https://github.com/tenderlove/racc" - -LICENSE="LGPL-2.1" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc test" - -ruby_add_bdepend "dev-ruby/rake - test? ( >=dev-ruby/minitest-4.0:0 )" - -all_ruby_prepare() { - sed -i -e 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed" - - # Avoid depending on rake-compiler since we don't use it to compile - # the extension. - sed -i -e '/rake-compiler/ s:^:#:' -e '/extensiontask/ s:^:#:' Rakefile - sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile - - # Avoid isolation since dependencies are not properly declared. - sed -i -e 's/, :isolate//' Rakefile || die - - # Use a version of the minitest gem that works consistently accross - # all ruby versions. - sed -i -e '2i gem "minitest", "~>4.0"' test/helper.rb || die -} - -each_ruby_prepare() { - ${RUBY} -Cext/racc extconf.rb || die -} - -each_ruby_compile() { - emake V=1 -Cext/racc - # Copy over the file here so that we don't have to do - # special ruby install for JRuby and the other - # implementations. - cp -l ext/racc/cparse$(get_modname) lib/racc/cparse$(get_modname) || die -} - -each_ruby_test() { - ${RUBY} -Ilib -S testrb test/test_*.rb || die -} - -all_ruby_install() { - all_fakegem_install - - dodoc -r rdoc - - docinto examples - dodoc -r sample -} diff --git a/dev-ruby/racc/racc-1.4.13.ebuild b/dev-ruby/racc/racc-1.4.13.ebuild deleted file mode 100644 index 2ac6c958a53c..000000000000 --- a/dev-ruby/racc/racc-1.4.13.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_TASK_DOC="docs" -RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog" - -inherit multilib ruby-fakegem - -DESCRIPTION="A LALR(1) parser generator for Ruby" -HOMEPAGE="https://github.com/tenderlove/racc" - -LICENSE="LGPL-2.1" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc test" - -ruby_add_bdepend "dev-ruby/rake - test? ( >=dev-ruby/minitest-4.0:0 )" - -all_ruby_prepare() { - sed -i -e 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed" - - # Avoid depending on rake-compiler since we don't use it to compile - # the extension. - sed -i -e '/rake-compiler/ s:^:#:' -e '/extensiontask/ s:^:#:' Rakefile - sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile - - # Avoid isolation since dependencies are not properly declared. - sed -i -e 's/, :isolate//' Rakefile || die - - # Use a version of the minitest gem that works consistently accross - # all ruby versions. - sed -i -e '2i gem "minitest", "~>4.0"' test/helper.rb || die -} - -each_ruby_prepare() { - ${RUBY} -Cext/racc extconf.rb || die -} - -each_ruby_compile() { - emake V=1 -Cext/racc - # Copy over the file here so that we don't have to do - # special ruby install for JRuby and the other - # implementations. - cp -l ext/racc/cparse$(get_modname) lib/racc/cparse$(get_modname) || die -} - -each_ruby_test() { - ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die -} - -all_ruby_install() { - all_fakegem_install - - dodoc -r rdoc - - docinto examples - dodoc -r sample -} |