From 30114ae8ef07a32fea1e44a10b61f98c84142645 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 20 Jul 2023 13:07:51 +0100 Subject: gentoo auto-resync : 20:07:2023 - 13:07:51 --- dev-ruby/console/Manifest | 2 ++ dev-ruby/console/console-1.17.4.ebuild | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-ruby/console/console-1.17.4.ebuild (limited to 'dev-ruby/console') diff --git a/dev-ruby/console/Manifest b/dev-ruby/console/Manifest index ca5574809968..0698b3926945 100644 --- a/dev-ruby/console/Manifest +++ b/dev-ruby/console/Manifest @@ -1,6 +1,8 @@ AUX console-1.16.2-tests.patch 4114 BLAKE2B 41dbac47759cb716cdae9673aa2c08482b920966e17dc9299b5d8682dc8a557e05cd15ec4a74f1fa540fbfd8ddee2eed307c14714b4111f43e66cc019b116b77 SHA512 82bb7d6db5fc692d2113206dfc2032ff78f70faf1ef5ab685a7bf2925d0d0e59abe5f0ba04b2e73552b5dfa98ed0c40d77aeee7ff5fbad8e14419f473988ddf7 DIST console-1.16.2.tar.gz 24609 BLAKE2B 470e6fb547e594d6e4add21c11bccca2d239d5430e148bdd99fe925d57058a3e7304b96c793c72a68ac3df3e285c1b7719b5a1e0db833350b0ef55ac17cca4f8 SHA512 fe32ea7b3ab11319fcefc098571e2a4fff2fec2a56c53880731ab15deca75e84c94cc30456fea264e6201996311dc705799814e5c1d7c32e7b7d786fcac9588e DIST console-1.17.2.tar.gz 24861 BLAKE2B c738249eadafe43c4528ebf75d30b51aa1d015fb9fa6cefaa7302bce0d81ab431b4e84ed3d25b8c5376e64b5b1fb8154b91858e15ad72ce6cb746fd18818bb33 SHA512 1c734d335d3928ca580e274857df1d18c05ce254bfdf8401b7c40b391db7d134b6b6b0327e7bb29d5f7c37522335a33cb58a29cf53aabb36279fa601e581a891 +DIST console-1.17.4.tar.gz 24889 BLAKE2B 8e7a5bad0a6420787bc17f3819f78f8c3d73816c79ca3a80d89bac3e44865028f3544ffc63b0bd7c7ef81f6add3500ecb067c5dbba5d543fded960d18f30c355 SHA512 b9d8751cb11cce21570463687b60eeb65e5b808e9a905a90a0444fb06e9b8569b439230d87a2430f0050c25a5cec18a50684e577bdfefc5cb9bafbcd877c7b0d EBUILD console-1.16.2-r1.ebuild 1008 BLAKE2B 7c61abe103672f5ab444aa62b9e172922c03af489f6630588fc04cc2f264303aaa0d49d61836246c255622e40acff73f22cd60d496fdb08ebb55e6505b470df2 SHA512 87ba2bae02ba4c34fbe0c1fc2f76015af9e0957c4def4b0d97990276620cb1303e16a9d14700b0c9d85fcf2724f2b7fb156de62d5e5193e81c23f0b10485c1ee EBUILD console-1.17.2.ebuild 920 BLAKE2B 9ca2f567588cc8878521ef67961f155fc51c6ec9c3755873008d89fe3b7d6e80daf66315f96befb28439ed5b623068ace7bea834edb73082ea33e525ced7bd29 SHA512 a9a16b4db1ea3ac4ab3dab8db3d9b92d0d176a5a8bd858109f4ff8b7263b96561ca95ff1ee436293a7601953fed6860012b7949ad112bbbe13149658f91b5754 +EBUILD console-1.17.4.ebuild 921 BLAKE2B 428e8e43714d092b0ce71834cacee155b4735255641f759e655f38ca628db945cb93d12ef9d63413b31849eb4ec004a8dd5e4ab519a65c4df0f8dfb8aad8ec26 SHA512 fb44ddbf7cde76629919dbe3ab912c6a50ba41b8dea15dd2b38ff619e4cd77bb3900ee2270cfe63c9c05650ed19d83fe12a43fa0cc62bee3188f98072df5be25 MISC metadata.xml 343 BLAKE2B 949f3fccd0b08a5699c083eb21c119af6104cd470fe4f22f2771f5262eddf9a9819a630146ef4cf0636d52be9cca982ab73fd4443e1fb0f4ae77b5223949ed38 SHA512 f243fe8cf5c9d29a4c4f95cd9bce18f8a0ca191b7c62c1644c0b4ec4f4d14d355bc0b564a571b057eb42960997958157bca027b86917a2c43d6ec651f1804302 diff --git a/dev-ruby/console/console-1.17.4.ebuild b/dev-ruby/console/console-1.17.4.ebuild new file mode 100644 index 000000000000..e3712651f8a4 --- /dev/null +++ b/dev-ruby/console/console-1.17.4.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 +} -- cgit v1.2.3