summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-08-19 07:39:03 +0200
committerHans de Graaff <graaff@gentoo.org>2016-08-19 08:00:26 +0200
commit374a341f81a84af818c260737b4ca6c914a913a1 (patch)
tree122a1e336c4fbb5a632fbc3da1bd8e4b0d9b7ce0 /dev-ruby/kramdown
parentdev-ruby/httpclient: add 2.8.2.2 (diff)
downloadgentoo-374a341f81a84af818c260737b4ca6c914a913a1.tar.gz
gentoo-374a341f81a84af818c260737b4ca6c914a913a1.tar.bz2
gentoo-374a341f81a84af818c260737b4ca6c914a913a1.zip
dev-ruby/kramdown: add 1.12.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/kramdown')
-rw-r--r--dev-ruby/kramdown/Manifest1
-rw-r--r--dev-ruby/kramdown/kramdown-1.12.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/kramdown/Manifest b/dev-ruby/kramdown/Manifest
index 6919d814d9b..bf4fdb3e6d2 100644
--- a/dev-ruby/kramdown/Manifest
+++ b/dev-ruby/kramdown/Manifest
@@ -1,3 +1,4 @@
DIST kramdown-1.10.0.gem 240128 SHA256 40e505358f6a9f359cee8f2e244344954ff3c9067108aed5603339d6cfc96c80 SHA512 fa0c8f1de6ea7306c7ca47a99f0d3e4a2e720e8d7d00f85a811b0ddd7f533960d583f94dee59f1d04900069163dd583c70520bedeeada77d673ff1b3d8b3782e WHIRLPOOL 637e229dc3d2dc6b1dd33ff14014db6c8830d2869fe8abc1bb3211c70b6fb5faf8dcddeccb338aa310b166e3cbf0efbdf79cc17a2a2d6cc1f9c0aeb6c511387b
DIST kramdown-1.11.1.gem 241152 SHA256 01ff61ffc439e3d24e38c14e647bb12ab8ee67454fa7f0a47d5c4a7840e49216 SHA512 60c85401f113e34645b7cf30452607deac8f686b2bc85f5960f7ff55eab99aa75d740dd07e74da6cbd4fb848b3bc7c79bedb9bfaa901cff01d31f2a399d1f8cd WHIRLPOOL 742731f09ad0f46ecd27bc9aefe589520fe4299b168985b175f149ec0cddfaa904ed0fbae72c884f54e097cb163776528e4b402d4b519cafedc41d83aca9ec15
+DIST kramdown-1.12.0.gem 243712 SHA256 603c6236ed7293def4020635e52fcc369a1488a47788c29f8aa0d90f4d19bfda SHA512 43d9e4b5fd2cd0e496f725b14c0a55b1f0db9274340909e01fd106ede3d3d5f2ec1ac1f3690a8951f7726bcc111e281ff3d28c0f488d2b4c508dc895af4c88af WHIRLPOOL 904678698c7594f529fadb9302f620f32daf3c31075447161c411b9c606e269fc73afd401a9ad301629f61544bd863ec0c51c86e6fc8c0da796f40f72966c927
DIST kramdown-1.4.2.gem 226816 SHA256 ae9b9456c69fa06f9c3058841e09b85e07cda875eb36c3202ea46baf8e123ea8 SHA512 31e7a30bcc453968ec6db0c1f0e5f8cea222dde8b8f6a26da72e0cf1b049c9f4c4e8384685a5e241e41fda526cd0f5fba4ac7debd0fb0d3eb6539dd9afc1dd27 WHIRLPOOL aa0166861584c2e3115923db1de9203581c02f4cab42866a88947a3e52fb32eee4ab2cdcc2fd623669a4c8a2e1972a340d9100a04fbc595bb40bde46e553223f
diff --git a/dev-ruby/kramdown/kramdown-1.12.0.ebuild b/dev-ruby/kramdown/kramdown-1.12.0.ebuild
new file mode 100644
index 00000000000..fe7ef7f38b3
--- /dev/null
+++ b/dev-ruby/kramdown/kramdown-1.12.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS"
+
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition"
+HOMEPAGE="http://kramdown.gettalong.org/"
+
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="latex"
+
+LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
+RDEPEND+=" ${LATEX_DEPS}"
+DEPEND+=" test? ( ${LATEX_DEPS} app-text/htmltidy )"
+
+ruby_add_rdepend "dev-ruby/prawn:2
+ dev-ruby/prawn-table
+ >=dev-ruby/rouge-1.8:0
+ >=dev-ruby/itextomml-1.5
+ >=dev-ruby/coderay-1.0.0
+ >=dev-ruby/ritex-1.0
+ >=dev-ruby/stringex-1.5.1"
+
+ruby_add_bdepend "doc? ( dev-ruby/rdoc )
+ test? ( >=dev-ruby/minitest-5.0 )"
+
+all_ruby_prepare() {
+ if ! use latex; then
+ # Remove latex tests. They will fail gracefully when latex isn't
+ # present at all, but not when components are missing (most
+ # notable ucs.sty).
+ sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die
+ fi
+
+ # Avoid tests requiring node to be installed with mathjaxnode.
+ rm -f test/testcases/span/math/mathjaxnode* \
+ test/testcases/block/15_math/mathjaxnode* || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ doman man/man1/kramdown.1
+}