commit: ea6797451cb7105113964d4f7c553518b78cc02b Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Oct 7 07:38:03 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Tue Oct 7 07:41:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea679745
dev-ruby/pp: add 0.6.3 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/pp/Manifest | 1 + dev-ruby/pp/pp-0.6.3.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-ruby/pp/Manifest b/dev-ruby/pp/Manifest index f2ca7cb513aa..15bfe5dba03f 100644 --- a/dev-ruby/pp/Manifest +++ b/dev-ruby/pp/Manifest @@ -1 +1,2 @@ DIST pp-0.6.2.tar.gz 12063 BLAKE2B 7e76e95f8fe5873c9989037bcaf2df228561ec76c38215db2e5e243fbb058359fff000b1b0f1565e3cb1cc1e4a7a17f8b9d3838d0126495e94a34d67b4591621 SHA512 37657cc53f0522dde19c8be52c8eea805e8ba8b651d233e3c1096dbd6c8722f22d012548f0972ae95c915cb64b4bf2a51ba3bae5fdc5f1b5632b6cbf1774fc5c +DIST pp-0.6.3.tar.gz 13368 BLAKE2B a9bacbc23c701d3597215f845ed90eb4b71a68fce2de8cbbef4f03c9fe58b3b82dbe9fe201a23e1e7b4eb980a6a82c95dd2806cce11749d684d8b2d465c62f27 SHA512 02074943b73cd9e47bbd5ffeeb0c3678e2d86ffdc6a5f21769428221da5fd354fa39500f40b4f2bd98fd317ebf6aab9d9369a415f3f77895d12ae2bf8f09cc09 diff --git a/dev-ruby/pp/pp-0.6.3.ebuild b/dev-ruby/pp/pp-0.6.3.ebuild new file mode 100644 index 000000000000..182a1859c16d --- /dev/null +++ b/dev-ruby/pp/pp-0.6.3.ebuild @@ -0,0 +1,27 @@ +# 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_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="pp.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides a PrettyPrinter for Ruby objects" +HOMEPAGE="https://github.com/ruby/pp" +SRC_URI="https://github.com/ruby/pp/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +}
