public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Mon, 10 Jan 2022 07:22:24 +0000 (UTC)	[thread overview]
Message-ID: <1641799315.73d33f132d78357d62abc0363480514c1639d435.graaff@gentoo> (raw)

commit:     73d33f132d78357d62abc0363480514c1639d435
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  9 11:07:49 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 07:21:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d33f13

dev-ruby/thor: add 1.2.1

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/thor/Manifest          |  1 +
 dev-ruby/thor/thor-1.2.1.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dev-ruby/thor/Manifest b/dev-ruby/thor/Manifest
index 0a5b9f391cf4..1f4c8fe78d1e 100644
--- a/dev-ruby/thor/Manifest
+++ b/dev-ruby/thor/Manifest
@@ -1 +1,2 @@
 DIST thor-git-1.1.0.tgz 98252 BLAKE2B 1537cfe6e7cc0d92cc8bde56f0e2acf06b6ee4cb366a5686bb62de43dd15709a4aeaf1b30c3dfa71a6d6c7570e702deeebab6da324204388ac427337514be3f0 SHA512 d1872a834478c5a2054dde6f55e93f6765fd628536f99f888bd7495436c88658537d48c44ef1e5ad6d1388edfa294ea2a3f3cbde32c19b7d2253b78bc62bf9d0
+DIST thor-git-1.2.1.tgz 96638 BLAKE2B 03826d2545c61f5fd433325bc65b244921fd0ed0f030ea173fa6f558ca9fd62ac52dca829c66de32569321b3d52353f306559fa34c34e472b1aa52184ba3d812 SHA512 88e58b6ca6c812cb84ab59e0ee8afcd8fa70b6c24d403cd5ea05d1d40ac30e85f2c7412611cc176eb541d16878e309d25c7e4284f64c760475925ffe359250b9

diff --git a/dev-ruby/thor/thor-1.2.1.ebuild b/dev-ruby/thor/thor-1.2.1.ebuild
new file mode 100644
index 000000000000..3909b4a435c3
--- /dev/null
+++ b/dev-ruby/thor/thor-1.2.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2000-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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="A scripting framework that replaces rake and sake"
+HOMEPAGE="http://whatisthor.com/"
+
+SRC_URI="https://github.com/erikhuda/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
+IUSE="doc"
+
+USE_RUBY="ruby26 ruby27" ruby_add_bdepend "
+	test? (
+		dev-ruby/childlabor
+		dev-ruby/webmock
+	)"
+
+RDEPEND+=" !<dev-ruby/thor-0.20.3-r1:0"
+
+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
+}
+
+each_ruby_test() {
+	case ${RUBY} in
+		*ruby30)
+			einfo "Skipping tests due to circular dependencies"
+			;;
+		*)
+			RSPEC_VERSION=3 ruby-ng_rspec spec || die
+			;;
+	esac
+}


             reply	other threads:[~2022-01-10  7:22 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10  7:22 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-19  6:07 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/thor/ Hans de Graaff
2025-04-10  9:01 Hans de Graaff
2025-04-10  9:01 Hans de Graaff
2024-10-15 12:47 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-08-30  5:28 Hans de Graaff
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
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=1641799315.73d33f132d78357d62abc0363480514c1639d435.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