summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-05-16 07:20:38 +0200
committerHans de Graaff <graaff@gentoo.org>2017-05-16 07:20:38 +0200
commit584370a167aec5ffbf449649b71ccb61be30f931 (patch)
treee77376871dbe7ae904a92d78caeb0b1312d60a0f /dev-ruby
parentdev-ruby/windows_error: add 0.1.2 (diff)
downloadgentoo-584370a167aec5ffbf449649b71ccb61be30f931.tar.gz
gentoo-584370a167aec5ffbf449649b71ccb61be30f931.tar.bz2
gentoo-584370a167aec5ffbf449649b71ccb61be30f931.zip
dev-ruby/power_assert: add 1.0.2
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/power_assert/Manifest1
-rw-r--r--dev-ruby/power_assert/power_assert-1.0.2.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/power_assert/Manifest b/dev-ruby/power_assert/Manifest
index 94225d22c7cb..31636ec8bb5f 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 SHA256 f89ba9cc1fa9d684b8f9f1221e94a8472a89355b5a6cb40d99fc863cbb4bec3a SHA512 0523c9c2f45ae60e93b491bed8ae3ff3bd83cfdf8c23d784ce19f87a52d90b94095d3e5ca38fbc2e4917a8895309194e06ec519099b69096bef69a4d9466da64 WHIRLPOOL 7a378ee685ab2b5d47885285b6c2b5377dae60f63fe23ac1ac2f776e6acb7b80445ca033a8ba0c4df6bb56eebecb084d9cede10d90d6f63750aea6e9d5d80ed0
DIST power_assert-0.4.1.gem 14848 SHA256 8d2bf80d28a9f8bc4c6c7eb162780971896d0a27fa0540093a0f125157aa6b7f SHA512 18b55e841499be7827cdfbcca41fe786a4fd7d0ff2aed049c289b917ab4487e035cc4321f39ccab2dcc5967c668df36f0cfb96d8e799793c9cb8dfbf9b3622c9 WHIRLPOOL 8609198b6c7453f11b51b651d9911d8118cf3ecf6af1f05d721c7e33f06620a030538de11c39816435810e4c7c1993148a287cdaa1e48b86456edae07fe6c4e6
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
diff --git a/dev-ruby/power_assert/power_assert-1.0.2.ebuild b/dev-ruby/power_assert/power_assert-1.0.2.ebuild
new file mode 100644
index 000000000000..ad96c7dc4914
--- /dev/null
+++ b/dev-ruby/power_assert/power_assert-1.0.2.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="ruby21 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
+}