summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/power_assert/Manifest1
-rw-r--r--dev-ruby/power_assert/power_assert-1.1.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/power_assert/Manifest b/dev-ruby/power_assert/Manifest
index 6eb9585e042f..ecf0bd40c7aa 100644
--- a/dev-ruby/power_assert/Manifest
+++ b/dev-ruby/power_assert/Manifest
@@ -3,3 +3,4 @@ DIST power_assert-0.4.1.gem 14848 SHA256 8d2bf80d28a9f8bc4c6c7eb162780971896d0a2
DIST power_assert-1.0.1.tar.gz 15376 SHA256 58681a9b3166b9f7d2ee41554a3d5363b5a6f64f5262f703fce5285c4ebd58c7 SHA512 69370f69e7289c36a8d16a433e3629d25aa99049eec9b737af56d56c07ed5c4e72692c9fdc544cc76e7008babb2c7fd68c796e27e300268cd75b12cabe1d7403 WHIRLPOOL 0a2be78ba7d5eeef66995d3c32b3b99ce91b624cbee55e0cb78b3272816d9d3faa21cc36e597d541666e496381e663d458b497a8e2aab0ded8526a03aaf27aad
DIST power_assert-1.0.2.tar.gz 15381 SHA256 f2fb8a6830617659263c57b7a5c742611c83360b93d5282d355678c407fc1711 SHA512 31e1f0eb0b873b3ce05c72cd467e1928d53b028e1ec30314bd027d7402b5834442ff268d0263100d657cb485e67c64fae93996d08ba74d603b924c4526a7022f WHIRLPOOL 2ea494fb3be7620ff504299028acfdf05693198d0f97258886fc403ddd2471a4cdb2a57a1a98ba01cf518465036a5a46d1ac29f10f0de1238f5f0a9ec5102e69
DIST power_assert-1.1.0.tar.gz 16184 SHA256 56c8a1f7588ebf00ca0fa1ead298d5f8e44743c1bead4abb3390414cf3bce3ac SHA512 271de1c87adb2a1e427329cba4f3e7ab15d17bde9afe4725de7b50f895fb4fd5b89bdd08694c84e1eac1183abbd53ffc56ad55216e0cd7841378e48393c885b0 WHIRLPOOL 835e11280251a5d51576fb88b6bc1d168ed1403c57dee8aebd657187616630187e1a60554d15ac4e7496a8e24ea5f3c8addecdbb20968cc11a78a31702dcc235
+DIST power_assert-1.1.1.tar.gz 16799 SHA256 6d31e3a1aa5aa358cafc108fbb5d3b18b633f6a71727c99709ebb701204e9dd4 SHA512 a33429bf918c71a5b75e56940d46dfd05ed3c87f909d6f09ebf2d8b2cd43a3c5c37b5ac13c334383f1b3f52817ecd4ccf68cd649c53bebdfbc464a18c88b702c WHIRLPOOL 0fd5121ca6d538fbb30f6bc177b448af53924b56bbd9f06e657136a54ac5addad82a6e028370ffdc8fa776f01949768a8dbab2b228d73bb3bf6bfbd249467dd0
diff --git a/dev-ruby/power_assert/power_assert-1.1.1.ebuild b/dev-ruby/power_assert/power_assert-1.1.1.ebuild
new file mode 100644
index 000000000000..06310326830a
--- /dev/null
+++ b/dev-ruby/power_assert/power_assert-1.1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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
+}