diff options
Diffstat (limited to 'dev-ruby/highline')
-rw-r--r-- | dev-ruby/highline/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/highline/highline-3.1.2.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest index d2046f77b016..c55d9439fb1b 100644 --- a/dev-ruby/highline/Manifest +++ b/dev-ruby/highline/Manifest @@ -1,5 +1,7 @@ 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 EBUILD highline-2.1.0.ebuild 1049 BLAKE2B 133c71ea1bbeacc16ea45d9413781e5ef5b8455fbe9ffc01d6294b068708f60100624abbbd2ccc52bbf5c46d89a0bb93bc779c0cd771cadb54763f8cf8e17465 SHA512 afbb281198f36df9924ffd6396423bda98a6cc7644d34c0f80ef70acfbcaf192bbeacea7aae98fe21fe4c9706a1955e01d34d5953162ab232e96eb78f60b6ec1 EBUILD highline-3.1.1.ebuild 1096 BLAKE2B 3b11c1fb7f7be3a11fcdd16cb06012bc43546ce7b2bc6a39897164f43ca6e0dd8ff6b307bfd009192ef567bfd8ce315c5eb825dd5f42f6fa3129cfc02f32a4e1 SHA512 901c7dc2ba4822d9bed86914f0e5272683bc76c50c1df1fdd783b1850a22533b79e6fe730cbedd55681a608e0385cdf5e46b8a1c3ce566e61b19e0aa07b51139 +EBUILD highline-3.1.2.ebuild 1101 BLAKE2B 88ae4c915ab2595a41aac5e6fa8eaa76466f6823bbde4dbba032fd676d08e9a4b411db27671c03eafe5474de945b0af60c03f6b9a4b85bd75444d1a742565412 SHA512 3b4aa13ef2db020427250af57c562add041798456b2d0d3f4b0adb8fd70e395d794fc6cbf458e5662376626ca7b1094d3924e68143a121f787bebf14149f592c MISC metadata.xml 340 BLAKE2B 813c783a68e4c7222ff9315df610902cea3e8d0e67e53ad322be2195318ea8c7b55dbac205ac998116288095d70f6dfecf29955b7867ada84b0ed43b49e0563e SHA512 aa74830fff9fbf2b622c9273f5206ead32312e67b49b64b0ea4755115bcccb1750868ece26c94ce5126cb86cfcb47ee4f768a6e63242218be5ee39f411289ad7 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 +} |