diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-ruby/tty-prompt/tty-prompt-0.23.1.ebuild | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-ruby/tty-prompt/tty-prompt-0.23.1.ebuild')
-rw-r--r-- | dev-ruby/tty-prompt/tty-prompt-0.23.1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/tty-prompt/tty-prompt-0.23.1.ebuild b/dev-ruby/tty-prompt/tty-prompt-0.23.1.ebuild new file mode 100644 index 000000000000..ccd06d3c998e --- /dev/null +++ b/dev-ruby/tty-prompt/tty-prompt-0.23.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="tty-prompt.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A beautiful and powerful interactive command line prompt" +HOMEPAGE="https://github.com/piotrmurach/tty-prompt" +SRC_URI="https://github.com/piotrmurach/tty-prompt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/pastel-0.8:0 + >=dev-ruby/tty-reader-0.8:0 +" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die + sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} |