diff options
Diffstat (limited to 'dev-ruby/pry')
-rw-r--r-- | dev-ruby/pry/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/pry/pry-0.14.2.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/pry/Manifest b/dev-ruby/pry/Manifest index 42e37519766a..302e8389653c 100644 --- a/dev-ruby/pry/Manifest +++ b/dev-ruby/pry/Manifest @@ -1,3 +1,5 @@ DIST pry-0.14.1.tar.gz 239261 BLAKE2B 46bba71668cbfcb710ebf4f8921d1b4cbaad887b1546b4566a90f9f246f1ff41451ccabb4a8692bb8a404532227aaa72b2d530fa4451bf1b7141cb6f57dfea1a SHA512 b258d1ae7ffd82c6fbed7edbd6e9bc64006eb54e3376a2f85b7482e0517be34efb46a2264975820cac3b7c0bea89b855b4d2a6fb104ff760f25667e1afb3ba44 +DIST pry-0.14.2.tar.gz 239170 BLAKE2B a6370affcee671b293f33f65613607009d46b361fa241e47a1828c85e484dc82909ab8d307c2d20545253dd19115875788d1ab151b793e90246df4a7fec28cff SHA512 890ab8399899864c109919637e2641cafaf2d895db6ab4912bf856799708e08a68f4c9fbb5c505a75c160af30c4eabccfd52fa92cfa1dd3be7ae776ba0476660 EBUILD pry-0.14.1.ebuild 1244 BLAKE2B 372145e5f5df6adf71724bbf04ec913bb7a5b4ef739d97f83060befefcb27d8ac9e26d9c6a1ae79f13d3488a2c57942fcfd44fd77e0114d8283ca94d1dcb94b7 SHA512 49405f89732a3f922520e209ab1cfda10f2a9a8be79d3b35a97fc688160694fc71de0ca2642ff1b0e0266b83aa455e167e12e4b21ce7c74b5d308b57e1ef223c +EBUILD pry-0.14.2.ebuild 1244 BLAKE2B d361451585906f4d01f563a4a7056f6d57b3e5e768a79949002090085b090e73cc8e1a3b0d2383eba26efed58c1dc42da730488fe510f6bfd3111785135f41bc SHA512 d06d856ad67e87f202159ec09327f6465def4d54b30e372d1c79ec89cbfc3c5e3d95d81745fae185f73f20c8360cb520fc11ee615cadefdfe660be5bf5da7b7a MISC metadata.xml 334 BLAKE2B 0a3977b3c1df83701aaed5072b57e379a509beba868ee83c9274987eb05a8bc35b48b5904c658d1fff37d20233e18129ce24d259d3d048af4e6ebc2a71b85905 SHA512 6d8027dbe15c7770d4feaf6a740361c3379e0ded65e289ff4c733918a56e132a4917a9ba695f2fccd9743914a1c21b8e3223666481554df02c8ec327eeafb319 diff --git a/dev-ruby/pry/pry-0.14.2.ebuild b/dev-ruby/pry/pry-0.14.2.ebuild new file mode 100644 index 000000000000..1ac6df00cb29 --- /dev/null +++ b/dev-ruby/pry/pry-0.14.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +ruby_add_rdepend " + >=dev-ruby/coderay-1.1:0 + =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 +} |