summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-11-30 07:04:58 +0100
committerHans de Graaff <graaff@gentoo.org>2017-11-30 07:04:58 +0100
commit0aa6fdc6c94da7d89417cfd1e9154459f0f18dbb (patch)
treee1019b5f5545b526c0764149df63fb84c92bd8fc /dev-ruby
parentdev-ruby/rinku: add 2.0.4 (diff)
downloadgentoo-0aa6fdc6c94da7d89417cfd1e9154459f0f18dbb.tar.gz
gentoo-0aa6fdc6c94da7d89417cfd1e9154459f0f18dbb.tar.bz2
gentoo-0aa6fdc6c94da7d89417cfd1e9154459f0f18dbb.zip
dev-ruby/yard: add 0.9.12
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/yard/Manifest1
-rw-r--r--dev-ruby/yard/yard-0.9.12.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest
index 7fca3d20a6c9..5234cadb7426 100644
--- a/dev-ruby/yard/Manifest
+++ b/dev-ruby/yard/Manifest
@@ -1,4 +1,5 @@
DIST yard-0.9.11-git.tgz 916355 BLAKE2B e9f27fe129cf93c51dbf83f4a7d5745d385252ba63c90f85223f2e9436c22a55aaba296f263072069d39e4beaca3e0830775a8be121c64cdc2a15afd3539a73f SHA512 375a4878e61888cf73aaa06e9300195ae48b9898d8cd639fa796a067e5fa0b89d6ef62d327a388ee83953e80177515f4d8c070042188e3a1e597f48b82b3a72e
+DIST yard-0.9.12-git.tgz 916462 BLAKE2B 905f0e4408f7829ca599b578344d695e4c7b68d46b982f39277dcd69ee726a9ac283910e1031d635917b149f182fb302cae537ff8a8a81960fa27965fda82a0c SHA512 f987da7e46bb3dafb9ba8c761b51345ee67102e21d05181c3090f31ff37179505134c93e83efdd39bb35cf6fe6dfa530d0017ce4680a08f858e78cbb073b239f
DIST yard-0.9.4-git.tgz 884608 BLAKE2B 9d17d7cdfa0432d769026f6bc12354be236b5d07d65bc510bfd6bdd5add12d87f77808832f9f011d327f13b495d499e395c232a3d77c7e779dd0ed40a676d911 SHA512 2255c56498dc147ee5ede5e4898ce7aad78e9350f317e5d5c942f6b12262e9e1d0893ffd985a6bf3822d6af902e8ff555c489e1d847049ba51a472ad3c4aa140
DIST yard-0.9.8-git.tgz 897925 BLAKE2B 55179a3adcdcbb59f3e6eacf5a946aa28a0d13de0b9e0c5e0844deacbcbe91142927a4ab1ed0e385696cd5e2e484bd8c20fe1656515114d4d55e14c2f1d9e257 SHA512 f2e340bb90e5da456f622aadbc12278a6db486ed8b5a2f9a7b4408d6201cb6388a1f4fe0f3ca7584fdab9d73533e49015f465fb39b5049fe2c27c18e1d6cd41e
DIST yard-0.9.9-git.tgz 898576 BLAKE2B 04abc3d72f87666ce7c636202621a4ae88ed8809e79fe748fca98a0f980b9dad4a719e0ac709494a63406aef8d1621f535f59c3400f7bce0c96d29f3d58892d3 SHA512 1ca970c9a1207fd12855659b98f3fc233bad76cc6afb8a7524d98c67b9190d0469173ab911cf813b6e7817e6c95da518fe4e285b72a48e09fd8ab12db84dfc98
diff --git a/dev-ruby/yard/yard-0.9.12.ebuild b/dev-ruby/yard/yard-0.9.12.ebuild
new file mode 100644
index 000000000000..37824a405d76
--- /dev/null
+++ b/dev-ruby/yard/yard-0.9.12.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="ruby22 ruby23 ruby24"
+
+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 ~arm64 ~hppa ~ia64 ~ppc ~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 ) )"
+
+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
+}