1 |
commit: d5f3fc15695c78f56d950efd89030b81b15f6072 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 29 03:05:56 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 29 03:06:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f3fc15 |
7 |
|
8 |
dev-ruby/yard: add 0.9.13 |
9 |
|
10 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
11 |
|
12 |
dev-ruby/yard/Manifest | 1 + |
13 |
dev-ruby/yard/yard-0.9.13.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest |
17 |
index 890106da66c..b6f8f0fdda1 100644 |
18 |
--- a/dev-ruby/yard/Manifest |
19 |
+++ b/dev-ruby/yard/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST yard-0.9.11-git.tgz 916355 BLAKE2B e9f27fe129cf93c51dbf83f4a7d5745d385252ba63c90f85223f2e9436c22a55aaba296f263072069d39e4beaca3e0830775a8be121c64cdc2a15afd3539a73f SHA512 375a4878e61888cf73aaa06e9300195ae48b9898d8cd639fa796a067e5fa0b89d6ef62d327a388ee83953e80177515f4d8c070042188e3a1e597f48b82b3a72e |
22 |
DIST yard-0.9.12-git.tgz 916462 BLAKE2B 905f0e4408f7829ca599b578344d695e4c7b68d46b982f39277dcd69ee726a9ac283910e1031d635917b149f182fb302cae537ff8a8a81960fa27965fda82a0c SHA512 f987da7e46bb3dafb9ba8c761b51345ee67102e21d05181c3090f31ff37179505134c93e83efdd39bb35cf6fe6dfa530d0017ce4680a08f858e78cbb073b239f |
23 |
+DIST yard-0.9.13-git.tgz 917734 BLAKE2B ac248a91c581247647dcf78e58fd9b6b9c014bb972fbfbb09179ec489c89a31ec1156e13c99c7e862ece216b0451ac4ccb0441c1bdd45a8078c90f886d1a5135 SHA512 8ae886e1c981f017f740e12f07f90470ac9bf420a51f99692b642c212e26231d0a19e1b64084e3a70e09cad4e3a7175278fca66bd3b2420eac4ba197e20876ee |
24 |
|
25 |
diff --git a/dev-ruby/yard/yard-0.9.13.ebuild b/dev-ruby/yard/yard-0.9.13.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..010fffba810 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/yard/yard-0.9.13.ebuild |
30 |
@@ -0,0 +1,43 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+USE_RUBY="ruby23 ruby24 ruby25" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
+RUBY_FAKEGEM_TASK_DOC="yard" |
40 |
+ |
41 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
42 |
+RUBY_FAKEGEM_DOCDIR="doc docs" |
43 |
+ |
44 |
+RUBY_FAKEGEM_EXTRAINSTALL="templates" |
45 |
+ |
46 |
+inherit ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="Documentation generation tool for the Ruby programming language" |
49 |
+HOMEPAGE="https://yardoc.org/" |
50 |
+ |
51 |
+# The gem lakes the gemspec file needed to pass tests. |
52 |
+SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
53 |
+ |
54 |
+LICENSE="MIT" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
57 |
+IUSE="" |
58 |
+ |
59 |
+ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/bluecloth dev-ruby/kramdown ) )" |
60 |
+ |
61 |
+ruby_add_bdepend "test? ( >=dev-ruby/ruby-gettext-2.3.8 )" |
62 |
+ |
63 |
+all_ruby_prepare() { |
64 |
+ sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die |
65 |
+ |
66 |
+ # Avoid specs that make assumptions on load ordering that are not |
67 |
+ # true for us. This may be related to how we install in Gentoo. This |
68 |
+ # also drops a test requirement on dev-ruby/rack. |
69 |
+ rm -f spec/cli/server_spec.rb || die |
70 |
+ |
71 |
+ # Avoid specs that only work with bundler |
72 |
+ sed -i -e '/#initialize/,/^ end/ s:^:#:' spec/cli/yri_spec.rb || die |
73 |
+} |