diff options
author | Hans de Graaff <graaff@gentoo.org> | 2025-01-07 07:29:32 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2025-01-07 07:29:32 +0100 |
commit | 881f0d84b7e65897895eafa6e3f5c24a4843f688 (patch) | |
tree | 7cac55f61ebffe9ce6e53a7c257e078dabb4d4e3 /dev-ruby/highline | |
parent | dev-ruby/dry-struct: add 1.7.0 (diff) | |
download | gentoo-881f0d84b7e65897895eafa6e3f5c24a4843f688.tar.gz gentoo-881f0d84b7e65897895eafa6e3f5c24a4843f688.tar.bz2 gentoo-881f0d84b7e65897895eafa6e3f5c24a4843f688.zip |
dev-ruby/highline: add 3.1.2
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.1.2.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest index 94ea04efaf93..20fc8b7be68b 100644 --- a/dev-ruby/highline/Manifest +++ b/dev-ruby/highline/Manifest @@ -1,2 +1,3 @@ DIST highline-2.1.0.tar.gz 234116 BLAKE2B e1e899093de7e162e83f4d2e694e5841cedc336063a4410cab392702241136d5eec258b53065ffcded567f0af163d04a25bbdfd0767211b059980e9e5effe7c9 SHA512 b763428d67b1eb77762b54b8e2dd39bda720589e7030db8694e793bb432fa94caa2848b23358e7eaea0ccb22d8a93e0a64aeef3865f7e9fec348bbebee19d713 DIST highline-3.1.1.tar.gz 237291 BLAKE2B e0e4bce282bb1ab87e803864882db1b8d59872ede17fc606573f3238971b1f986a9bdc4f4679e9e2a346510dac6e4716bc2a43f5a70a10016a6b9cb0374a5009 SHA512 f3f9ed1cd0658bdbf95913c75cfbaf2e69e31dc49d846c715b0ede1a0fcd2fc7ed9efb06bcc7e42bd262ccd626a3a87c49a00cfeeb4384af182c9c45a9b21085 +DIST highline-3.1.2.tar.gz 237459 BLAKE2B d50b71c5d370d6dabf4fe6eb3e9b68cd080789e7c7b05d8bd78373272b0840a9a95d515db191a6271b1c9d06d0b8095a95c5a990aee907c3deaa4a243300ed63 SHA512 5964ba76de71eefbb3b097bea394e9c6e00b371d17fb3bc3ad045c04717a597502d58ddfca994e4269d5990992bbd5c1e5fde990259b2a354e2d9ca1514a9185 diff --git a/dev-ruby/highline/highline-3.1.2.ebuild b/dev-ruby/highline/highline-3.1.2.ebuild new file mode 100644 index 000000000000..495ef2f4729b --- /dev/null +++ b/dev-ruby/highline/highline-3.1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +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" + +LICENSE="|| ( GPL-2 Ruby-BSD )" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +ruby_add_rdepend "dev-ruby/reline" + +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 +} |