diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-04-20 09:23:19 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-04-20 09:47:10 +0200 |
commit | acc6366bc484d5fe8a7e6cf9eb09ac59041e097d (patch) | |
tree | 3458153a7197a2b8b08affd9f9f2b02e2b07cdb0 /dev-ruby/console | |
parent | dev-ruby/hashicorp-checkpoint: Add support ruby33 (diff) | |
download | gentoo-acc6366bc484d5fe8a7e6cf9eb09ac59041e097d.tar.gz gentoo-acc6366bc484d5fe8a7e6cf9eb09ac59041e097d.tar.bz2 gentoo-acc6366bc484d5fe8a7e6cf9eb09ac59041e097d.zip |
dev-ruby/console: add 1.23.7
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.7.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/console/Manifest b/dev-ruby/console/Manifest index 1d0f0e1e46f8..c48510f1f9e3 100644 --- a/dev-ruby/console/Manifest +++ b/dev-ruby/console/Manifest @@ -2,3 +2,4 @@ DIST console-1.23.2.tar.gz 27339 BLAKE2B 46d411a63934673bb956d9e898c00db08d16e0a DIST console-1.23.3.tar.gz 27768 BLAKE2B e421b6fd7ff0490dcdf9096843be9770b3a87e811ee6e222a45d92d3bebf3f4359428f268a82b6565eb68b9b4f37b136d8d36d9dd3d89b84b541d1ee914283af SHA512 2a1e5f1c8a589493138e1099aa985627314f1e938e7f98415b9cffb37d71dc58f9a6e40ea4d52c0f3be005b9ddb4ad5818ed4eab91b9528058d0ae270375abee DIST console-1.23.5.tar.gz 27830 BLAKE2B fe90b745cc8db2e0b03589afd0c237ec5819547376384a86d5f06882148718cc0f7de2fcc1b72241e616d70feea3f2d8a4d675fb605986bf54224b374b2c116d SHA512 7425a226f6f8b9504ba58dcce5a7c879a320e4565277c0f70aec0d811db3b132be1e0e21c03e42321438602758f12a328258ebf7ad9719bf84572760f816989e DIST console-1.23.6.tar.gz 27883 BLAKE2B e70ddeb8625fb4b8f700f7e1b60295dcf2ddbd1b7cc666975aa883fccbd1cf8e3c2f177938c536e696e95bb8fa3153ce61f70710cbf5dfda6058ce085ec18792 SHA512 0ae48383dedb176bdff5ead3db97a228cee498e5f6a6938e4d9882b3c363ea8b9286bb7089806f664df635d98039c9dca52c8d8afece505d38b12af5ee3aa41c +DIST console-1.23.7.tar.gz 27888 BLAKE2B bfbf447497b91d33248e5a502c6f4522467de3f49c4eb8f51c48f93b17fe12a15ba4352df4f5a3d9f6567fcad1edef05527aa288ef00175acc1868291e215416 SHA512 3057e8f29c8c9d8b6dd37cbf8d8daaea8d00429a623ca92161a2294feeae10f7d83cc418e008de258f84a53ee1464f091f5e7405ac347a2785f3b36d7924966f diff --git a/dev-ruby/console/console-1.23.7.ebuild b/dev-ruby/console/console-1.23.7.ebuild new file mode 100644 index 000000000000..3ddf1603f2f0 --- /dev/null +++ b/dev-ruby/console/console-1.23.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +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" + +ruby_add_rdepend " + dev-ruby/fiber-annotation + dev-ruby/fiber-local + dev-ruby/json +" + +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 +} |