diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-06 12:30:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-06 12:30:38 +0100 |
commit | 74a32c3ccafc7895a037d2b0cf73fc726286ec2e (patch) | |
tree | a8d64068ab0700b96b89bd160cc99a00684c19d7 /dev-ruby/highline | |
parent | f4ee508de68f4da495d887f2855afbe02434a561 (diff) |
gentoo auto-resync : 06:04:2024 - 12:30:38
Diffstat (limited to 'dev-ruby/highline')
-rw-r--r-- | dev-ruby/highline/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/highline/highline-3.0.1.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest index 5fee2f7e08ac..e3e39c3b5673 100644 --- a/dev-ruby/highline/Manifest +++ b/dev-ruby/highline/Manifest @@ -1,3 +1,5 @@ DIST highline-2.1.0.tar.gz 234116 BLAKE2B e1e899093de7e162e83f4d2e694e5841cedc336063a4410cab392702241136d5eec258b53065ffcded567f0af163d04a25bbdfd0767211b059980e9e5effe7c9 SHA512 b763428d67b1eb77762b54b8e2dd39bda720589e7030db8694e793bb432fa94caa2848b23358e7eaea0ccb22d8a93e0a64aeef3865f7e9fec348bbebee19d713 +DIST highline-3.0.1.tar.gz 236149 BLAKE2B 0aaa40ca678dc88934f55d5df9b970d8cd61e507bb4e967c72de10c5bcce94dfc5d6e4085d753124a62d46a285a096302ad127214f2aea28fa0397f40d3c6902 SHA512 e19724a473756faf57d989944b1e5cd86b97049a16ae0c33f25462f6f3d7f9948064f8e08d0b51d3a6f978acaf93c62b4965be5af829d3c07b123c96490a28b2 EBUILD highline-2.1.0.ebuild 1049 BLAKE2B 133c71ea1bbeacc16ea45d9413781e5ef5b8455fbe9ffc01d6294b068708f60100624abbbd2ccc52bbf5c46d89a0bb93bc779c0cd771cadb54763f8cf8e17465 SHA512 afbb281198f36df9924ffd6396423bda98a6cc7644d34c0f80ef70acfbcaf192bbeacea7aae98fe21fe4c9706a1955e01d34d5953162ab232e96eb78f60b6ec1 +EBUILD highline-3.0.1.ebuild 1004 BLAKE2B 22a879907761f6d2997f3c4ac86a129a7dd64908dd49c5b6d75b0ba30e11f61aca2596ad9c8625013300311477b9298e9d2567364992683c2abe06b55c04b539 SHA512 72802c48e0b075ce9bf9c4344376daad6ccf7ef30846c1dffa9cba78d2f7a448b00891da762e3d79cfb4d17250ec7db0cb7161843e6d4cca8551246775153857 MISC metadata.xml 340 BLAKE2B 813c783a68e4c7222ff9315df610902cea3e8d0e67e53ad322be2195318ea8c7b55dbac205ac998116288095d70f6dfecf29955b7867ada84b0ed43b49e0563e SHA512 aa74830fff9fbf2b622c9273f5206ead32312e67b49b64b0ea4755115bcccb1750868ece26c94ce5126cb86cfcb47ee4f768a6e63242218be5ee39f411289ad7 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 +} |