1 |
commit: ca0007cf74270e99a09c955bac4e6a2b90a1c30a |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 3 19:12:57 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 3 19:13:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca0007cf |
7 |
|
8 |
app-text/webgen: add 1.5.2 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
12 |
|
13 |
app-text/webgen/Manifest | 1 + |
14 |
app-text/webgen/webgen-1.5.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/app-text/webgen/Manifest b/app-text/webgen/Manifest |
18 |
index 4af81b90e3d..c059e56d11b 100644 |
19 |
--- a/app-text/webgen/Manifest |
20 |
+++ b/app-text/webgen/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST webgen-1.4.1.gem 200192 BLAKE2B b52e8bf55fa93776fcd41a35ab495c03e775bb0fb9cfa0f4882ced4556d65403724de09531f80f3b3c51809295fc1abb692b9d709bd3ac65885a22066db83736 SHA512 ee21edbaa6592496101bff5b20b4b3041ac9a313e3ce5a00118f2011797330c5e274d468d2793ca29133d4f7301eda741e25a6f135dc6e2153c04780c2f5332b |
23 |
+DIST webgen-1.5.2.gem 200704 BLAKE2B 55749d515223b46c7063596d1424de107f43af022fc54ba431e83ffa4dbe3ab5651e6c61e48f66710a1e958c2f6d09a64ea05c9186dd0c73add5351fbc419806 SHA512 83557bc7a3cafb5e885bd4c50f7083a7576a5c930458075d91ffd58b4fa3c4e406f342dd23988788afb22e9a03ffbff0dfb02d23ebfdef7d2275638c102839b4 |
24 |
|
25 |
diff --git a/app-text/webgen/webgen-1.5.2.ebuild b/app-text/webgen/webgen-1.5.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..61d236872c8 |
28 |
--- /dev/null |
29 |
+++ b/app-text/webgen/webgen-1.5.2.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+USE_RUBY="ruby24" |
36 |
+ |
37 |
+RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc" |
38 |
+RUBY_FAKEGEM_EXTRADOC="AUTHORS THANKS" |
39 |
+RUBY_FAKEGEM_EXTRAINSTALL="data" |
40 |
+ |
41 |
+inherit ruby-fakegem |
42 |
+ |
43 |
+DESCRIPTION="A template-based static website generator" |
44 |
+HOMEPAGE="https://webgen.gettalong.org" |
45 |
+ |
46 |
+LICENSE="GPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+IUSE="builder highlight markdown" |
50 |
+ |
51 |
+ruby_add_bdepend "doc? ( dev-ruby/rdoc ) |
52 |
+ test? ( |
53 |
+ <dev-ruby/rdoc-6 |
54 |
+ dev-ruby/kramdown |
55 |
+ dev-ruby/minitest:5 |
56 |
+ dev-ruby/rdiscount |
57 |
+ >=dev-ruby/sass-3.2:* )" |
58 |
+ |
59 |
+ruby_add_rdepend ">=dev-ruby/cmdparse-3.0.1:3 |
60 |
+ >=dev-ruby/systemu-2.5 |
61 |
+ >=dev-ruby/kramdown-1.3 |
62 |
+ builder? ( >=dev-ruby/builder-2.1.0:* ) |
63 |
+ highlight? ( >=dev-ruby/coderay-1.0 ) |
64 |
+ markdown? ( dev-ruby/maruku )" |
65 |
+ |
66 |
+all_ruby_prepare() { |
67 |
+ # Avoid a test fragile for sass version differences |
68 |
+ sed -i -e '/test_static_call/,/^ end/ s:^:#:' test/webgen/content_processor/test_sass.rb || die |
69 |
+ |
70 |
+ # Avoid tests for unpackaged dependencies |
71 |
+ rm -f test/webgen/content_processor/test_{css_minify,tikz}.rb || die |
72 |
+} |
73 |
+ |
74 |
+all_ruby_install() { |
75 |
+ all_fakegem_install |
76 |
+ |
77 |
+ doman man/man1/webgen.1 |
78 |
+} |