summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-08-31 07:45:23 +0200
committerHans de Graaff <graaff@gentoo.org>2024-08-31 07:45:23 +0200
commit55ff00f2dde7c3bb26935cb9fbb050d087db86cd (patch)
treed85f40f92cdd37e3b5fc520899fd930460ddfe76 /dev-ruby/highline
parentdev-ruby/faraday: drop 2.9.0, 2.9.1 (diff)
downloadgentoo-55ff00f2dde7c3bb26935cb9fbb050d087db86cd.tar.gz
gentoo-55ff00f2dde7c3bb26935cb9fbb050d087db86cd.tar.bz2
gentoo-55ff00f2dde7c3bb26935cb9fbb050d087db86cd.zip
dev-ruby/highline: add 3.1.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/highline')
-rw-r--r--dev-ruby/highline/Manifest1
-rw-r--r--dev-ruby/highline/highline-3.1.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest
index 66e01b3c4d30..ea9f79d8ed85 100644
--- a/dev-ruby/highline/Manifest
+++ b/dev-ruby/highline/Manifest
@@ -1,3 +1,4 @@
DIST highline-2.1.0.tar.gz 234116 BLAKE2B e1e899093de7e162e83f4d2e694e5841cedc336063a4410cab392702241136d5eec258b53065ffcded567f0af163d04a25bbdfd0767211b059980e9e5effe7c9 SHA512 b763428d67b1eb77762b54b8e2dd39bda720589e7030db8694e793bb432fa94caa2848b23358e7eaea0ccb22d8a93e0a64aeef3865f7e9fec348bbebee19d713
DIST highline-3.0.1.tar.gz 236149 BLAKE2B 0aaa40ca678dc88934f55d5df9b970d8cd61e507bb4e967c72de10c5bcce94dfc5d6e4085d753124a62d46a285a096302ad127214f2aea28fa0397f40d3c6902 SHA512 e19724a473756faf57d989944b1e5cd86b97049a16ae0c33f25462f6f3d7f9948064f8e08d0b51d3a6f978acaf93c62b4965be5af829d3c07b123c96490a28b2
DIST highline-3.1.0.tar.gz 236286 BLAKE2B 18a8250f180fbf5da73888c399b9b5aa80c216eb22f472a7e9924fa14886f82331e48557da974549a4dc61d7df7dcf023e8a9eb89994b3b100d8c35a9d73f545 SHA512 5346947a865ae21c6b3c97400c144f62197ed2f2802c81e7f3cfa276ec36f96cdffad9decc1f8a28f6108543b5ba0067fd09d8ec5daaacdf403f28df9c25d723
+DIST highline-3.1.1.tar.gz 237291 BLAKE2B e0e4bce282bb1ab87e803864882db1b8d59872ede17fc606573f3238971b1f986a9bdc4f4679e9e2a346510dac6e4716bc2a43f5a70a10016a6b9cb0374a5009 SHA512 f3f9ed1cd0658bdbf95913c75cfbaf2e69e31dc49d846c715b0ede1a0fcd2fc7ed9efb06bcc7e42bd262ccd626a3a87c49a00cfeeb4384af182c9c45a9b21085
diff --git a/dev-ruby/highline/highline-3.1.1.ebuild b/dev-ruby/highline/highline-3.1.1.ebuild
new file mode 100644
index 000000000000..5fedec123c62
--- /dev/null
+++ b/dev-ruby/highline/highline-3.1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO"
+
+RUBY_FAKEGEM_GEMSPEC="highline.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Highline is a high-level command-line IO library for ruby"
+HOMEPAGE="https://github.com/JEG2/highline"
+SRC_URI="https://github.com/JEG2/highline/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 Ruby-BSD )"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/reline"
+
+ruby_add_bdepend "test? ( dev-ruby/dry-types )"
+
+all_ruby_prepare() {
+ # fix up gemspec file not to call git
+ sed -i -e 's/git ls-files -z/find * -print0/' highline.gemspec || die
+
+ # Avoid unneeded dependencies
+ sed -i -e '/\(bundler\|code_statistics\)/ s:^:#:' \
+ -e '/PackageTask/,/end/ s:^:#:' Rakefile || die
+ sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die
+
+ # Remove almost empty doc directory to allow rdoc recipe to work
+ rm -rf doc || die
+}