summaryrefslogtreecommitdiff
path: root/dev-ruby/tty-file
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-23 07:23:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-23 07:23:47 +0100
commit8702447e13af0a540c01f75bee0416677bced231 (patch)
treec48f57af58200e8671b2cf0e8685449dffe3a12c /dev-ruby/tty-file
parent7828eef5de9e45f50282e2b1eaf348f1ac7af477 (diff)
gentoo auto-resync : 23:06:2023 - 07:23:46
Diffstat (limited to 'dev-ruby/tty-file')
-rw-r--r--dev-ruby/tty-file/Manifest1
-rw-r--r--dev-ruby/tty-file/tty-file-0.10.0-r1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/tty-file/Manifest b/dev-ruby/tty-file/Manifest
index 9fdc769b74e7..3fbbc6298306 100644
--- a/dev-ruby/tty-file/Manifest
+++ b/dev-ruby/tty-file/Manifest
@@ -1,3 +1,4 @@
DIST tty-file-0.10.0.tar.gz 31033 BLAKE2B 6d91034fb9ff83f758b260b947a9556a4c45071953025856e65a1d3bf12baab1f583f4d1b01f75aeb8329a4d21c4bcb761cc584ea2944beeda423e8452d0b07e SHA512 5bf3b08b16dc4d7ad918809c8d7860e925fd9ed02fd00f02852674c55a8cd0584d28f39a5b4f28f564aeb38eb0fbe62f89d82fb2a4a7262c874ccec843252946
+EBUILD tty-file-0.10.0-r1.ebuild 856 BLAKE2B 6a144de4286fa87573834a64b6b5166bc326aeae783289f513f049f44b9fbd33da1bb87f7387bd66d4ea2acec31ae6ce1069ec5104eb259c5def7002bf10e8cd SHA512 835019b815f670cc16260f3350e395aa4dfd0764578e3b054dd1e5cd30b2dbbf53f40f25e92ad4025d9d8f4b9ab4743229a33eb4e8ae38957a2c058071bda05a
EBUILD tty-file-0.10.0.ebuild 863 BLAKE2B 6cc1ea12913489197f3e989338af313eb37fbcd463f4c0ec4b4afa2203675d47bfb0dbfb4259596510c75852379de942bd45c6f661c0ce6fcec5cf8f766d0ebc SHA512 7b27d880e7bb3673dbf26438f6fd971241afb6a72d7038426a9d604d8acc714b09d7cd03f3242c5b0a8b1c0aba694dbb810c2ff0a0eecfceaede4734f2515f54
MISC metadata.xml 337 BLAKE2B ee36495bb6f63fd2dd9d6e35e2c10cea73a757aa01aafda67ec7c30497a8504ba782c53ad37178424d2e27752d797344c9b49f775d7fc25ed5810e1b43b65dd2 SHA512 0a26942f31e2d78389ecbb6d3f3cd2bc6085279f2b5fa1d212b8061aabe49c05e37578610ec180914eb176e166af288f576bd945128a4aae868124003f37b11a
diff --git a/dev-ruby/tty-file/tty-file-0.10.0-r1.ebuild b/dev-ruby/tty-file/tty-file-0.10.0-r1.ebuild
new file mode 100644
index 000000000000..1f2ac9d6e677
--- /dev/null
+++ b/dev-ruby/tty-file/tty-file-0.10.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+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
+}