summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/yard')
-rw-r--r--dev-ruby/yard/Manifest1
-rw-r--r--dev-ruby/yard/yard-0.9.4.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest
index c9bc9af816f5..a5d21bf41937 100644
--- a/dev-ruby/yard/Manifest
+++ b/dev-ruby/yard/Manifest
@@ -1,3 +1,4 @@
DIST yard-0.8.7.3-git.tgz 854557 SHA256 d606b5780c8cbe4b4508c34a354f04a5d17609bc0cc07f272c37328e2fca0288 SHA512 96b8a128bacd005e64c3a863ac6cc7377755397c7532b5541809c8a0f5b157cd7433644887823e2d3c4435a0bded59fc2785992fdcf5ebcbf616a4ffd912f6fa WHIRLPOOL 80753671669489b2d6082029ba2b3c24c2aa57e0cdc9a5647e041c60c76f63cb51c33534aab70fb58f26b1ed5fde30a0433dd7f2ef00588273d3c71d1fb799a0
DIST yard-0.8.7.6-git.tgz 859257 SHA256 ccfadf98936b90e63189f805b6ea9dd6158447b7972f2ddd1578c9898be98a22 SHA512 7f9d4100183e51a2059f01a06a77d9856961390975fd9981b81bf9ea55f047cfd9056c78b5400df277b8230f28990cb421216c4506bbeea797651f37ae2e5db1 WHIRLPOOL a6737f831820dea014a3b093e0c3af43e49cc5815010012bbf1ece2f5ccef7594e4ef95077bd3e97cb5324b79d7ab67d61502052fad498fe0940e2d6a93ec86a
DIST yard-0.9.0-git.tgz 870211 SHA256 409e52eda8a2fc5d69a4ffa46727ef8c39cc50e1b07a8881873fbd1c3c140a07 SHA512 409d29defb7760e9121406d63fcf5cf967cb866a918370ae9c089c9fb235827ee655de644bd7c955c7afaeedfd31455eaffb7dbfbcb518f7bfc1b2140c9df568 WHIRLPOOL e1ae9984c4200771fe727b9f67db6ee93b4ec0c2fd14ebafc057213f2a822f43d39d7a99559e7e07e4a0c42ca3876642bbb09aa759f5fa1783242fb79b14de1c
+DIST yard-0.9.4-git.tgz 884608 SHA256 4d5440848130aa1dae4d24987015030f3fd0a89e18a755cc8a49bef4c05f3fab SHA512 2255c56498dc147ee5ede5e4898ce7aad78e9350f317e5d5c942f6b12262e9e1d0893ffd985a6bf3822d6af902e8ff555c489e1d847049ba51a472ad3c4aa140 WHIRLPOOL 1a06ccebd661e180ed2420cc136790621da6a0c3113b427120323a99aae0bb61bc9606ad8f7a88e3ebd721c7fcc0381870c1f43b8200fdc57e1f57cde9fa7e81
diff --git a/dev-ruby/yard/yard-0.9.4.ebuild b/dev-ruby/yard/yard-0.9.4.ebuild
new file mode 100644
index 000000000000..092dda383d57
--- /dev/null
+++ b/dev-ruby/yard/yard-0.9.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_TASK_DOC="yard"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_DOCDIR="doc docs"
+
+RUBY_FAKEGEM_EXTRAINSTALL="templates"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Documentation generation tool for the Ruby programming language"
+HOMEPAGE="http://yardoc.org/"
+
+# The gem lakes the gemspec file needed to pass tests.
+SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+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"
+IUSE=""
+
+ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/bluecloth dev-ruby/kramdown ) )"
+
+USE_RUBY="ruby20 ruby21 ruby22" ruby_add_bdepend "test? ( >=dev-ruby/ruby-gettext-2.3.8 )"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die
+
+ # Avoid specs that make assumptions on load ordering that are not
+ # true for us. This may be related to how we install in Gentoo. This
+ # also drops a test requirement on dev-ruby/rack.
+ rm -f spec/cli/server_spec.rb || die
+}