summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-01-07 11:27:26 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-01-07 11:27:26 +0000
commit7243637490feed9c5d56911d86733f479ee04973 (patch)
treeb596e9271cd762f50c6e6674cfe6b880bd1a22aa /dev-ruby
parentRemoved old versions and files (diff)
downloadgentoo-2-7243637490feed9c5d56911d86733f479ee04973.tar.gz
gentoo-2-7243637490feed9c5d56911d86733f479ee04973.tar.bz2
gentoo-2-7243637490feed9c5d56911d86733f479ee04973.zip
Add missing data directory. Thanks to Alex Turbov. Fixes bug #497372. Add missing dependency for test on nokogiri-diff. Drop missing keywords.
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/maruku/ChangeLog10
-rw-r--r--dev-ruby/maruku/maruku-0.7.0-r1.ebuild41
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-ruby/maruku/ChangeLog b/dev-ruby/maruku/ChangeLog
index cb4d1030378c..4edb60c041a3 100644
--- a/dev-ruby/maruku/ChangeLog
+++ b/dev-ruby/maruku/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/maruku
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/maruku/ChangeLog,v 1.30 2013/11/15 19:10:12 graaff Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/maruku/ChangeLog,v 1.31 2014/01/07 11:27:26 mrueg Exp $
+
+*maruku-0.7.0-r1 (07 Jan 2014)
+
+ 07 Jan 2014; Manuel Rüger <mrueg@gentoo.org> +maruku-0.7.0-r1.ebuild:
+ Add missing data directory. Thanks to Alex Turbov. Fixes bug #497372. Add
+ missing dependency for test on nokogiri-diff. Drop missing keywords.
15 Nov 2013; Hans de Graaff <graaff@gentoo.org> maruku-0.6.1.ebuild,
maruku-0.7.0.ebuild:
diff --git a/dev-ruby/maruku/maruku-0.7.0-r1.ebuild b/dev-ruby/maruku/maruku-0.7.0-r1.ebuild
new file mode 100644
index 000000000000..ee955d4e6109
--- /dev/null
+++ b/dev-ruby/maruku/maruku-0.7.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/maruku/maruku-0.7.0-r1.ebuild,v 1.1 2014/01/07 11:27:26 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="docs/div_syntax.md docs/entity_test.md
+ docs/markdown_syntax.md docs/maruku.md docs/math.md docs/other_stuff.md
+ docs/proposal.md"
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Markdown-superset interpreter written in Ruby."
+HOMEPAGE="http://maruku.rubyforge.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="highlight test"
+
+ruby_add_rdepend "highlight? ( dev-ruby/syntax )
+ test? ( dev-ruby/nokogiri-diff )"
+
+all_ruby_prepare() {
+ sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' spec/spec_helper.rb || die
+}
+
+pkg_postinst() {
+ elog
+ elog "You need to emerge app-text/texlive and dev-texlive/texlive-latexextra if"
+ elog "you want to use --pdf with Maruku. You may also want to emerge"
+ elog "dev-texlive/texlive-latexrecommended to enable LaTeX syntax highlighting."
+ elog
+}