From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-897007-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2CC6013832E for <garchives@archives.gentoo.org>; Mon, 15 Aug 2016 05:36:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E89721C054; Mon, 15 Aug 2016 05:36:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BFE0621C054 for <gentoo-commits@lists.gentoo.org>; Mon, 15 Aug 2016 05:36:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A92D9340CD7 for <gentoo-commits@lists.gentoo.org>; Mon, 15 Aug 2016 05:36:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1EE8F245B for <gentoo-commits@lists.gentoo.org>; Mon, 15 Aug 2016 05:36:05 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org> Message-ID: <1471239343.7471e3e6e0f2e23fd1749ef5fff35f94e563237f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/maxitest/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/maxitest/Manifest dev-ruby/maxitest/maxitest-2.1.0.ebuild X-VCS-Directories: dev-ruby/maxitest/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 7471e3e6e0f2e23fd1749ef5fff35f94e563237f X-VCS-Branch: master Date: Mon, 15 Aug 2016 05:36:05 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e4db9b5c-65d7-4a7b-94b9-36daa0a2ce47 X-Archives-Hash: a243e1ac8ed0ad98f8de90c86ef4016b commit: 7471e3e6e0f2e23fd1749ef5fff35f94e563237f Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Aug 15 05:35:43 2016 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Aug 15 05:35:43 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7471e3e6 dev-ruby/maxitest: add 2.1.0 Package-Manager: portage-2.2.28 dev-ruby/maxitest/Manifest | 1 + dev-ruby/maxitest/maxitest-2.1.0.ebuild | 49 +++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest index ea04e04..2a0186b 100644 --- a/dev-ruby/maxitest/Manifest +++ b/dev-ruby/maxitest/Manifest @@ -1,2 +1,3 @@ DIST maxitest-1.5.7.tar.gz 13880 SHA256 bb36fe20c5d61fc4f2a4f63a390ec4b93e0912e144069ad1699bc85b3152c907 SHA512 89f405e5cba0150a1e019980219a2f3be6af214f57518d665f0bf562e61fac86bfbc34d1476b71387e596d5c58355dd6914ca4abd04e754ceff4b93b6277da7a WHIRLPOOL 4e360a5e0186ba5f78359ecb63438ddbc8aedd26232b9aae8a1aaa2b0c0a0c31a2a7391537abf993b4b7fbcfd329a1b9237980aa381a448c00416100a8278e20 DIST maxitest-2.0.2.tar.gz 14311 SHA256 25e85f7d2365b5048ae57ebe8bcdaa5a5a04670f07721936a0f199b5297a7f35 SHA512 08e27696206be68a124690fce2be8c59b0a4d235fe201322f8a583b8f43173a8811dda661d22874db9efcf2328ff1a44bfbc18ffaadd3bda8d84493278e8a509 WHIRLPOOL b20622558fcf927fd0db8e8b2b2fbc74e5f326c0cb7be7e3af2896f3b5fe2aaf138e93b524b8b7ace5ef1aa231e83c5f335794668834d6bc9c83a7ef651375e9 +DIST maxitest-2.1.0.tar.gz 14901 SHA256 eb6e11f32557f15445c940408ce18f6532ef440ac0c067af6e2bd734d8086e7e SHA512 2641b523907c06a2462096b392da4548f2bba04d033a6106fa61e72fb4c19cb0edee59ff245f317f33891e9661381f91db6e1150ec4ef4bb2f4702a038a23779 WHIRLPOOL 65d042c8c7797f62c1edb3ac2883ea05f5c7f00f215afa0acd4d3ecd6fb65cf85800ed9b35155967e01e3ad62ed0261e1ee74bf7bbcf0a86fb9fa483a5b89f4c diff --git a/dev-ruby/maxitest/maxitest-2.1.0.ebuild b/dev-ruby/maxitest/maxitest-2.1.0.ebuild new file mode 100644 index 0000000..116beb1 --- /dev/null +++ b/dev-ruby/maxitest/maxitest-2.1.0.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 +}