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/flexmock/
Date: Wed, 24 Nov 2021 07:29:53 +0000 (UTC)	[thread overview]
Message-ID: <1637738987.deb21d7d00d84d9622d4caabaf3d853a8f3904f9.graaff@gentoo> (raw)

commit:     deb21d7d00d84d9622d4caabaf3d853a8f3904f9
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 24 07:28:52 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Nov 24 07:29:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb21d7d

dev-ruby/flexmock: EAPI 8

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

 dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild | 42 ++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild b/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild
new file mode 100644
index 000000000000..d04994270898
--- /dev/null
+++ b/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27"
+
+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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "
+	test? (
+		dev-ruby/minitest:5
+		dev-ruby/rspec:3
+	)"
+
+each_ruby_test() {
+	RSPEC_VERSION=3 ruby-ng_rspec test/rspec_integration
+	${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
+}


             reply	other threads:[~2021-11-24  7:30 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-24  7:29 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-20  6:33 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/flexmock/ 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
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=1637738987.deb21d7d00d84d9622d4caabaf3d853a8f3904f9.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