diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-06-25 06:52:34 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-06-25 06:52:34 +0200 |
commit | 241bddc6ac1874899b98c2c5cefe8be0e73804ad (patch) | |
tree | e855c9d4c6fcd5e17c24526f0ee1b26680742bc9 | |
parent | sci-electronics/gazebo: Prepare for x11-libs/qwt:6 losing USE=qt5 (diff) | |
download | gentoo-241bddc6ac1874899b98c2c5cefe8be0e73804ad.tar.gz gentoo-241bddc6ac1874899b98c2c5cefe8be0e73804ad.tar.bz2 gentoo-241bddc6ac1874899b98c2c5cefe8be0e73804ad.zip |
dev-ruby/power_assert: add 1.1.3
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r-- | dev-ruby/power_assert/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/power_assert/power_assert-1.1.3.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/power_assert/Manifest b/dev-ruby/power_assert/Manifest index 0d6a50e9e700..fc9b2bcb3587 100644 --- a/dev-ruby/power_assert/Manifest +++ b/dev-ruby/power_assert/Manifest @@ -1,3 +1,4 @@ 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 +DIST power_assert-1.1.3.tar.gz 17169 BLAKE2B 05e916cafafc6c90abd9fec30d4439bc4b02cb83267c37528c018eb367a402cd42aefdd050b388d3bc1735f0320109b0c1a078db3718c0d3b2a033c32536c441 SHA512 8612e08c3e30ddfccc6be30f2df101ddcee0d2338b9438fb44e922115c683b31f41b699ca998e088488da94eb5d80da360429fb2ba374c31a9b57a60ebc8c732 diff --git a/dev-ruby/power_assert/power_assert-1.1.3.ebuild b/dev-ruby/power_assert/power_assert-1.1.3.ebuild new file mode 100644 index 000000000000..d7094d7ebe93 --- /dev/null +++ b/dev-ruby/power_assert/power_assert-1.1.3.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 +} |