summaryrefslogtreecommitdiff
path: root/dev-ruby/console
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/console')
-rw-r--r--dev-ruby/console/Manifest2
-rw-r--r--dev-ruby/console/console-1.17.2.ebuild36
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/console/Manifest b/dev-ruby/console/Manifest
index 917329f46b70..af10ee08571f 100644
--- a/dev-ruby/console/Manifest
+++ b/dev-ruby/console/Manifest
@@ -1,5 +1,7 @@
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
EBUILD console-1.16.2-r1.ebuild 1009 BLAKE2B e26978b9decc5bbf7c45354ac8c2bea6e63f999293432ab98924ec5f554e752de93845542daad7eaa94471e75b125793e888d26838f28b768ace89da9b923a95 SHA512 98ce628f3c526648061e0547d4a437889c1d1976c221494b836e72c5232fff2be755a237d2e4c0862cd7d3740a9486d2529809a76da6df5a7e1357d22d5eaca0
EBUILD console-1.16.2.ebuild 939 BLAKE2B f754aba307d358f12a225b0899e2b6cd74373c25f745a7330902ecfb649add6d9e44458660a48f16befa459ca5e7f15d0b7d6daa222b7d0a2d126b47a2fe6969 SHA512 d18b6b8c47b9614efba79ac40475cafd552c5bcd825276481c3402397b0c2bf318d38cf2f07563b1fa4c51c5da7d6726f26a58057101a33cfecf4d90b190f324
+EBUILD console-1.17.2.ebuild 872 BLAKE2B dc899d8493d85e31ef60335c44a9cbc7d8229e3f96a41000b86da2924985aa5795217f29a9d80a8aee0a99c648cc45ab381cd8b4a9d2a1eefa099716caa52863 SHA512 311093eb1f6e1a96b0d3416000417ecadafa9b58e9b64beed60c6d34eed82e7830f2ba7eeacd65b1a2ad6644fcbb422d82ec490c56a2423c664229264bd709a3
MISC metadata.xml 343 BLAKE2B 949f3fccd0b08a5699c083eb21c119af6104cd470fe4f22f2771f5262eddf9a9819a630146ef4cf0636d52be9cca982ab73fd4443e1fb0f4ae77b5223949ed38 SHA512 f243fe8cf5c9d29a4c4f95cd9bce18f8a0ca191b7c62c1644c0b4ec4f4d14d355bc0b564a571b057eb42960997958157bca027b86917a2c43d6ec651f1804302
diff --git a/dev-ruby/console/console-1.17.2.ebuild b/dev-ruby/console/console-1.17.2.ebuild
new file mode 100644
index 000000000000..6a8c6a91b3c3
--- /dev/null
+++ b/dev-ruby/console/console-1.17.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"
+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
+}