From fd79927bc85851ed7a555c2a84e13dc06ff86484 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 11 Jun 2018 06:14:35 +0200 Subject: dev-ruby/power_assert: add 1.1.2 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- dev-ruby/power_assert/Manifest | 1 + dev-ruby/power_assert/power_assert-1.1.2.ebuild | 37 +++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-ruby/power_assert/power_assert-1.1.2.ebuild diff --git a/dev-ruby/power_assert/Manifest b/dev-ruby/power_assert/Manifest index ebb9c69ad0d6..0d6a50e9e700 100644 --- a/dev-ruby/power_assert/Manifest +++ b/dev-ruby/power_assert/Manifest @@ -1,2 +1,3 @@ DIST power_assert-0.3.1.gem 14336 BLAKE2B d29f8ffb84c1322610e1bfc819a599828a386abe2a21bf60d8e5a397dafbad52885c20899a78f713d39aedde992ac180138ed7fbd96ebf48d9bad753a51f0097 SHA512 0523c9c2f45ae60e93b491bed8ae3ff3bd83cfdf8c23d784ce19f87a52d90b94095d3e5ca38fbc2e4917a8895309194e06ec519099b69096bef69a4d9466da64 DIST power_assert-1.1.1.tar.gz 16799 BLAKE2B df5f688d4242373f1a5de95fcbcdd63d23a14314a890a32839ba88494d04a09ad6b9c1dedea23f43d53cb708b3e5eee8d0a2307be16a1c11cf3cbf22ea254344 SHA512 a33429bf918c71a5b75e56940d46dfd05ed3c87f909d6f09ebf2d8b2cd43a3c5c37b5ac13c334383f1b3f52817ecd4ccf68cd649c53bebdfbc464a18c88b702c +DIST power_assert-1.1.2.tar.gz 17140 BLAKE2B a690365b60ff1dbcb9eb70807b4c9c772e7f809190f1fa7dfef449ff01656bc31bd59f0d291ff158bdac1e2accaf376a45fc1dd480fd864fe84ba1ab4baf3743 SHA512 716edf1e2885e2e4d760f9b09aa97be1eee353f4f50297d0009ebc9fa3e16599ae094b78911915f20d295a6232d6c14844f43bf843b25e90f7c76bfa1d7776fc diff --git a/dev-ruby/power_assert/power_assert-1.1.2.ebuild b/dev-ruby/power_assert/power_assert-1.1.2.ebuild new file mode 100644 index 000000000000..d7094d7ebe93 --- /dev/null +++ b/dev-ruby/power_assert/power_assert-1.1.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Shows each value of variables and method calls in the expression" +HOMEPAGE="https://github.com/k-tsj/power_assert" +SRC_URI="https://github.com/k-tsj/power_assert/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( Ruby BSD-2 )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die + sed -i -e '1igem "test-unit"' \ + -e '/byebug/ s:^:#:' test/test_helper.rb || die + + # Avoid circular dependency on byebug when bootstrapping ruby + sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die + rm test/test_core_ext_helper.rb test/trace_test.rb || die + + # Avoid circular dependency on pry when bootstrapping ruby + sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die +} -- cgit v1.2.3-65-gdbad