diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-01-11 07:39:45 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-01-11 07:39:45 +0100 |
commit | 6a2a0aa424830d0212f30a7fe51bbf62e6dcf133 (patch) | |
tree | 0ee647a9154a2de17c382f546c7f13733f48ccab | |
parent | dev-ruby/ffaker: add 2.4.0 (diff) | |
download | gentoo-6a2a0aa424830d0212f30a7fe51bbf62e6dcf133.tar.gz gentoo-6a2a0aa424830d0212f30a7fe51bbf62e6dcf133.tar.bz2 gentoo-6a2a0aa424830d0212f30a7fe51bbf62e6dcf133.zip |
dev-ruby/kramdown: add 1.13.2
Package-Manager: portage-2.3.0
-rw-r--r-- | dev-ruby/kramdown/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/kramdown/kramdown-1.13.2.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/kramdown/Manifest b/dev-ruby/kramdown/Manifest index 8342ed83d8ea..614f35134423 100644 --- a/dev-ruby/kramdown/Manifest +++ b/dev-ruby/kramdown/Manifest @@ -1,3 +1,4 @@ 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.13.2.gem 249856 SHA256 2d11a7f9a9ec8dcf84e54af0a98b141a50a102b78e99b64e799f100c08c351c7 SHA512 dd2194184a7761bc490535a9d5631b78441b83f040e37dafc25b956dd680fe398d19ae75aff06dc2ec6a7573ac198169e175ef78a95743f0f7b4874bf28cebf8 WHIRLPOOL 7afe8437f9e24b4a5071a9031e67a871b2c6e0c4e66f5b3235eb345779bac382c6dab68de09f4e38749e517549e32b9b1cb188dbd88e46c09f082395a2b62585 DIST kramdown-1.4.2.gem 226816 SHA256 ae9b9456c69fa06f9c3058841e09b85e07cda875eb36c3202ea46baf8e123ea8 SHA512 31e7a30bcc453968ec6db0c1f0e5f8cea222dde8b8f6a26da72e0cf1b049c9f4c4e8384685a5e241e41fda526cd0f5fba4ac7debd0fb0d3eb6539dd9afc1dd27 WHIRLPOOL aa0166861584c2e3115923db1de9203581c02f4cab42866a88947a3e52fb32eee4ab2cdcc2fd623669a4c8a2e1972a340d9100a04fbc595bb40bde46e553223f diff --git a/dev-ruby/kramdown/kramdown-1.13.2.ebuild b/dev-ruby/kramdown/kramdown-1.13.2.ebuild new file mode 100644 index 000000000000..fee19b4e0a70 --- /dev/null +++ b/dev-ruby/kramdown/kramdown-1.13.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 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 +} |