summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-07-10 12:34:32 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-07-10 12:34:32 +0000
commit8bedf70fdf5ed69f9d4cff81cb5095c2a34555d0 (patch)
tree881443c7d6ff7e93cd16638997c300cdb824e52b /dev-ruby
parentVersion bump, cleanup (diff)
downloadgentoo-2-8bedf70fdf5ed69f9d4cff81cb5095c2a34555d0.tar.gz
gentoo-2-8bedf70fdf5ed69f9d4cff81cb5095c2a34555d0.tar.bz2
gentoo-2-8bedf70fdf5ed69f9d4cff81cb5095c2a34555d0.zip
Version bump
(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/yard/ChangeLog7
-rw-r--r--dev-ruby/yard/yard-0.8.6.2.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-ruby/yard/ChangeLog b/dev-ruby/yard/ChangeLog
index e85ae2546600..f0ea4e74257a 100644
--- a/dev-ruby/yard/ChangeLog
+++ b/dev-ruby/yard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/yard
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.50 2013/04/24 05:37:57 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.51 2013/07/10 12:34:32 mrueg Exp $
+
+*yard-0.8.6.2 (10 Jul 2013)
+
+ 10 Jul 2013; Manuel Rüger <mrueg@gentoo.org> +yard-0.8.6.2.ebuild:
+ Version bump
*yard-0.8.6.1 (24 Apr 2013)
diff --git a/dev-ruby/yard/yard-0.8.6.2.ebuild b/dev-ruby/yard/yard-0.8.6.2.ebuild
new file mode 100644
index 000000000000..e1d26e4325ac
--- /dev/null
+++ b/dev-ruby/yard/yard-0.8.6.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.8.6.2.ebuild,v 1.1 2013/07/10 12:34:32 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 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/${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/bluecloth dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )"
+
+ruby_add_bdepend "test? ( dev-ruby/ruby-gettext )"
+
+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
+}