diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-17 03:03:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-17 03:03:09 +0000 |
commit | 3455c0a5153ae27d7c6c16ecd35fa3dec33f3dda (patch) | |
tree | b29c1fa32b8be70c36e7f8bf53ab5fca875037f9 /dev-ruby/pry | |
parent | b0735771a80a647a2ea5a03a87d5873d175bd744 (diff) |
gentoo auto-resync : 17:11:2024 - 03:03:09
Diffstat (limited to 'dev-ruby/pry')
-rw-r--r-- | dev-ruby/pry/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/pry/pry-0.15.0.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/pry/Manifest b/dev-ruby/pry/Manifest index 903133494465..052204bcdb89 100644 --- a/dev-ruby/pry/Manifest +++ b/dev-ruby/pry/Manifest @@ -1,3 +1,5 @@ DIST pry-0.14.2.tar.gz 239170 BLAKE2B a6370affcee671b293f33f65613607009d46b361fa241e47a1828c85e484dc82909ab8d307c2d20545253dd19115875788d1ab151b793e90246df4a7fec28cff SHA512 890ab8399899864c109919637e2641cafaf2d895db6ab4912bf856799708e08a68f4c9fbb5c505a75c160af30c4eabccfd52fa92cfa1dd3be7ae776ba0476660 +DIST pry-0.15.0.tar.gz 243906 BLAKE2B e5b438ac7329cca2e27d1d47d28f9ec772c6e2068e3389f47ca3e9519d3a2fb44f1ac4b3e3a524a60fc61d712d871b254585f8ccbcaebd0b96935b628210b8cc SHA512 d7f81546d42dc974a0befe3f5b7c17af0ca810231e8c8b8242b5bdccb521753d77cf15db07630c2949a28824165eac3406a84b672f86d5faf3e9e70c7345111e EBUILD pry-0.14.2.ebuild 1237 BLAKE2B cc83ea67c49f8af7b7d6b760aceb3f0d83e5b2b1c0d424e545852beab9702c97643be3c4ad702b424565cf05e20dfb426e1ab68e23a4f984315188a3efc31961 SHA512 4e95bb9603579161e9031299efb8f72b32d0052981044af6b66a1f59ee54f52a0096c2b818b24475714241a5d0c3864912275062d5b623f29d66472cf657f292 +EBUILD pry-0.15.0.ebuild 1249 BLAKE2B ce0c396a3e50b21ea9ccd4972645c9a0a6cbf5cbf56916b389cfcf839caef845552faba249962033cd03a256ab4a1fb59f9620216417c92eca270501a9e592a0 SHA512 072809dac0a45b083be9f535e95bda7f83f53fc58777cd6cddb9e6f5d07e313b63ce3b603719a56d4a4422233cedf26d8460f86fd830c3d47ced8b2a21706a92 MISC metadata.xml 334 BLAKE2B 0a3977b3c1df83701aaed5072b57e379a509beba868ee83c9274987eb05a8bc35b48b5904c658d1fff37d20233e18129ce24d259d3d048af4e6ebc2a71b85905 SHA512 6d8027dbe15c7770d4feaf6a740361c3379e0ded65e289ff4c733918a56e132a4917a9ba695f2fccd9743914a1c21b8e3223666481554df02c8ec327eeafb319 diff --git a/dev-ruby/pry/pry-0.15.0.ebuild b/dev-ruby/pry/pry-0.15.0.ebuild new file mode 100644 index 000000000000..e3b0c5b2e9e3 --- /dev/null +++ b/dev-ruby/pry/pry-0.15.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +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" + +LICENSE="MIT" +SLOT="ruby19" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +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 too 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 +} |