summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-05-21 06:23:23 +0000
committerHans de Graaff <graaff@gentoo.org>2014-05-21 06:23:23 +0000
commit74db3a0c090a42b0f154701f6a9405760df3cf0a (patch)
tree2ba6c47fb6dbfb7e2f013da00b0d6423af271a88 /dev-ruby
parentRemoved vulnerable versions. (diff)
downloadgentoo-2-74db3a0c090a42b0f154701f6a9405760df3cf0a.tar.gz
gentoo-2-74db3a0c090a42b0f154701f6a9405760df3cf0a.tar.bz2
gentoo-2-74db3a0c090a42b0f154701f6a9405760df3cf0a.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/yard/ChangeLog7
-rw-r--r--dev-ruby/yard/yard-0.8.7.4.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-ruby/yard/ChangeLog b/dev-ruby/yard/ChangeLog
index eb04982162c0..58e90ce1cfb2 100644
--- a/dev-ruby/yard/ChangeLog
+++ b/dev-ruby/yard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/yard
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.74 2014/04/12 23:37:53 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.75 2014/05/21 06:23:23 graaff Exp $
+
+*yard-0.8.7.4 (21 May 2014)
+
+ 21 May 2014; Hans de Graaff <graaff@gentoo.org> +yard-0.8.7.4.ebuild:
+ Version bump.
12 Apr 2014; Manuel Rüger <mrueg@gentoo.org> yard-0.8.7.2.ebuild,
yard-0.8.7.3.ebuild:
diff --git a/dev-ruby/yard/yard-0.8.7.4.ebuild b/dev-ruby/yard/yard-0.8.7.4.ebuild
new file mode 100644
index 000000000000..f0759afd05db
--- /dev/null
+++ b/dev-ruby/yard/yard-0.8.7.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.8.7.4.ebuild,v 1.1 2014/05/21 06:23:23 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 jruby"
+
+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="~amd64 ~arm ~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/bluecloth dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )
+ test? ( dev-ruby/rack )"
+
+USE_RUBY="ruby19" 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
+ sed -i -e "s/require 'bundler'; rescue LoadError//" spec/cli/server_spec.rb || die
+}