Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/shoulda/
Date: Sat, 24 Dec 2016 14:12:24
Message-Id: 1482588723.5e7b2705955b490bbe5661ef5a486cdfd3354c78.mrueg@gentoo
1 commit: 5e7b2705955b490bbe5661ef5a486cdfd3354c78
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 24 14:12:03 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 24 14:12:03 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7b2705
7
8 dev-ruby/shoulda: Add ruby23
9
10 Package-Manager: portage-2.3.3
11
12 dev-ruby/shoulda/shoulda-3.5.0-r3.ebuild | 34 ++++++++++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/dev-ruby/shoulda/shoulda-3.5.0-r3.ebuild b/dev-ruby/shoulda/shoulda-3.5.0-r3.ebuild
16 new file mode 100644
17 index 00000000..aaa0e46
18 --- /dev/null
19 +++ b/dev-ruby/shoulda/shoulda-3.5.0-r3.ebuild
20 @@ -0,0 +1,34 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +
27 +USE_RUBY="ruby21 ruby22 ruby23"
28 +
29 +RUBY_FAKEGEM_TASK_DOC=""
30 +RUBY_FAKEGEM_EXTRADOC="README.md"
31 +
32 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
33 +
34 +inherit ruby-fakegem
35 +
36 +DESCRIPTION="Making tests easy on the fingers and eyes"
37 +HOMEPAGE="http://thoughtbot.com/projects/shoulda"
38 +SRC_URI="https://github.com/thoughtbot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="MIT"
41 +SLOT="3"
42 +KEYWORDS="~amd64 ~arm ~hppa"
43 +IUSE=""
44 +
45 +# This now more or less a meta-gem and it only contains features for
46 +# integration tests using Appraisals, which we don't currently package.
47 +RESTRICT=test
48 +
49 +ruby_add_rdepend ">=dev-ruby/shoulda-context-1.0.1
50 + >=dev-ruby/shoulda-matchers-1.4.1:0"
51 +
52 +all_ruby_prepare() {
53 + sed -e '/git ls-files/d' -i ${RUBY_FAKEGEM_GEMSPEC} || die
54 +}