diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-08-15 20:14:09 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-08-16 08:14:48 +0200 |
commit | 5239276245c461bc10889d0fa34f83a970d3379b (patch) | |
tree | 3258f88dcf599d4641939baf2cd253a320fd2c2c /dev-ruby/console | |
parent | app-crypt/mit-krb5: add 1.21.2 (diff) | |
download | gentoo-5239276245c461bc10889d0fa34f83a970d3379b.tar.gz gentoo-5239276245c461bc10889d0fa34f83a970d3379b.tar.bz2 gentoo-5239276245c461bc10889d0fa34f83a970d3379b.zip |
dev-ruby/console: add 1.23.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/console')
-rw-r--r-- | dev-ruby/console/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/console/console-1.23.2.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/console/Manifest b/dev-ruby/console/Manifest index 2d1f87b9cd1b..87dfd56321de 100644 --- a/dev-ruby/console/Manifest +++ b/dev-ruby/console/Manifest @@ -1,3 +1,4 @@ DIST console-1.17.2.tar.gz 24861 BLAKE2B c738249eadafe43c4528ebf75d30b51aa1d015fb9fa6cefaa7302bce0d81ab431b4e84ed3d25b8c5376e64b5b1fb8154b91858e15ad72ce6cb746fd18818bb33 SHA512 1c734d335d3928ca580e274857df1d18c05ce254bfdf8401b7c40b391db7d134b6b6b0327e7bb29d5f7c37522335a33cb58a29cf53aabb36279fa601e581a891 DIST console-1.17.4.tar.gz 24889 BLAKE2B 8e7a5bad0a6420787bc17f3819f78f8c3d73816c79ca3a80d89bac3e44865028f3544ffc63b0bd7c7ef81f6add3500ecb067c5dbba5d543fded960d18f30c355 SHA512 b9d8751cb11cce21570463687b60eeb65e5b808e9a905a90a0444fb06e9b8569b439230d87a2430f0050c25a5cec18a50684e577bdfefc5cb9bafbcd877c7b0d DIST console-1.23.1.tar.gz 27284 BLAKE2B d024d8cc2d2d54f390c54fac6a605cbe6b0272a05e8fc8b4d10cab7f2614bd4a85d164e6ccb65e502e611409a9fbdefb96bb892e7f7bf50b6e3a42c296cbb011 SHA512 a0b7b67c4797b42fffd70fd1c4493db89de68809feeceadb06a009e42f14f3ce9b465fc71db0ee31e7959d69affd62f6021a43bc1ba20f5d3fe65db78714814b +DIST console-1.23.2.tar.gz 27339 BLAKE2B 46d411a63934673bb956d9e898c00db08d16e0aec9d036f767d7dc078240934cc26695bada687a2cc7656d736d7d2622e3727470d6c864c19a85cbab586d2c9c SHA512 6dc0cc934e4f28fc196d9861676e8d4cf8f601d5ad779146b594f5847818b76620d434c9817a9944872371031d012eafe5a3b1ccb82807449584aa9c5af5282b diff --git a/dev-ruby/console/console-1.23.2.ebuild b/dev-ruby/console/console-1.23.2.ebuild new file mode 100644 index 000000000000..e3712651f8a4 --- /dev/null +++ b/dev-ruby/console/console-1.23.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="Beautiful logging for Ruby" +HOMEPAGE="https://github.com/socketry/console" +SRC_URI="https://github.com/socketry/console/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/fiber-annotation + dev-ruby/fiber-local +" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Avoid dependency on covered. + rm -f config/sus.rb || die + + # Avoid sandbox violation during tests + sed -i -e 's:/tmp/:'"${TMPDIR}"'/:' test/console/output.rb || die +} |