diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-03-11 08:28:46 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-03-11 08:28:46 +0100 |
commit | 292ea978bd533d102c73081340386af625479661 (patch) | |
tree | 54a71a5f08a04061b4648ab48c4336f28ff314c9 /dev-ruby | |
parent | dev-ruby/hiera-eyaml: drop 3.1.1, 3.2.2 (diff) | |
download | gentoo-292ea978bd533d102c73081340386af625479661.tar.gz gentoo-292ea978bd533d102c73081340386af625479661.tar.bz2 gentoo-292ea978bd533d102c73081340386af625479661.zip |
dev-ruby/highline: add 2.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/highline/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/highline/highline-2.1.0.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest index ccf43edf3690..8837783258c4 100644 --- a/dev-ruby/highline/Manifest +++ b/dev-ruby/highline/Manifest @@ -1 +1,2 @@ DIST highline-2.0.3.tar.gz 234205 BLAKE2B 4748c3ad8a15e551162ab9f2eb6e176297d833d13e6f5db7898f99c71f25e8a2a01057b0438c5d30b56a66333bbba0da1a435cfa07db97f2ffc5e301157618ef SHA512 f432c8836040bcfb147a84efa2dd3feee7f3f6e03eafbf4232e9457aeef8cb9ca83fcf854d3b261f59a166666abc3f2c8fc0f1279a7efeb07dea8a13be22ebde +DIST highline-2.1.0.tar.gz 234116 BLAKE2B e1e899093de7e162e83f4d2e694e5841cedc336063a4410cab392702241136d5eec258b53065ffcded567f0af163d04a25bbdfd0767211b059980e9e5effe7c9 SHA512 b763428d67b1eb77762b54b8e2dd39bda720589e7030db8694e793bb432fa94caa2848b23358e7eaea0ccb22d8a93e0a64aeef3865f7e9fec348bbebee19d713 diff --git a/dev-ruby/highline/highline-2.1.0.ebuild b/dev-ruby/highline/highline-2.1.0.ebuild new file mode 100644 index 000000000000..b503aee0e9dc --- /dev/null +++ b/dev-ruby/highline/highline-2.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +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-BSD )" +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 +} |