From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5F3771384B4 for ; Sun, 27 Dec 2015 09:22:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F0EA21C00E; Sun, 27 Dec 2015 09:22:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1ACB521C013 for ; Sun, 27 Dec 2015 09:22:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66D69340666 for ; Sun, 27 Dec 2015 09:22:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0075CF4 for ; Sun, 27 Dec 2015 09:22:39 +0000 (UTC) From: "Hans de Graaff" 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" Message-ID: <1451208131.07f747b7838b656bcee54975eb57c3c7e41d0af0.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/test-unit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/test-unit/test-unit-3.1.5-r1.ebuild X-VCS-Directories: dev-ruby/test-unit/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 07f747b7838b656bcee54975eb57c3c7e41d0af0 X-VCS-Branch: master Date: Sun, 27 Dec 2015 09:22:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 33f7d6d9-4b07-483a-9325-b2ede8434b22 X-Archives-Hash: b3a769eeb5f43dc62627ac8bb93055c5 commit: 07f747b7838b656bcee54975eb57c3c7e41d0af0 Author: Hans de Graaff gentoo org> AuthorDate: Sun Dec 27 09:17:24 2015 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Dec 27 09:22:11 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f747b7 dev-ruby/test-unit: drop ruby19 and add ruby23 Package-Manager: portage-2.2.24 dev-ruby/test-unit/test-unit-3.1.5-r1.ebuild | 46 ++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/dev-ruby/test-unit/test-unit-3.1.5-r1.ebuild b/dev-ruby/test-unit/test-unit-3.1.5-r1.ebuild new file mode 100644 index 0000000..01c6f4d --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.1.5-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md" + +inherit ruby-fakegem + +# Assume for now that ruby23 is not eselected yet and only +# depend on yard for the other ruby implementations. Without this +# assumption bootstrapping ruby23 won't be possible due to the yard +# dependency tree. +USE_RUBY="${USE_RUBY/ruby23/}" ruby_add_bdepend "doc? ( dev-ruby/yard )" + +DESCRIPTION="An xUnit family unit testing framework for Ruby" +HOMEPAGE="https://rubygems.org/gems/test-unit" + +LICENSE="|| ( Ruby GPL-2 ) PSF-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/power_assert" + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + yard doc --title ${PN} || die + fi +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die "testsuite failed" +} + +all_ruby_install() { + all_fakegem_install + + newbin "${FILESDIR}"/testrb-3 testrb-2 +}