diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-17 14:32:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-17 14:32:10 +0100 |
commit | 51c50bd4c895ebf56d81fecae8e45ec3b5fc3efa (patch) | |
tree | 753b6b08624c34d1ed8414bbe22c45409f7741b9 /dev-ruby/pry | |
parent | be9d77d3ac6af8f4ead98d89706f356b65578c93 (diff) | |
parent | deba8115d2c2af26df42966b91ef04ff4dd79cde (diff) |
Merge branch 'edge' into next
Diffstat (limited to 'dev-ruby/pry')
-rw-r--r-- | dev-ruby/pry/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/pry/pry-0.13.1.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/pry/Manifest b/dev-ruby/pry/Manifest index 2690d9ecd622..516a299709a4 100644 --- a/dev-ruby/pry/Manifest +++ b/dev-ruby/pry/Manifest @@ -1,3 +1,5 @@ DIST pry-0.12.2.tar.gz 237824 BLAKE2B 2a99e6092968150f2c685bc93004bd596adbe5e289bd52ee68f11b52512ac43d0e7079b8129445160652c668c355edae97f1fd0fd2ead940f769831ac9ecf4ff SHA512 b3a2a9a26d7062b994760fc5ca6c8b477813e215624d88ae56d23703429d3d8d21357b5d89583c1af1c7654f892c0c57ffbc6dd6b6f126e0a6b786c7c48df6af +DIST pry-0.13.1.tar.gz 240103 BLAKE2B da4797e36aecba8bf1a785738339ed4be1e06ab28b329b66551a908898cd0515fc0da2434ba96e9fa0f350c9d32c13f850660bc0236c6c0218a4bd3182ec4ced SHA512 bec52c75dce365db68504634b2eaf6b0f312527031401199fcdbaa3ec5a9272148239d93305f8e66c4d36513f9fec3fe045e978c5a10f012a2880ab4a16b7e85 EBUILD pry-0.12.2.ebuild 1174 BLAKE2B 310ef1595b60ca4c27b1bf88a05f3e4b6594df525800d91c2c50b1c792e3dc96115eebb61869050c77e5aef0c24702f3926f23220306d2205db02e7d6114cd47 SHA512 12a816551686be05c853219dd1ae89d30bf231623c0a3553999802c68ffb1d4144e98895e10fb4235b3b39f2d411e72afd0d0cc7f41b3c805e389debc10ee21c +EBUILD pry-0.13.1.ebuild 1241 BLAKE2B 5f69bbe4e681d3abab4773152098e62ba8bd8d89579322cf1f59d4b040a8ce1f370f75607a5329f2e382d065962d24768ce7a58aeda0b51b8dc18a807aa4ad2f SHA512 f610cccd1b330854c8444a44b6a5361b4ef2501183c4d42b5aef5e22ffa8ddbf2525fafefb9ef67067e7073330b6e2d340854a55d77645f3897687a36e75387d MISC metadata.xml 333 BLAKE2B 0c32ac9d2cb59e7aa1dfca56e88a2a38b783bdb2779c9336eca40d06770f02252442afb3372c1a786bc491693548c145079b3aa8e61fefeb0b81209f0afe3fa5 SHA512 4bd968aba7e36044799dfb4abba1a0127c4aa4ccb4e7d1830dafbf27c6c9e94fcc29ad008dc527cf2c409c8308dee14f803946afbf716bc22d9d3f716b951887 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 +} |