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/maxitest/
Date: Thu, 19 May 2016 05:30:05 +0000 (UTC)	[thread overview]
Message-ID: <1463635786.b34abfadd70a373e1a976ea60019fe1819dd30f5.graaff@gentoo> (raw)

commit:     b34abfadd70a373e1a976ea60019fe1819dd30f5
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 06:28:09 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu May 19 05:29:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b34abfad

dev-ruby/maxitest: add 2.0.1

Package-Manager: portage-2.2.28

 dev-ruby/maxitest/Manifest              |  1 +
 dev-ruby/maxitest/maxitest-2.0.1.ebuild | 49 +++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest
index 64de962..e204ca5 100644
--- a/dev-ruby/maxitest/Manifest
+++ b/dev-ruby/maxitest/Manifest
@@ -1,2 +1,3 @@
 DIST maxitest-1.5.6.tar.gz 13751 SHA256 629e8c27b35158eb4bbbfecb47ac50434f47d13ceb094bcf657df1389bfd2f3d SHA512 7228c0b39a374a1193be63959b827c5657420b9effe451971e46a3d29c80f71fb684801011d531855340c853400250e149ae1cf0d73bda1800facc2ea072c500 WHIRLPOOL 1878bf3069e4debfc317a3b5bb360be96be05ed22e7c9bbbafcb410018d1a2009c964eec16864ab02dd619bbb657e3bc067bc82d0acd5f3962a797fdde6db918
 DIST maxitest-1.5.7.tar.gz 13880 SHA256 bb36fe20c5d61fc4f2a4f63a390ec4b93e0912e144069ad1699bc85b3152c907 SHA512 89f405e5cba0150a1e019980219a2f3be6af214f57518d665f0bf562e61fac86bfbc34d1476b71387e596d5c58355dd6914ca4abd04e754ceff4b93b6277da7a WHIRLPOOL 4e360a5e0186ba5f78359ecb63438ddbc8aedd26232b9aae8a1aaa2b0c0a0c31a2a7391537abf993b4b7fbcfd329a1b9237980aa381a448c00416100a8278e20
+DIST maxitest-2.0.1.tar.gz 14290 SHA256 6cdb465745f38690599790e7b6b12cedb84baff9a3a3316148f69219b54f304a SHA512 80ec4746faada003a64ecb80f7b5551d67c24a7a51955c955419f0c661c543c0ae14a1dc702c51bb0af182ead06e05b2c8839350f1b892bbb961640d25027a57 WHIRLPOOL d76c28b1d476d34168861b07dcacab7c4397f000bc3f84eccaae29ef884f0afd988ec64568ab11eb45693b3f8f2654da501dd2337d4331e3ec52abf6e5fbb4de

diff --git a/dev-ruby/maxitest/maxitest-2.0.1.ebuild b/dev-ruby/maxitest/maxitest-2.0.1.ebuild
new file mode 100644
index 0000000..116beb1
--- /dev/null
+++ b/dev-ruby/maxitest/maxitest-2.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="Readme.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="Minitest + all the features you always wanted"
+HOMEPAGE="https://github.com/grosser/maxitest"
+SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "<dev-ruby/minitest-5.10:5"
+
+ruby_add_bdepend "test? ( dev-ruby/bundler )"
+
+all_ruby_prepare() {
+	rm -f Gemfile.lock || die
+	# Remove developer-only gems from the gemspec and avoid git issues
+	sed -i -e '/\(bump\|wwtd\)/ s:^:#:' \
+		-e 's/git ls-files/find/' \
+		${RUBY_FAKEGEM_GEMSPEC} || die
+	sed -i -e '/byebug/ s:^:#:' Gemfile || die
+
+}
+
+each_ruby_prepare() {
+	# Use the correct target
+	sed -i -e '/sh/ s:ruby:'${RUBY}':' \
+		-e '/sh/ s:mtest:'${RUBY}' -S mtest:' \
+		spec/maxitest_spec.rb || die
+}
+
+each_ruby_test() {
+	PATH="${S}/bin:${PATH}" RSPEC_VERSION=3 ruby-ng_rspec spec
+}


             reply	other threads:[~2016-05-19  5:30 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-19  5:30 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-15 12:06 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/maxitest/ Hans de Graaff
2024-10-14  5:56 Hans de Graaff
2024-10-04  6:12 Hans de Graaff
2024-10-04  6:12 Hans de Graaff
2024-08-17  6:32 Hans de Graaff
2024-07-15  6:05 Ionen Wolkens
2024-07-15  6:05 Ionen Wolkens
2024-07-15  6:05 Ionen Wolkens
2024-07-15  6:05 Ionen Wolkens
2024-07-05  5:29 Hans de Graaff
2024-06-24  5:30 Hans de Graaff
2024-06-19  5:45 Hans de Graaff
2024-05-30  5:07 Hans de Graaff
2024-03-08  8:00 Hans de Graaff
2023-10-28  6:42 Hans de Graaff
2023-10-21  5:09 Hans de Graaff
2023-09-10  5:57 Hans de Graaff
2023-06-16  5:22 Hans de Graaff
2023-05-13  5:07 Hans de Graaff
2023-04-10 10:51 Sam James
2023-04-10 10:51 Sam James
2023-04-10 10:51 Sam James
2023-04-10 10:51 Sam James
2023-04-10 10:51 Sam James
2023-04-07  3:07 Sam James
2023-03-27  8:35 Sam James
2023-02-18  7:29 Hans de Graaff
2023-01-08  7:49 Hans de Graaff
2022-12-24 15:00 Hans de Graaff
2022-03-23  6:42 Hans de Graaff
2021-11-21  4:58 Arthur Zamarin
2021-11-17  9:02 Arthur Zamarin
2021-11-17  9:02 Arthur Zamarin
2021-11-09 21:49 Jakov Smolić
2021-11-09 14:16 Jakov Smolić
2021-11-08  2:51 Yixun Lan
2021-09-04  6:53 Hans de Graaff
2021-07-07  6:53 Hans de Graaff
2021-07-07  6:53 Hans de Graaff
2020-09-11  6:58 Hans de Graaff
2020-06-09 17:07 Sergei Trofimovich
2020-06-07  8:37 Hans de Graaff
2020-04-25 12:16 Hans de Graaff
2020-04-25 12:16 Hans de Graaff
2019-11-11  6:56 Hans de Graaff
2019-11-01  5:40 Hans de Graaff
2019-11-01  5:40 Hans de Graaff
2019-09-25  6:11 Hans de Graaff
2019-09-09  5:40 Hans de Graaff
2019-09-09  5:40 Hans de Graaff
2019-09-09  5:40 Hans de Graaff
2019-06-05  6:06 Hans de Graaff
2019-06-05  6:06 Hans de Graaff
2019-01-27 19:13 Hans de Graaff
2018-05-30  4:18 Hans de Graaff
2018-05-30  4:18 Hans de Graaff
2018-05-05  7:29 Hans de Graaff
2018-05-05  7:29 Hans de Graaff
2018-05-05  7:29 Hans de Graaff
2018-04-02  5:50 Hans de Graaff
2018-04-02  5:50 Hans de Graaff
2018-03-07  6:31 Hans de Graaff
2018-02-27  5:00 Hans de Graaff
2018-02-25 22:01 Sergei Trofimovich
2018-01-27  7:18 Hans de Graaff
2018-01-13  8:46 Hans de Graaff
2018-01-03  7:05 Hans de Graaff
2017-05-13  6:33 Hans de Graaff
2017-01-24  6:06 Hans de Graaff
2016-12-09  6:10 Hans de Graaff
2016-12-01  7:46 Hans de Graaff
2016-12-01  7:46 Hans de Graaff
2016-08-25  5:12 Hans de Graaff
2016-08-15  5:36 Hans de Graaff
2016-08-15  5:36 Hans de Graaff
2016-07-01  4:30 Hans de Graaff
2016-04-27 11:54 Hans de Graaff
2016-03-23  6:16 Hans de Graaff
2016-03-23  6:16 Hans de Graaff
2016-01-27  6:36 Hans de Graaff
2016-01-20 13:42 Fabian Groffen
2016-01-07  6:39 Hans de Graaff
2015-11-21 15:45 Markus Meier
2015-11-16  5:55 Jeroen Roovers
2015-11-15  7:53 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=1463635786.b34abfadd70a373e1a976ea60019fe1819dd30f5.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