1 |
commit: 6bc67b995689161a865624e66a785f19c0ccbcb7 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 9 05:07:06 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 9 05:28:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bc67b99 |
7 |
|
8 |
dev-ruby/yard: add 0.9.0 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/yard/Manifest | 1 + |
13 |
dev-ruby/yard/yard-0.9.0.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest |
17 |
index ecdbb19..c9bc9af 100644 |
18 |
--- a/dev-ruby/yard/Manifest |
19 |
+++ b/dev-ruby/yard/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST yard-0.8.7.3-git.tgz 854557 SHA256 d606b5780c8cbe4b4508c34a354f04a5d17609bc0cc07f272c37328e2fca0288 SHA512 96b8a128bacd005e64c3a863ac6cc7377755397c7532b5541809c8a0f5b157cd7433644887823e2d3c4435a0bded59fc2785992fdcf5ebcbf616a4ffd912f6fa WHIRLPOOL 80753671669489b2d6082029ba2b3c24c2aa57e0cdc9a5647e041c60c76f63cb51c33534aab70fb58f26b1ed5fde30a0433dd7f2ef00588273d3c71d1fb799a0 |
22 |
DIST yard-0.8.7.6-git.tgz 859257 SHA256 ccfadf98936b90e63189f805b6ea9dd6158447b7972f2ddd1578c9898be98a22 SHA512 7f9d4100183e51a2059f01a06a77d9856961390975fd9981b81bf9ea55f047cfd9056c78b5400df277b8230f28990cb421216c4506bbeea797651f37ae2e5db1 WHIRLPOOL a6737f831820dea014a3b093e0c3af43e49cc5815010012bbf1ece2f5ccef7594e4ef95077bd3e97cb5324b79d7ab67d61502052fad498fe0940e2d6a93ec86a |
23 |
+DIST yard-0.9.0-git.tgz 870211 SHA256 409e52eda8a2fc5d69a4ffa46727ef8c39cc50e1b07a8881873fbd1c3c140a07 SHA512 409d29defb7760e9121406d63fcf5cf967cb866a918370ae9c089c9fb235827ee655de644bd7c955c7afaeedfd31455eaffb7dbfbcb518f7bfc1b2140c9df568 WHIRLPOOL e1ae9984c4200771fe727b9f67db6ee93b4ec0c2fd14ebafc057213f2a822f43d39d7a99559e7e07e4a0c42ca3876642bbb09aa759f5fa1783242fb79b14de1c |
24 |
|
25 |
diff --git a/dev-ruby/yard/yard-0.9.0.ebuild b/dev-ruby/yard/yard-0.9.0.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..092dda3 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/yard/yard-0.9.0.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
38 |
+ |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec" |
40 |
+RUBY_FAKEGEM_TASK_DOC="yard" |
41 |
+ |
42 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
43 |
+RUBY_FAKEGEM_DOCDIR="doc docs" |
44 |
+ |
45 |
+RUBY_FAKEGEM_EXTRAINSTALL="templates" |
46 |
+ |
47 |
+inherit ruby-fakegem |
48 |
+ |
49 |
+DESCRIPTION="Documentation generation tool for the Ruby programming language" |
50 |
+HOMEPAGE="http://yardoc.org/" |
51 |
+ |
52 |
+# The gem lakes the gemspec file needed to pass tests. |
53 |
+SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
54 |
+ |
55 |
+LICENSE="MIT" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~alpha ~amd64 ~arm ~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" |
58 |
+IUSE="" |
59 |
+ |
60 |
+ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/bluecloth dev-ruby/kramdown ) )" |
61 |
+ |
62 |
+USE_RUBY="ruby20 ruby21 ruby22" ruby_add_bdepend "test? ( >=dev-ruby/ruby-gettext-2.3.8 )" |
63 |
+ |
64 |
+all_ruby_prepare() { |
65 |
+ sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die |
66 |
+ |
67 |
+ # Avoid specs that make assumptions on load ordering that are not |
68 |
+ # true for us. This may be related to how we install in Gentoo. This |
69 |
+ # also drops a test requirement on dev-ruby/rack. |
70 |
+ rm -f spec/cli/server_spec.rb || die |
71 |
+} |