summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-11-29 08:18:43 +0100
committerHans de Graaff <graaff@gentoo.org>2016-11-29 08:18:43 +0100
commit4e881885a8d2abda88643cc3381e2461dbee5e96 (patch)
tree76e933e7f5cb511c138bcbcaa947de7c8ddda3af /dev-ruby
parentnet-misc/linuxptp: Version bump (diff)
downloadgentoo-4e881885a8d2abda88643cc3381e2461dbee5e96.tar.gz
gentoo-4e881885a8d2abda88643cc3381e2461dbee5e96.tar.bz2
gentoo-4e881885a8d2abda88643cc3381e2461dbee5e96.zip
dev-ruby/kramdown: add 1.13.1
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/kramdown/Manifest1
-rw-r--r--dev-ruby/kramdown/kramdown-1.13.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/kramdown/Manifest b/dev-ruby/kramdown/Manifest
index bf4fdb3e6d24..292f5754cc9f 100644
--- a/dev-ruby/kramdown/Manifest
+++ b/dev-ruby/kramdown/Manifest
@@ -1,4 +1,5 @@
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.13.1.gem 249856 SHA256 c497305953144a1c6001ebb2defb5368395aa804ab564f7e041f5293d2d9971c SHA512 2b791cfa223a8d55b6c6d39895f004af720fc5a95dcdf50d4ff0b72291aa590a5ae13a1084b395d953e643f0e6df9d94b5f42ac394b559bffcd0739cd60e99ad WHIRLPOOL f82e1896d3a95e07edc8c0fd54210e964ff29296a9d430785c33be541afbaa853129b58ea15afc324987eac57a628a79aea30219bfc15c99fa3c6b4ea63ba898
DIST kramdown-1.4.2.gem 226816 SHA256 ae9b9456c69fa06f9c3058841e09b85e07cda875eb36c3202ea46baf8e123ea8 SHA512 31e7a30bcc453968ec6db0c1f0e5f8cea222dde8b8f6a26da72e0cf1b049c9f4c4e8384685a5e241e41fda526cd0f5fba4ac7debd0fb0d3eb6539dd9afc1dd27 WHIRLPOOL aa0166861584c2e3115923db1de9203581c02f4cab42866a88947a3e52fb32eee4ab2cdcc2fd623669a4c8a2e1972a340d9100a04fbc595bb40bde46e553223f
diff --git a/dev-ruby/kramdown/kramdown-1.13.1.ebuild b/dev-ruby/kramdown/kramdown-1.13.1.ebuild
new file mode 100644
index 000000000000..3362e2503c9f
--- /dev/null
+++ b/dev-ruby/kramdown/kramdown-1.13.1.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-0.2.2 =dev-ruby/prawn-table-0.2*
+ >=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
+}