dev-ruby/pry: add 0.16.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-12-27 08:30:33 +01:00
parent c3fc33c67a
commit 3f470e55a6
2 changed files with 48 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST pry-0.14.2.tar.gz 239170 BLAKE2B a6370affcee671b293f33f65613607009d46b361fa241e47a1828c85e484dc82909ab8d307c2d20545253dd19115875788d1ab151b793e90246df4a7fec28cff SHA512 890ab8399899864c109919637e2641cafaf2d895db6ab4912bf856799708e08a68f4c9fbb5c505a75c160af30c4eabccfd52fa92cfa1dd3be7ae776ba0476660
DIST pry-0.15.2.tar.gz 244301 BLAKE2B 5e04aca46d2933e6235ae644d6ca5c04aaa8b17b8c3eead8085ac359cb7d7c2a43c8cc7d456a02336c5c78c3fa9d96ea2137fcf1d9b60205280ad0ed9cabb640 SHA512 de402618e2d62c54078a39cbee5e048280f3e2e0d84897d75b7453bd59a66db30451daa5a3379e64db7668d228390de11c07957aa4e16535377fd0ab4583f4f1
DIST pry-0.16.0.tar.gz 244379 BLAKE2B c193bda6296b1b18119ab2f2b077225bc91fa1d8d6d94787574cf46979ede3ae1641daf260f0c2f7b0a1c610d821396b4fd77b7601a6323ada66d4a37d6a959a SHA512 cf7aa0df046b281e9f952e2de899cb4ee18717cf8e799ead98238772ac60e4d833f67cf55ae513a17774215adac0f38ba84a8ce3d12953b6adfbf586dc85ae27

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
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*
>=dev-ruby/reline-0.6.0
"
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
}