diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-04-06 09:17:42 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-04-06 09:21:26 +0200 |
commit | 8fe0016ae2a882c8731abcb4b1b8a5b36af84bf5 (patch) | |
tree | b7b7a6ee492cb2afe2c38be36f541d1c135f2936 /dev-ruby/highline | |
parent | dev-ruby/minitest-around: more bundler fixes (diff) | |
download | gentoo-8fe0016ae2a882c8731abcb4b1b8a5b36af84bf5.tar.gz gentoo-8fe0016ae2a882c8731abcb4b1b8a5b36af84bf5.tar.bz2 gentoo-8fe0016ae2a882c8731abcb4b1b8a5b36af84bf5.zip |
dev-ruby/highline: add 3.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/highline')
-rw-r--r-- | dev-ruby/highline/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/highline/highline-3.0.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest index 85f11cfa446d..fca406f8bd8f 100644 --- a/dev-ruby/highline/Manifest +++ b/dev-ruby/highline/Manifest @@ -1 +1,2 @@ DIST highline-2.1.0.tar.gz 234116 BLAKE2B e1e899093de7e162e83f4d2e694e5841cedc336063a4410cab392702241136d5eec258b53065ffcded567f0af163d04a25bbdfd0767211b059980e9e5effe7c9 SHA512 b763428d67b1eb77762b54b8e2dd39bda720589e7030db8694e793bb432fa94caa2848b23358e7eaea0ccb22d8a93e0a64aeef3865f7e9fec348bbebee19d713 +DIST highline-3.0.1.tar.gz 236149 BLAKE2B 0aaa40ca678dc88934f55d5df9b970d8cd61e507bb4e967c72de10c5bcce94dfc5d6e4085d753124a62d46a285a096302ad127214f2aea28fa0397f40d3c6902 SHA512 e19724a473756faf57d989944b1e5cd86b97049a16ae0c33f25462f6f3d7f9948064f8e08d0b51d3a6f978acaf93c62b4965be5af829d3c07b123c96490a28b2 diff --git a/dev-ruby/highline/highline-3.0.1.ebuild b/dev-ruby/highline/highline-3.0.1.ebuild new file mode 100644 index 000000000000..d966495172d7 --- /dev/null +++ b/dev-ruby/highline/highline-3.0.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +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="test" +LICENSE="|| ( GPL-2 Ruby-BSD )" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +ruby_add_bdepend "test? ( dev-ruby/dry-types )" + +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 +} |