diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-09-07 09:59:22 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-09-07 09:59:32 +0200 |
commit | 36e20c6b3ebb4cba8b5470b222e5c5393e7c1f04 (patch) | |
tree | dbcaadfaea29ca77693cc2914fe5c73b792c6fbd /dev-ruby/tty-file | |
parent | dev-ruby/treetop: fix insinto deprecation (diff) | |
download | gentoo-36e20c6b3ebb4cba8b5470b222e5c5393e7c1f04.tar.gz gentoo-36e20c6b3ebb4cba8b5470b222e5c5393e7c1f04.tar.bz2 gentoo-36e20c6b3ebb4cba8b5470b222e5c5393e7c1f04.zip |
dev-ruby/tty-file: add 0.10.0
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/tty-file')
-rw-r--r-- | dev-ruby/tty-file/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/tty-file/tty-file-0.10.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/tty-file/Manifest b/dev-ruby/tty-file/Manifest index 577be768f2dc..d0382a5cf993 100644 --- a/dev-ruby/tty-file/Manifest +++ b/dev-ruby/tty-file/Manifest @@ -1 +1,2 @@ +DIST tty-file-0.10.0.tar.gz 31033 BLAKE2B 6d91034fb9ff83f758b260b947a9556a4c45071953025856e65a1d3bf12baab1f583f4d1b01f75aeb8329a4d21c4bcb761cc584ea2944beeda423e8452d0b07e SHA512 5bf3b08b16dc4d7ad918809c8d7860e925fd9ed02fd00f02852674c55a8cd0584d28f39a5b4f28f564aeb38eb0fbe62f89d82fb2a4a7262c874ccec843252946 DIST tty-file-0.7.0.tar.gz 26418 BLAKE2B d1fa189a5dc25a64f14e6a14e4c8e92504db262d2acd4f47ee96c1becc59a8ef7cbe18457a492583f9a5a7568dbbfe299b5b90b0ba607df09da3601ec23f8e2a SHA512 178b5da7ef4f265bc2a8203d68219e97b09746571cd485e738d79b6bf1c58e8ed85c5745dda6e094958a20bb75be6de87c4c16e8aaf807220e9ea36cf7a8aca1 diff --git a/dev-ruby/tty-file/tty-file-0.10.0.ebuild b/dev-ruby/tty-file/tty-file-0.10.0.ebuild new file mode 100644 index 000000000000..0d2fcdcb956d --- /dev/null +++ b/dev-ruby/tty-file/tty-file-0.10.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="File manipulation utility methods" +HOMEPAGE="https://github.com/piotrmurach/tty-file" +SRC_URI="https://github.com/piotrmurach/tty-file/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/diff-lcs-1.3:0 + >=dev-ruby/pastel-0.8:0 + >=dev-ruby/tty-prompt-0.22:0 +" + +ruby_add_bdepend "test? ( dev-ruby/webmock )" + +all_ruby_prepare() { + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + echo '-rspec_helper' > .rspec || die +} + +each_ruby_prepare() { + mkdir tmp || die +} |