diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-03-24 08:05:26 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-03-24 09:34:32 +0100 |
commit | 2a2135811e3278e2f508e1a58ce39a8482f990dd (patch) | |
tree | d5117baa0e4d483c75822cb0798df248fa992c89 /dev-ruby/power_assert | |
parent | dev-ruby/parser: add 2.6.2.0 (diff) | |
download | gentoo-2a2135811e3278e2f508e1a58ce39a8482f990dd.tar.gz gentoo-2a2135811e3278e2f508e1a58ce39a8482f990dd.tar.bz2 gentoo-2a2135811e3278e2f508e1a58ce39a8482f990dd.zip |
dev-ruby/power_assert: add 1.1.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/power_assert')
-rw-r--r-- | dev-ruby/power_assert/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/power_assert/power_assert-1.1.4.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/power_assert/Manifest b/dev-ruby/power_assert/Manifest index 1e2abed5355f..66f89f62940b 100644 --- a/dev-ruby/power_assert/Manifest +++ b/dev-ruby/power_assert/Manifest @@ -1,3 +1,4 @@ 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 +DIST power_assert-1.1.4.tar.gz 17330 BLAKE2B 5d5e22c436c8e25612326e8d33a6ca10e8ddacf6d2b5266bdcd61c04abdcde231872ee7589985926153c58872714dd9ac4d66cf1bc0b02ce863968e0215a050c SHA512 1c7b98623710ad037aad4a399b80f28130b76ad38ee4bf0613fe6cfc9080bdcc9c6765358830bcd713201d6e14e33761a34e4434f41f3e8995d8d91d3809a61a diff --git a/dev-ruby/power_assert/power_assert-1.1.4.ebuild b/dev-ruby/power_assert/power_assert-1.1.4.ebuild new file mode 100644 index 000000000000..488bee9eed52 --- /dev/null +++ b/dev-ruby/power_assert/power_assert-1.1.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +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 +} |