summaryrefslogtreecommitdiff
path: root/dev-ruby/highline
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-ruby/highline
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-ruby/highline')
-rw-r--r--dev-ruby/highline/Manifest1
-rw-r--r--dev-ruby/highline/highline-2.0.3-r1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest
index 5108fc40cfab..055ec5f2bfad 100644
--- a/dev-ruby/highline/Manifest
+++ b/dev-ruby/highline/Manifest
@@ -1,3 +1,4 @@
DIST highline-2.0.3.tar.gz 234205 BLAKE2B 4748c3ad8a15e551162ab9f2eb6e176297d833d13e6f5db7898f99c71f25e8a2a01057b0438c5d30b56a66333bbba0da1a435cfa07db97f2ffc5e301157618ef SHA512 f432c8836040bcfb147a84efa2dd3feee7f3f6e03eafbf4232e9457aeef8cb9ca83fcf854d3b261f59a166666abc3f2c8fc0f1279a7efeb07dea8a13be22ebde
+EBUILD highline-2.0.3-r1.ebuild 1056 BLAKE2B 236a7ce6e0f8a62b2cf2383202313b9f4da7059c93d28226f84c81fdf3d41ec3608f5ef270f8be525e3c37aa02ebcca6b920414d66b15f0ab3d0b651d561b96b SHA512 e343b0bf88bbdfb7849d189e08796642402a8579eb7bdd6df711f90148c269816bbf5abbf3ef95db022f854f914ca78d0458ea0f6eebb2cdc94d798d1364c1fe
EBUILD highline-2.0.3.ebuild 1049 BLAKE2B 509dcf60ae5800057195b83361992ad6961afd95da51437d0b57fc409fe599920aa5ccfa8abc868157c8dd097d9a03956b08b4c8831d851d89161653496ad7f6 SHA512 9a2770abddfba0d74f4228559f20571a6239030833de90f8641427dfaa9ebd01b1fd2bed8a0f3445b2fb733d7d4dc0fed320bfbd3e75ce49391d9ceba7f70288
MISC metadata.xml 340 BLAKE2B 813c783a68e4c7222ff9315df610902cea3e8d0e67e53ad322be2195318ea8c7b55dbac205ac998116288095d70f6dfecf29955b7867ada84b0ed43b49e0563e SHA512 aa74830fff9fbf2b622c9273f5206ead32312e67b49b64b0ea4755115bcccb1750868ece26c94ce5126cb86cfcb47ee4f768a6e63242218be5ee39f411289ad7
diff --git a/dev-ruby/highline/highline-2.0.3-r1.ebuild b/dev-ruby/highline/highline-2.0.3-r1.ebuild
new file mode 100644
index 000000000000..7c6ab702d0ab
--- /dev/null
+++ b/dev-ruby/highline/highline-2.0.3-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+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=""
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+
+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
+}