From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/flexmock/
Date: Fri, 1 Nov 2024 06:48:13 +0000 (UTC) [thread overview]
Message-ID: <1730443679.4d572cfb16adccff2918c4bf7c6021650be8cffd.graaff@gentoo> (raw)
commit: 4d572cfb16adccff2918c4bf7c6021650be8cffd
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 1 06:46:34 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Nov 1 06:47:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d572cfb
dev-ruby/flexmock: add 2.4.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/flexmock/Manifest | 1 +
dev-ruby/flexmock/flexmock-2.4.2.ebuild | 44 +++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-ruby/flexmock/Manifest b/dev-ruby/flexmock/Manifest
index 9ff1d667989a..c89c8ece9876 100644
--- a/dev-ruby/flexmock/Manifest
+++ b/dev-ruby/flexmock/Manifest
@@ -1,2 +1,3 @@
DIST flexmock-2.3.8.tar.gz 92170 BLAKE2B 583dff030e0c828dedfbd1188a3bcca45b53d327fc9cfc5e43370c10bc6683819aa0d11e7aad0b8d26fe7576cc8a804f2103b5fa065f57381285d5de27c99ff9 SHA512 e055b5fc503967df47fcb4c5724f79efac9cebfab76a3784cf27e194c12316c4863a29c47b46256146cf2aa2f76afcd92849297310c71ac584ef8a5cc9cb40a0
DIST flexmock-2.4.0.tar.gz 92776 BLAKE2B 4579fcfa174cafe3ebfc2fe97cfc37323299a10be1c0bfd5bfae5399857700f0eef22e5d2ee9f60bdf5fdae48c985711a3ecd39a0b9ae53b24ce8d7ab8a69fd3 SHA512 eea0766bdab53dc0292519fe27784bc6a094ccf7ac374aeafda06ce3819726d310fbf69a7e1deaf584d6eedc03004e90695d2bda1aee5982443fbbeb4dc7d6e6
+DIST flexmock-2.4.2.tar.gz 92884 BLAKE2B 0fc233e5a5e6b062977980c2bed401788e3b8da749062434ea23aeade58c589fad18ac136f173cf0dcfb5968105b5954986b0343e8a6a535859b07721a6fac89 SHA512 5a589bfabeab97101d971be64f275a990e0c1188d0075547a62a6a4a828ad447117cfd86d9f352d95d16d8136c7839d8095e4698c861b6fc5ddd473fb7d69cc9
diff --git a/dev-ruby/flexmock/flexmock-2.4.2.ebuild b/dev-ruby/flexmock/flexmock-2.4.2.ebuild
new file mode 100644
index 000000000000..e53f9ce3a649
--- /dev/null
+++ b/dev-ruby/flexmock/flexmock-2.4.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_DOCDIR="html"
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+RUBY_FAKEGEM_GEMSPEC="flexmock.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple mock object library for Ruby unit testing"
+HOMEPAGE="https://github.com/doudou/flexmock"
+SRC_URI="https://github.com/doudou/flexmock/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="flexmock"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+PATCHES=( "${FILESDIR}"/flexmock-2.3.6-ruby30-{1,2,3}.patch )
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/minitest:5
+ dev-ruby/rspec:3
+ )"
+
+each_ruby_test() {
+ RSPEC_VERSION=3 ruby-ng_rspec test/rspec_integration
+ MT_NO_PLUGINS=1 ${RUBY} -Ilib:.:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}
+
+all_ruby_prepare() {
+ sed -i -e '1igem "minitest", "~>5.0"' test/test_helper.rb || die
+
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
next reply other threads:[~2024-11-01 6:48 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-01 6:48 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-11 9:30 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/flexmock/ Hans de Graaff
2024-11-11 7:58 Hans de Graaff
2024-11-01 6:48 Hans de Graaff
2024-08-20 6:33 Sam James
2024-08-20 6:33 Sam James
2024-08-20 5:26 Hans de Graaff
2023-12-31 19:20 Hans de Graaff
2023-08-15 5:45 Hans de Graaff
2023-03-29 13:04 Sam James
2023-03-29 12:13 Sam James
2023-03-29 12:05 Sam James
2022-01-15 6:43 Hans de Graaff
2022-01-15 6:29 Hans de Graaff
2021-11-24 7:29 Hans de Graaff
2020-03-26 7:25 Hans de Graaff
2019-04-29 5:32 Hans de Graaff
2019-04-28 20:34 Thomas Deutschmann
2019-04-13 14:10 Mikle Kolyada
2019-01-22 18:18 Hans de Graaff
2018-03-28 4:48 Hans de Graaff
2017-10-03 5:35 Hans de Graaff
2017-07-30 6:10 Hans de Graaff
2017-05-30 4:51 Hans de Graaff
2017-05-30 4:51 Hans de Graaff
2017-05-16 8:01 Agostino Sarubbo
2017-05-15 14:17 Agostino Sarubbo
2017-05-14 6:20 Hans de Graaff
2017-02-24 7:13 Hans de Graaff
2017-02-05 9:59 Hans de Graaff
2016-11-16 5:58 Hans de Graaff
2016-11-09 6:34 Hans de Graaff
2016-10-28 6:41 Hans de Graaff
2016-10-28 6:41 Hans de Graaff
2016-10-12 4:53 Hans de Graaff
2016-09-28 8:17 Tobias Klausmann
2016-07-20 5:08 Hans de Graaff
2016-04-27 11:54 Hans de Graaff
2016-04-27 11:54 Hans de Graaff
2016-04-17 10:47 Manuel Rüger
2016-04-02 7:01 Hans de Graaff
2016-04-02 7:01 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=1730443679.4d572cfb16adccff2918c4bf7c6021650be8cffd.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