summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-10-12 07:27:27 +0200
committerHans de Graaff <graaff@gentoo.org>2019-10-12 07:27:27 +0200
commit1b06b1d5715b78e1977db46a8722d981ed7613c2 (patch)
tree2c35c4bccd17bcab2954f56409b39a9188c35031 /dev-ruby/highline
parentnet-libs/nodejs: Old (diff)
downloadgentoo-1b06b1d5715b78e1977db46a8722d981ed7613c2.tar.gz
gentoo-1b06b1d5715b78e1977db46a8722d981ed7613c2.tar.bz2
gentoo-1b06b1d5715b78e1977db46a8722d981ed7613c2.zip
dev-ruby/highline: add 2.0.3
Package-Manager: Portage-2.3.76, Repoman-2.3.16 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-2.0.3.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest
index 6614f97b533..5126c144b0c 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.1.tar.gz 233862 BLAKE2B ca65792d99f31a03f3ae86c774498692197b6e7db5bef6c3c47a88edeb476c0b41abb3afd7640eab16d2946235a72e247318de14ad600e542a999c124b96b03c SHA512 1d6176465f0f1dd21084b5632e47b52a734ec97c1de849c40d4e904abc1fa1ff33ad8f70aba10047debfad16d60364b3acab224a6e57f6278c27c9c25ab37fa9
DIST highline-2.0.2.tar.gz 234108 BLAKE2B 5d4b234d03e4569348a68991dd2319afd329c9840858d9e6686afc57c24cfda8836d5c912072ccd14b61a25ceaed64e46a44c7c5f4e930658b8827ccb74ac08b SHA512 07098366a7c59f2b0bfb194f92daff4f7bc16c2e78e0a6d85da50f9a72e58cafe0281c0e8ee86f84f31e70228f09b75e9e5bcb73dd05256118279e0c02a3ccee
+DIST highline-2.0.3.tar.gz 234205 BLAKE2B 4748c3ad8a15e551162ab9f2eb6e176297d833d13e6f5db7898f99c71f25e8a2a01057b0438c5d30b56a66333bbba0da1a435cfa07db97f2ffc5e301157618ef SHA512 f432c8836040bcfb147a84efa2dd3feee7f3f6e03eafbf4232e9457aeef8cb9ca83fcf854d3b261f59a166666abc3f2c8fc0f1279a7efeb07dea8a13be22ebde
diff --git a/dev-ruby/highline/highline-2.0.3.ebuild b/dev-ruby/highline/highline-2.0.3.ebuild
new file mode 100644
index 00000000000..d1cc7672f8f
--- /dev/null
+++ b/dev-ruby/highline/highline-2.0.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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="~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 '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
+}