Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/shoulda/
Date: Sun, 06 Sep 2020 07:39:26
Message-Id: 1599377958.55b2e7a206d7b31ca206bbd5b140bc34365cd464.graaff@gentoo
1 commit: 55b2e7a206d7b31ca206bbd5b140bc34365cd464
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 6 06:57:04 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 6 07:39:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b2e7a2
7
8 dev-ruby/shoulda: add ruby27
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/shoulda/shoulda-3.6.0-r1.ebuild | 33 ++++++++++++++++++++++++++++++++
14 1 file changed, 33 insertions(+)
15
16 diff --git a/dev-ruby/shoulda/shoulda-3.6.0-r1.ebuild b/dev-ruby/shoulda/shoulda-3.6.0-r1.ebuild
17 new file mode 100644
18 index 00000000000..3f730dc42bb
19 --- /dev/null
20 +++ b/dev-ruby/shoulda/shoulda-3.6.0-r1.ebuild
21 @@ -0,0 +1,33 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +USE_RUBY="ruby25 ruby26 ruby27"
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 ~arm64 ~hppa ~sparc ~x86"
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:3"
51 +
52 +all_ruby_prepare() {
53 + sed -e '/executables/,/^ end/d ; /test_files/d; s/git ls-files/find . -print/' -i ${RUBY_FAKEGEM_GEMSPEC} || die
54 +}