1 |
commit: c78286f4f0b9046548df08f176d03dd8897fc2d1 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 23 05:46:25 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 23 05:46:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c78286f4 |
7 |
|
8 |
dev-ruby/rake-compiler: add 1.0.9 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/rake-compiler/Manifest | 1 + |
14 |
dev-ruby/rake-compiler/rake-compiler-1.0.9.ebuild | 51 +++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest |
18 |
index d52a48bf00f..87d75ebea27 100644 |
19 |
--- a/dev-ruby/rake-compiler/Manifest |
20 |
+++ b/dev-ruby/rake-compiler/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST rake-compiler-1.0.7.tar.gz 33444 BLAKE2B c3a92206d4d7defdf21295aaf094f704596962a3ee79c3517ea1058732e1f9f378b5f14bbe3b9652572564d11c566e26014e187dcdb488409bf95ea9a52e0a7c SHA512 fa901f5cc48891f07bd8d9a27cf4e745e87d5a667dbee0c9f4b43f9564fdfe3067b9c658f10ea8bcacd32ea7320a542ef0fca9373147057472f5572a4a4c5268 |
23 |
DIST rake-compiler-1.0.8.tar.gz 33547 BLAKE2B 542544543cd6d02a9ff964571244c65a0d748e09ea88027a514f25d13086463094aec29b0961881aa175f9553afcf14fc9f7c12dba0e96a07bf88e21f51e87bf SHA512 30b753d45a1180e034b520ad6385f2799098f0916d55e8b4729f5e3a29dabc1acfa292475edfb384c7809543e1c3e428e28db1bacb5383deb9f4bb31b18d6fe5 |
24 |
+DIST rake-compiler-1.0.9.tar.gz 34780 BLAKE2B 59b736dedf70de3daffdf30b74d251dc3b3d7588610dc57d3aa7e13b55dad2d637b1569beb31075a0e5336d9827adfe3b9f89c9a8b75b141c3012a1d48274d2a SHA512 8a5ccbc4bbe6a546634f939c1cbe42b35d952173bbe914e7a22eb78f3f2e85b48e207ff36b70432fe469a2d07d62b8e59c9827352181122fde76ba89bbc2aca0 |
25 |
|
26 |
diff --git a/dev-ruby/rake-compiler/rake-compiler-1.0.9.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.0.9.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..bb6873915d0 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/rake-compiler/rake-compiler-1.0.9.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+USE_RUBY="ruby24 ruby25 ruby26" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="none" |
39 |
+ |
40 |
+RUBY_FAKEGEM_RECIPE_DOC="none" |
41 |
+RUBY_FAKEGEM_EXTRADOC="History.txt README.md" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="rake-compiler.gemspec" |
44 |
+ |
45 |
+inherit ruby-fakegem eutils |
46 |
+ |
47 |
+DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions" |
48 |
+HOMEPAGE="https://github.com/luislavena/rake-compiler" |
49 |
+LICENSE="MIT" |
50 |
+ |
51 |
+SRC_URI="https://github.com/luislavena/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
52 |
+ |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
54 |
+SLOT="0" |
55 |
+IUSE="" |
56 |
+ |
57 |
+ruby_add_rdepend "dev-ruby/rake" |
58 |
+ |
59 |
+ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" |
60 |
+ |
61 |
+USE_RUBY="ruby24 ruby25 ruby26" ruby_add_bdepend "test? ( dev-util/cucumber dev-ruby/rspec:2 )" |
62 |
+ |
63 |
+all_ruby_prepare() { |
64 |
+ # Make sure the right rspec version is used in cucumber. |
65 |
+ sed -i -e "1igem 'rspec', '~>2.0'" features/support/env.rb || die |
66 |
+ |
67 |
+ # Avoid failing features for native gems, this also fails with rubygems |
68 |
+ sed -i -e '/generate native gem/,$ s:^:#:' features/package.feature || die |
69 |
+} |
70 |
+ |
71 |
+each_ruby_test() { |
72 |
+ # Skip cucumber for new ruby versions (not ready yet) |
73 |
+ case ${RUBY} in |
74 |
+ **ruby24|*ruby25|*ruby26) |
75 |
+ RSPEC_VERSION=3 ruby-ng_rspec |
76 |
+ ruby-ng_cucumber |
77 |
+ ;; |
78 |
+ *) |
79 |
+ RSPEC_VERSION=3 ruby-ng_rspec |
80 |
+ ;; |
81 |
+ esac |
82 |
+} |