diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /dev-ruby/pry/pry-0.14.0.ebuild | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'dev-ruby/pry/pry-0.14.0.ebuild')
-rw-r--r-- | dev-ruby/pry/pry-0.14.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/pry/pry-0.14.0.ebuild b/dev-ruby/pry/pry-0.14.0.ebuild new file mode 100644 index 000000000000..16efb0d3f5fa --- /dev/null +++ b/dev-ruby/pry/pry-0.14.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" +RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec + +inherit ruby-fakegem + +DESCRIPTION="Pry is a powerful alternative to the standard IRB shell for Ruby" +HOMEPAGE="https://github.com/pry/pry/wiki" +SRC_URI="https://github.com/pry/pry/archive/v${PV}.tar.gz -> ${P}.tar.gz" +IUSE="" +SLOT="ruby19" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +ruby_add_rdepend " + >=dev-ruby/coderay-1.1.0 =dev-ruby/coderay-1.1* + =dev-ruby/method_source-1*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/open4-1.3 + >=dev-ruby/rake-0.9 + >=dev-ruby/mocha-1.0 + )" + +all_ruby_prepare() { + # Avoid unneeded dependency on git. + # Loosen coderay dependency. + sed -e '/git ls-files/d' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -e '/[Bb]undler/d' -i spec/spec_helper.rb || die + + # Skip integration tests because they depend to much on specifics of the environment. + rm -f spec/integration/* || die + sed -i -e '/loads files through repl and exits/askip "depends on parent directory"' spec/cli_spec.rb || die +} |