diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-11-14 08:50:39 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-11-14 09:10:15 +0100 |
commit | 10eb07a92fa9fe09d5969da5094421528d85a5aa (patch) | |
tree | 066bf8f16b7cdb6dddd7a79f20807210d808ad63 /dev-ruby/tty-command | |
parent | dev-ruby/tty-platform: add ruby30 (diff) | |
download | gentoo-10eb07a92fa9fe09d5969da5094421528d85a5aa.tar.gz gentoo-10eb07a92fa9fe09d5969da5094421528d85a5aa.tar.bz2 gentoo-10eb07a92fa9fe09d5969da5094421528d85a5aa.zip |
dev-ruby/tty-command: add ruby30
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/tty-command')
-rw-r--r-- | dev-ruby/tty-command/tty-command-0.10.1-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/tty-command/tty-command-0.10.1-r1.ebuild b/dev-ruby/tty-command/tty-command-0.10.1-r1.ebuild new file mode 100644 index 000000000000..3149701958af --- /dev/null +++ b/dev-ruby/tty-command/tty-command-0.10.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Terminal color capabilities detection" +HOMEPAGE="https://github.com/piotrmurach/tty-command" +SRC_URI="https://github.com/piotrmurach/tty-command/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/pastel-0.8:0" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die + + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} |