diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-04-24 12:06:59 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-04-25 14:15:57 +0200 |
commit | 9c6b287a01f198fa65e4fdecee92f70925afb753 (patch) | |
tree | b116fa081739c0e492bb788e24b174054222f5b2 /dev-ruby/pry | |
parent | dev-ruby/rack-cache: add ruby27 (diff) | |
download | gentoo-9c6b287a01f198fa65e4fdecee92f70925afb753.tar.gz gentoo-9c6b287a01f198fa65e4fdecee92f70925afb753.tar.bz2 gentoo-9c6b287a01f198fa65e4fdecee92f70925afb753.zip |
dev-ruby/pry: add 0.13.1
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/pry')
-rw-r--r-- | dev-ruby/pry/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pry/pry-0.13.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/pry/Manifest b/dev-ruby/pry/Manifest index bef25e9fc93a..491c869fbb39 100644 --- a/dev-ruby/pry/Manifest +++ b/dev-ruby/pry/Manifest @@ -1 +1,2 @@ DIST pry-0.12.2.tar.gz 237824 BLAKE2B 2a99e6092968150f2c685bc93004bd596adbe5e289bd52ee68f11b52512ac43d0e7079b8129445160652c668c355edae97f1fd0fd2ead940f769831ac9ecf4ff SHA512 b3a2a9a26d7062b994760fc5ca6c8b477813e215624d88ae56d23703429d3d8d21357b5d89583c1af1c7654f892c0c57ffbc6dd6b6f126e0a6b786c7c48df6af +DIST pry-0.13.1.tar.gz 240103 BLAKE2B da4797e36aecba8bf1a785738339ed4be1e06ab28b329b66551a908898cd0515fc0da2434ba96e9fa0f350c9d32c13f850660bc0236c6c0218a4bd3182ec4ced SHA512 bec52c75dce365db68504634b2eaf6b0f312527031401199fcdbaa3ec5a9272148239d93305f8e66c4d36513f9fec3fe045e978c5a10f012a2880ab4a16b7e85 diff --git a/dev-ruby/pry/pry-0.13.1.ebuild b/dev-ruby/pry/pry-0.13.1.ebuild new file mode 100644 index 000000000000..4b735fec0735 --- /dev/null +++ b/dev-ruby/pry/pry-0.13.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 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 ~ppc ~ppc64 ~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 +} |