summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-01-29 08:30:21 +0100
committerHans de Graaff <graaff@gentoo.org>2017-01-29 08:30:21 +0100
commit5bbdc52388ad95a2e0afd84187603ac9485c7fc6 (patch)
treeaaf805f41722f65b57e0459e1934572a3faf208e /dev-ruby
parentdev-ruby/warden: add 1.2.7 (diff)
downloadgentoo-5bbdc52388ad95a2e0afd84187603ac9485c7fc6.tar.gz
gentoo-5bbdc52388ad95a2e0afd84187603ac9485c7fc6.tar.bz2
gentoo-5bbdc52388ad95a2e0afd84187603ac9485c7fc6.zip
dev-ruby/yard: add 0.9.8
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/yard/Manifest1
-rw-r--r--dev-ruby/yard/yard-0.9.8.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest
index 4debfc444d30..fac2f6f6d5ec 100644
--- a/dev-ruby/yard/Manifest
+++ b/dev-ruby/yard/Manifest
@@ -3,3 +3,4 @@ DIST yard-0.8.7.6-git.tgz 859257 SHA256 ccfadf98936b90e63189f805b6ea9dd6158447b7
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
DIST yard-0.9.6-git.tgz 897630 SHA256 afad40aacbd97d5b51c119f6e0b67f3d55d12ce5e853e8bfcfeef407df225f67 SHA512 55e7899becfee9cef711c3ab7cd2f12efec306a13e512101a38a1872ca9db62c0614f88ee00bb8e6ef5e288f450676c4d9735c94f4dcdf8a3cdef5eefad41c65 WHIRLPOOL 24de3ae26e98a9d6ad8d80a9a0a64851056d0e6dbb48c95f21d7db810c396bc58a94b2fb6e8a79c678e3bc34e04d99018453d8ccd77d7be8fbc5aace2a9029af
+DIST yard-0.9.8-git.tgz 897925 SHA256 1132066314236a39dc7bf724d96aaefab4c618a9620a90a538369f1b336696c9 SHA512 f2e340bb90e5da456f622aadbc12278a6db486ed8b5a2f9a7b4408d6201cb6388a1f4fe0f3ca7584fdab9d73533e49015f465fb39b5049fe2c27c18e1d6cd41e WHIRLPOOL 617507d0192dd9664c7faaf8ef736847571165d1278792aa0030bb932535cf33a93784c2ba2e4d73497382052b27735001fc853dcfd8a12e3f069123c8ea9b68
diff --git a/dev-ruby/yard/yard-0.9.8.ebuild b/dev-ruby/yard/yard-0.9.8.ebuild
new file mode 100644
index 000000000000..31cc6a226fc3
--- /dev/null
+++ b/dev-ruby/yard/yard-0.9.8.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+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 ~ppc64 ~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="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
+}