diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-04-29 07:01:28 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-04-29 07:01:28 +0200 |
commit | 86076ac074ba90837f4d276d150e1d99bf766fbc (patch) | |
tree | 4b5c070b1cdc2b8c2b3e5d75b957143e3081ee99 /dev-ruby/yard | |
parent | dev-ruby/dotenv: add 2.2.1 (diff) | |
download | gentoo-86076ac074ba90837f4d276d150e1d99bf766fbc.tar.gz gentoo-86076ac074ba90837f4d276d150e1d99bf766fbc.tar.bz2 gentoo-86076ac074ba90837f4d276d150e1d99bf766fbc.zip |
dev-ruby/yard: add 0.9.9
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/yard')
-rw-r--r-- | dev-ruby/yard/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/yard/yard-0.9.9.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest index fac2f6f6d5ec..37ead061a8a5 100644 --- a/dev-ruby/yard/Manifest +++ b/dev-ruby/yard/Manifest @@ -4,3 +4,4 @@ DIST yard-0.9.0-git.tgz 870211 SHA256 409e52eda8a2fc5d69a4ffa46727ef8c39cc50e1b0 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 +DIST yard-0.9.9-git.tgz 898576 SHA256 e75485e980cfe3ae1de00541357c7b69851e1a3730b2b96462e433cd7358cd2c SHA512 1ca970c9a1207fd12855659b98f3fc233bad76cc6afb8a7524d98c67b9190d0469173ab911cf813b6e7817e6c95da518fe4e285b72a48e09fd8ab12db84dfc98 WHIRLPOOL e20e084c29e525d10e058caca395134421cba75a5a94f22059a50c727dd351470c54f839003cc6948a6fb0152b81fc3e6a3c024a413df1036486492b227951c8 diff --git a/dev-ruby/yard/yard-0.9.9.ebuild b/dev-ruby/yard/yard-0.9.9.ebuild new file mode 100644 index 000000000000..d57902a6f5d0 --- /dev/null +++ b/dev-ruby/yard/yard-0.9.9.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 +} |