summaryrefslogtreecommitdiff
path: root/dev-ruby/highline
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-17 12:28:32 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-17 12:28:32 +0100
commit16857b69f990738d17bc5842e3e49a6e82d1428d (patch)
tree09af7d330926974197aa59536133e026de791874 /dev-ruby/highline
parentb6fa31c964a602f8461a77d5b83355e8750c12eb (diff)
gentoo auto-resync : 17:07:2024 - 12:28:31
Diffstat (limited to 'dev-ruby/highline')
-rw-r--r--dev-ruby/highline/Manifest2
-rw-r--r--dev-ruby/highline/highline-3.1.0.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest
index 6bcd54b46c71..729418b11f4f 100644
--- a/dev-ruby/highline/Manifest
+++ b/dev-ruby/highline/Manifest
@@ -1,5 +1,7 @@
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
EBUILD highline-2.1.0.ebuild 1049 BLAKE2B 133c71ea1bbeacc16ea45d9413781e5ef5b8455fbe9ffc01d6294b068708f60100624abbbd2ccc52bbf5c46d89a0bb93bc779c0cd771cadb54763f8cf8e17465 SHA512 afbb281198f36df9924ffd6396423bda98a6cc7644d34c0f80ef70acfbcaf192bbeacea7aae98fe21fe4c9706a1955e01d34d5953162ab232e96eb78f60b6ec1
EBUILD highline-3.0.1.ebuild 1041 BLAKE2B be90682c9db2fe14a19a6afba32a4aebe2c7fd652ca53983567cd13aa88a8de25c516db9bf35e1e73ac46eacc9b898142620504dcb515b78a5f133f66199c260 SHA512 43b0fdb2a982514b54d2feeaf7e84e8fae706bbf783ba294fe0d3835d54c0ee3a4e01eb21abc04770e9136c9c465cc1aaeb9df6e35378ad3f33b38d547db08b0
+EBUILD highline-3.1.0.ebuild 1077 BLAKE2B 48cb1e7e30ef8ff2ffb3a63183c6412a077283591ac9f3b9dcdc57acd843662f7b8eae7273e846970bc5cb3575f711d1ea7ec9b6ab16c7f5f939361e6f47dbb8 SHA512 8b1af69a72351e0385b1c7206537c9f40c7ebd3691323632cc5f75fbb22e3f83704f4e1348f97476d94f64034236b980976ecc857717493f4ddfed8cf914157a
MISC metadata.xml 340 BLAKE2B 813c783a68e4c7222ff9315df610902cea3e8d0e67e53ad322be2195318ea8c7b55dbac205ac998116288095d70f6dfecf29955b7867ada84b0ed43b49e0563e SHA512 aa74830fff9fbf2b622c9273f5206ead32312e67b49b64b0ea4755115bcccb1750868ece26c94ce5126cb86cfcb47ee4f768a6e63242218be5ee39f411289ad7
diff --git a/dev-ruby/highline/highline-3.1.0.ebuild b/dev-ruby/highline/highline-3.1.0.ebuild
new file mode 100644
index 000000000000..bebd14051c3f
--- /dev/null
+++ b/dev-ruby/highline/highline-3.1.0.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"
+
+IUSE="test"
+LICENSE="|| ( GPL-2 Ruby-BSD )"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+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
+}