diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-ruby/tty-which | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/tty-which')
| -rw-r--r-- | dev-ruby/tty-which/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/tty-which/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-ruby/tty-which/tty-which-0.5.0.ebuild | 35 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/tty-which/Manifest b/dev-ruby/tty-which/Manifest new file mode 100644 index 000000000000..837a6ca96d32 --- /dev/null +++ b/dev-ruby/tty-which/Manifest @@ -0,0 +1 @@ +DIST tty-which-0.5.0.tar.gz 11560 BLAKE2B 0b8d821168759ff744ded5a5d7b0864303ed71510dd233b39b6f12fe42f044c4fb48da8f9b0cb16875ae9cce5c66060af8cff858aaa88bdaddfc971886f2ce8b SHA512 a5be30dc857eed2aa8ce81f1c62467451760482b1f51f1c0654c57001a9ab828d31b22b35cd9e37ea2fe91a7514a1a15107b5fc948a561a2ee4e58e0748bacd3 diff --git a/dev-ruby/tty-which/metadata.xml b/dev-ruby/tty-which/metadata.xml new file mode 100644 index 000000000000..c685ebad7e3a --- /dev/null +++ b/dev-ruby/tty-which/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-which/tty-which-0.5.0.ebuild b/dev-ruby/tty-which/tty-which-0.5.0.ebuild new file mode 100644 index 000000000000..885e50d5f462 --- /dev/null +++ b/dev-ruby/tty-which/tty-which-0.5.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34 ruby40" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="tty-which.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Platform independent implementation of Unix which command" +HOMEPAGE="https://github.com/piotrmurach/tty-which" +SRC_URI="https://github.com/piotrmurach/tty-which/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix running specs without bundler, fixed upstream + sed -e 's/receive(:join)$/receive(:join).and_call_original/' \ + -e '96iallow(::File).to receive(:join).and_call_original' \ + -e '115iallow(::File).to receive(:join).and_call_original' \ + -i spec/unit/which_spec.rb || die + sed -e '5iallow(::File).to receive(:join).and_call_original' \ + -i spec/unit/executable_file_spec.rb || die +} |
