summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-04-10 07:32:51 +0200
committerHans de Graaff <graaff@gentoo.org>2019-04-10 08:04:14 +0200
commit03d049539c0bc11809e58c754f0cd8f880ccdba8 (patch)
tree791289439ebfdf26fa8116964d5d287de942788c /dev-ruby
parentx11-misc/xcalib: Drop 0.9.0_p20161210 (diff)
downloadgentoo-03d049539c0bc11809e58c754f0cd8f880ccdba8.tar.gz
gentoo-03d049539c0bc11809e58c754f0cd8f880ccdba8.tar.bz2
gentoo-03d049539c0bc11809e58c754f0cd8f880ccdba8.zip
dev-ruby/highline: add 2.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/highline/Manifest1
-rw-r--r--dev-ruby/highline/highline-2.0.2.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest
index ec904643940c..9834f8dfb347 100644
--- a/dev-ruby/highline/Manifest
+++ b/dev-ruby/highline/Manifest
@@ -1,3 +1,4 @@
DIST highline-1.7.8.gem 224768 BLAKE2B 683fa70e3ea4bf697ab5a1cd40da2528e2586f8fe12fb0ffb799938f2bfa2efe64fe1424c0ee1f90ae3df69f86a92f44eebcbb2ab34f18b3c4cdbb143e596067 SHA512 85f57ab732009cc961b824e252f0b65bbe7c0a8c97849d453773a331016b2ea8fa0efe393bc1a0073eae6d3cf523d97b9434cd73bdceed55bc069be0b6f4b41d
DIST highline-2.0.0.tar.gz 233750 BLAKE2B ac696d63aaf15309a8235d9a0c25e4722b257cda154bd00a420675e1bccedb5f06122f3532ac200685f22753783152255194751f2e3bdc908f80b278f325328c SHA512 d1a96233ffb97b2985e7afebd3755d1b28d89ac2d84a3ec8c04450680c1149f1fcc46f0221242768a2aafa8bfbde4f5a6f3951013c0b5d25a3aa88f1e571b4d8
DIST highline-2.0.1.tar.gz 233862 BLAKE2B ca65792d99f31a03f3ae86c774498692197b6e7db5bef6c3c47a88edeb476c0b41abb3afd7640eab16d2946235a72e247318de14ad600e542a999c124b96b03c SHA512 1d6176465f0f1dd21084b5632e47b52a734ec97c1de849c40d4e904abc1fa1ff33ad8f70aba10047debfad16d60364b3acab224a6e57f6278c27c9c25ab37fa9
+DIST highline-2.0.2.tar.gz 234108 BLAKE2B 5d4b234d03e4569348a68991dd2319afd329c9840858d9e6686afc57c24cfda8836d5c912072ccd14b61a25ceaed64e46a44c7c5f4e930658b8827ccb74ac08b SHA512 07098366a7c59f2b0bfb194f92daff4f7bc16c2e78e0a6d85da50f9a72e58cafe0281c0e8ee86f84f31e70228f09b75e9e5bcb73dd05256118279e0c02a3ccee
diff --git a/dev-ruby/highline/highline-2.0.2.ebuild b/dev-ruby/highline/highline-2.0.2.ebuild
new file mode 100644
index 000000000000..fb472d36be12
--- /dev/null
+++ b/dev-ruby/highline/highline-2.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO"
+
+inherit ruby-fakegem eapi7-ver
+
+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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+
+all_ruby_prepare() {
+ # fix up gemspec file not to call git
+ sed -i -e '/git ls-files/d' 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
+}