From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/thor/
Date: Fri, 30 Aug 2024 05:28:02 +0000 (UTC) [thread overview]
Message-ID: <1724995634.5a9d3b71004faec7b3fc87da967441c95daad4cb.graaff@gentoo> (raw)
commit: 5a9d3b71004faec7b3fc87da967441c95daad4cb
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 05:27:14 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 05:27:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a9d3b71
dev-ruby/thor: add 1.3.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/thor/Manifest | 1 +
dev-ruby/thor/thor-1.3.2.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/dev-ruby/thor/Manifest b/dev-ruby/thor/Manifest
index 07df0399921a..3c1a10c41ee7 100644
--- a/dev-ruby/thor/Manifest
+++ b/dev-ruby/thor/Manifest
@@ -1,3 +1,4 @@
DIST thor-git-1.2.2.tgz 98213 BLAKE2B e71ee51eb5c982c585cf9bd9dffda8933975c9d0df8096015d125eefd0597a653887db1acfc132ce1f5a2e8ce4ab71c790a6c0bf39edd7c5e4c85a75de963944 SHA512 2c8af5d59f33691af63e813ba8dfe3392c279593f3e3ccf0ab2d6eb2ccce4220d93b7cb3413ad853e4bba14f4e2182c54caaf4944627cbcbefa31cdc0fabefc7
DIST thor-git-1.3.0.tgz 102884 BLAKE2B f3f5a27ccfdbe7de6bbec71e1ae36e522d49ceec223e1d86a028898403e4e56722703dc847b4a850c46301fdeea429e70e73b7888089c35138d455c094678c02 SHA512 f561f9d05264cf0d2cd836dfb689539b645fa02a39ea8d10923001bb3d510ad6b4bcbb6551739d453e7d9ac05562bc0f454b581926becbc784c0604c5449c27e
DIST thor-git-1.3.1.tgz 103008 BLAKE2B 790f83c74bcaff08c65934e1fdf14d41e9d7bf5f51d94419513b45c3263beeae0fd239d848206e7f71a59dceb2ad9719131bc81baf23ac42e797cb430186490d SHA512 5ecfa8c7cdf3c10006b9f50de633b6f07c7ed9a3ad3807cc6d07adbb38b9d64fd0d17aea06a5e8e928ea4abf6cf2042af55e1e87416e7c0ce5ab0a721f546a04
+DIST thor-git-1.3.2.tgz 103619 BLAKE2B 31c23b549a79ec796d0de40c392d32a2621106ad44ffb0389358fbdb170b283867ab544c5f6bcfd437da0396a3193ff4b93100eee5c446c01760f07be73e2b79 SHA512 fb2aff3cf8c14f1a8b38db77579e4b27292f9578c7abf8fb892da888bee7e24412c4bdbf85ce9e43982348f72e038cacc856500268fc204e44fa61f3f9405c32
diff --git a/dev-ruby/thor/thor-1.3.2.ebuild b/dev-ruby/thor/thor-1.3.2.ebuild
new file mode 100644
index 000000000000..72a512352149
--- /dev/null
+++ b/dev-ruby/thor/thor-1.3.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2000-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_BINWRAP="thor"
+
+RUBY_FAKEGEM_GEMSPEC="thor.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple and efficient tool for building self-documenting command line utilities"
+HOMEPAGE="http://whatisthor.com/"
+SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux"
+IUSE="doc"
+
+# For initial target porting (new rubies), we can make these test deps
+# conditional with:
+# 1. USE_RUBY="<old rubies>" ruby_add_bdepend ...
+# 2. skip logic in each_ruby_test
+USE_RUBY="ruby31 ruby32 ruby33" ruby_add_bdepend "
+ test? (
+ dev-ruby/childlabor
+ dev-ruby/webmock
+ )"
+
+all_ruby_prepare() {
+ # Remove rspec default options (as we might not have the last
+ # rspec).
+ rm .rspec || die
+
+ # Remove Bundler
+ #rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Thorfile || die
+
+ # Remove mandatory coverage collection using simplecov which is not
+ # packaged.
+ sed -i -e '/require "simplecov"/,/^end/ s:^:#:' spec/helper.rb || die
+
+ # Avoid a spec that requires UTF-8 support, so LANG=C still works,
+ # bug 430402
+ #sed -i -e '/uses maximum terminal width/,/end/ s:^:#:' spec/shell/basic_spec.rb || die
+
+ # Avoid specs depending on git, bug 724058
+ rm -f spec/quality_spec.rb || die
+
+ # Avoid currently broken readline specs (already fixed upstream)
+ rm -f spec/line_editor/readline_spec.rb spec/line_editor_spec.rb || die
+
+ # Avoid spec failing on whitespace difference in error message
+ sed -i -e '/raises an error for unknown switches/askip "whitespace differences"' spec/parser/options_spec.rb || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby34)
+ einfo "Skipping tests due to circular dependencies"
+ ;;
+ *)
+ RSPEC_VERSION=3 ruby-ng_rspec spec || die
+ ;;
+ esac
+}
next reply other threads:[~2024-08-30 5:28 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 5:28 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-15 12:47 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/thor/ Arthur Zamarin
2024-10-12 8:23 Hans de Graaff
2024-10-09 2:53 Jakov Smolić
2024-10-06 18:39 Arthur Zamarin
2024-10-06 11:11 Sam James
2024-10-06 11:07 Arthur Zamarin
2024-10-06 11:00 Sam James
2024-07-02 3:56 Ionen Wolkens
2024-02-29 12:36 Hans de Graaff
2024-01-04 6:54 Hans de Graaff
2023-12-05 18:25 Ionen Wolkens
2023-10-20 5:35 Hans de Graaff
2023-10-20 5:35 Hans de Graaff
2023-08-29 6:01 Hans de Graaff
2023-06-23 17:15 Hans de Graaff
2023-04-23 22:12 Sam James
2023-04-23 20:22 Sam James
2023-04-23 20:01 Sam James
2023-04-23 19:56 Sam James
2023-04-23 19:50 Sam James
2023-04-23 19:50 Sam James
2023-04-02 5:07 Sam James
2023-03-24 3:58 Sam James
2023-03-19 7:14 Hans de Graaff
2022-06-28 16:59 Arthur Zamarin
2022-06-28 16:47 Arthur Zamarin
2022-06-04 5:47 Hans de Graaff
2022-05-23 5:05 Hans de Graaff
2022-05-08 15:00 WANG Xuerui
2022-05-05 11:34 Jakov Smolić
2022-05-05 11:34 Jakov Smolić
2022-04-27 4:34 Arthur Zamarin
2022-04-26 13:45 Sam James
2022-04-01 5:15 Arthur Zamarin
2022-01-10 7:22 Hans de Graaff
2021-11-07 8:11 Hans de Graaff
2021-10-03 6:30 Hans de Graaff
2021-10-02 20:40 Sam James
2021-07-07 19:15 Hans de Graaff
2021-03-15 6:16 Hans de Graaff
2021-03-15 6:16 Hans de Graaff
2021-03-08 9:29 Hans de Graaff
2021-02-14 10:49 Hans de Graaff
2020-07-23 15:02 Hans de Graaff
2020-04-19 23:55 Sergei Trofimovich
2020-02-15 15:24 Hans de Graaff
2019-07-17 7:09 Hans de Graaff
2019-04-11 17:46 Hans de Graaff
2019-04-11 17:46 Hans de Graaff
2019-01-09 8:07 Hans de Graaff
2018-11-10 6:19 Hans de Graaff
2018-05-06 13:42 Mart Raudsepp
2018-05-01 17:17 Michał Górny
2018-04-27 8:33 Hans de Graaff
2018-04-27 8:33 Hans de Graaff
2018-04-19 4:36 Hans de Graaff
2018-03-25 12:41 Sergei Trofimovich
2018-03-25 12:41 Sergei Trofimovich
2018-03-22 20:23 Jeroen Roovers
2018-01-13 8:19 Hans de Graaff
2017-08-18 6:11 Hans de Graaff
2017-06-10 7:31 Hans de Graaff
2017-04-29 20:13 Jeroen Roovers
2016-09-28 8:17 Tobias Klausmann
2016-05-18 8:55 Fabian Groffen
2016-03-23 16:15 Richard Farina
2016-01-10 7:28 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1724995634.5a9d3b71004faec7b3fc87da967441c95daad4cb.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox