commit: 4aa6ca921bad5a8b2341897fcbd7065b85e20448 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Dec 28 13:14:26 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Dec 28 14:15:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa6ca92
dev-ruby/repl_type_completor: new package, add 0.1.9 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/repl_type_completor/Manifest | 1 + dev-ruby/repl_type_completor/metadata.xml | 12 ++++++++ .../repl_type_completor-0.1.9.ebuild | 35 ++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/dev-ruby/repl_type_completor/Manifest b/dev-ruby/repl_type_completor/Manifest new file mode 100644 index 000000000000..a86351580e16 --- /dev/null +++ b/dev-ruby/repl_type_completor/Manifest @@ -0,0 +1 @@ +DIST repl_type_completor-0.1.9.tar.gz 32275 BLAKE2B aecec4bed189fd1907f7ac50d787b87cc2e9ee22f0042d2888cfbc565e55a231725ed26c2fb5a5776ea7a427ba07def468d3bc6d7ab45576dd7486b3a889bb51 SHA512 c3c88a4127fc37614c8e651b81cbc0636684f2feddd1032f2e4a060b7a6b341d758f64afcb14e8cbfe59306caeba528fb97343cba424d4612f23e095d5486a9e diff --git a/dev-ruby/repl_type_completor/metadata.xml b/dev-ruby/repl_type_completor/metadata.xml new file mode 100644 index 000000000000..c17bfcf16e02 --- /dev/null +++ b/dev-ruby/repl_type_completor/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">ruby/repl_type_completor</remote-id> + <remote-id type="rubygems">repl_type_completor</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/repl_type_completor/repl_type_completor-0.1.9.ebuild b/dev-ruby/repl_type_completor/repl_type_completor-0.1.9.ebuild new file mode 100644 index 000000000000..b83bcfb74d63 --- /dev/null +++ b/dev-ruby/repl_type_completor/repl_type_completor-0.1.9.ebuild @@ -0,0 +1,35 @@ +# 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_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="repl_type_completor.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Type based completion for REPL" +HOMEPAGE="https://github.com/ruby/repl_type_completor" +SRC_URI="https://github.com/ruby/repl_type_completor/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" + +IUSE="test" + +ruby_add_rdepend " + dev-ruby/prism:1 + <dev-ruby/rbs-4 +" + +ruby_add_bdepend "test? ( >=dev-ruby/irb-1.10.0 =dev-ruby/rake-13* dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's:_relative ": "./:' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +}
