diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-01-25 06:32:55 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-01-25 06:32:55 +0100 |
commit | fac77cce1b096d06919e1cba9cff9b05f0d24e89 (patch) | |
tree | 38b8c9c19bb0cb182fd25d244ba2a96eef528bb0 /dev-ruby | |
parent | app-text/calibre: version bump to 3.38.1 (diff) | |
download | gentoo-fac77cce1b096d06919e1cba9cff9b05f0d24e89.tar.gz gentoo-fac77cce1b096d06919e1cba9cff9b05f0d24e89.tar.bz2 gentoo-fac77cce1b096d06919e1cba9cff9b05f0d24e89.zip |
dev-ruby/highline: add 2.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/highline/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/highline/highline-2.0.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest index 6a6e090f2220..ec904643940c 100644 --- a/dev-ruby/highline/Manifest +++ b/dev-ruby/highline/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-ruby/highline/highline-2.0.1.ebuild b/dev-ruby/highline/highline-2.0.1.ebuild new file mode 100644 index 000000000000..8fd18cb45c63 --- /dev/null +++ b/dev-ruby/highline/highline-2.0.1.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="ruby23 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 +} |