diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-05-02 00:44:06 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-05-02 00:44:06 +0200 |
commit | 384fafb1cc03c0deb08bd64339d5f5c4b864d3db (patch) | |
tree | 7290ff20891d3f683ea2ebdd73d86d96abd3305b /dev-ruby/kramdown | |
parent | dev-java/jts-core: New package, required by h2 (diff) | |
download | gentoo-384fafb1cc03c0deb08bd64339d5f5c4b864d3db.tar.gz gentoo-384fafb1cc03c0deb08bd64339d5f5c4b864d3db.tar.bz2 gentoo-384fafb1cc03c0deb08bd64339d5f5c4b864d3db.zip |
Version bump to 1.11.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/kramdown')
-rw-r--r-- | dev-ruby/kramdown/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/kramdown/kramdown-1.11.1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/kramdown/Manifest b/dev-ruby/kramdown/Manifest index c04630bd09a5..6919d814d9b6 100644 --- a/dev-ruby/kramdown/Manifest +++ b/dev-ruby/kramdown/Manifest @@ -1,2 +1,3 @@ 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.4.2.gem 226816 SHA256 ae9b9456c69fa06f9c3058841e09b85e07cda875eb36c3202ea46baf8e123ea8 SHA512 31e7a30bcc453968ec6db0c1f0e5f8cea222dde8b8f6a26da72e0cf1b049c9f4c4e8384685a5e241e41fda526cd0f5fba4ac7debd0fb0d3eb6539dd9afc1dd27 WHIRLPOOL aa0166861584c2e3115923db1de9203581c02f4cab42866a88947a3e52fb32eee4ab2cdcc2fd623669a4c8a2e1972a340d9100a04fbc595bb40bde46e553223f diff --git a/dev-ruby/kramdown/kramdown-1.11.1.ebuild b/dev-ruby/kramdown/kramdown-1.11.1.ebuild new file mode 100644 index 000000000000..fbace93b06dc --- /dev/null +++ b/dev-ruby/kramdown/kramdown-1.11.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" + +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 + >=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 +} |