1 |
commit: e30c3d3f091ebd55319beea33363c490089d6ca1 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 06:47:23 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 06:47:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e30c3d3f |
7 |
|
8 |
dev-ruby/kramdown: add 1.9.0 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-ruby/kramdown/Manifest | 1 + |
13 |
dev-ruby/kramdown/kramdown-1.9.0.ebuild | 55 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/kramdown/Manifest b/dev-ruby/kramdown/Manifest |
17 |
index ca39b00..ba20d96 100644 |
18 |
--- a/dev-ruby/kramdown/Manifest |
19 |
+++ b/dev-ruby/kramdown/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST kramdown-1.4.2.gem 226816 SHA256 ae9b9456c69fa06f9c3058841e09b85e07cda875eb36c3202ea46baf8e123ea8 SHA512 31e7a30bcc453968ec6db0c1f0e5f8cea222dde8b8f6a26da72e0cf1b049c9f4c4e8384685a5e241e41fda526cd0f5fba4ac7debd0fb0d3eb6539dd9afc1dd27 WHIRLPOOL aa0166861584c2e3115923db1de9203581c02f4cab42866a88947a3e52fb32eee4ab2cdcc2fd623669a4c8a2e1972a340d9100a04fbc595bb40bde46e553223f |
22 |
DIST kramdown-1.8.0.gem 238080 SHA256 54287608f4399006ae5549f009053d2029ad75bf462dc70203c116580ac0d867 SHA512 8dace5b6ad764654c4375a4c2fad171e88448281936ced8d4efc5956e291e7c31b0ef295845241cb3e36976dc4a1e78886d2dff9fc172845622ab74a3b062230 WHIRLPOOL a58df1a8b19b274baea9feb7658b17d524c3abf983c9f56c80c69a7c180e1c48f22b106c2685acb950504531cf10dd388eaf0fc3699eeb3d8aac82cb3521adb7 |
23 |
+DIST kramdown-1.9.0.gem 238592 SHA256 e00ef90f083f845118577dd6a040b4a4aa475bd7a2a645b2ad6944da0555598b SHA512 0ac14adec59c4032d27ac0e3c66a0737688295562782c86f80c953fdca56b5611b7f32dfb570649421fdc1b47deea72715a21c907124c99663bc1a23c1f489ec WHIRLPOOL ba34d5e746e6e3515c40dd3716d4e277ba5c15978095dc91f4a74e2c981dbf4e04717185870f7cfba5e76edc7f3bd209aa6d51f901673ec9dcc6d1ba7c635775 |
24 |
|
25 |
diff --git a/dev-ruby/kramdown/kramdown-1.9.0.ebuild b/dev-ruby/kramdown/kramdown-1.9.0.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..fbace93 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/kramdown/kramdown-1.9.0.ebuild |
30 |
@@ -0,0 +1,55 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+USE_RUBY="ruby20 ruby21" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS" |
39 |
+ |
40 |
+RUBY_FAKEGEM_EXTRAINSTALL="data" |
41 |
+ |
42 |
+inherit ruby-fakegem |
43 |
+ |
44 |
+DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition" |
45 |
+HOMEPAGE="http://kramdown.gettalong.org/" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+ |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
51 |
+IUSE="latex" |
52 |
+ |
53 |
+LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )" |
54 |
+RDEPEND+=" ${LATEX_DEPS}" |
55 |
+DEPEND+=" test? ( ${LATEX_DEPS} app-text/htmltidy )" |
56 |
+ |
57 |
+ruby_add_rdepend "dev-ruby/prawn:2 |
58 |
+ dev-ruby/prawn-table |
59 |
+ >=dev-ruby/rouge-1.8 |
60 |
+ >=dev-ruby/itextomml-1.5 |
61 |
+ >=dev-ruby/coderay-1.0.0 |
62 |
+ >=dev-ruby/ritex-1.0 |
63 |
+ >=dev-ruby/stringex-1.5.1" |
64 |
+ |
65 |
+ruby_add_bdepend "doc? ( dev-ruby/rdoc ) |
66 |
+ test? ( >=dev-ruby/minitest-5.0 )" |
67 |
+ |
68 |
+all_ruby_prepare() { |
69 |
+ if ! use latex; then |
70 |
+ # Remove latex tests. They will fail gracefully when latex isn't |
71 |
+ # present at all, but not when components are missing (most |
72 |
+ # notable ucs.sty). |
73 |
+ sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die |
74 |
+ fi |
75 |
+ |
76 |
+ # Avoid tests requiring node to be installed with mathjaxnode. |
77 |
+ rm -f test/testcases/span/math/mathjaxnode* \ |
78 |
+ test/testcases/block/15_math/mathjaxnode* || die |
79 |
+} |
80 |
+ |
81 |
+all_ruby_install() { |
82 |
+ all_fakegem_install |
83 |
+ |
84 |
+ doman man/man1/kramdown.1 |
85 |
+} |