summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-07-23 20:45:12 +0200
committerHans de Graaff <graaff@gentoo.org>2016-07-23 21:09:20 +0200
commitd71cb93838f72d9c6681552d2a94dd43bcce503a (patch)
tree0d51c64bc4ab41dd299a9dac76ddfc71f823e7fa
parentapp-editors/diakonos: fix install for ruby21+ (diff)
downloadgentoo-d71cb93838f72d9c6681552d2a94dd43bcce503a.tar.gz
gentoo-d71cb93838f72d9c6681552d2a94dd43bcce503a.tar.bz2
gentoo-d71cb93838f72d9c6681552d2a94dd43bcce503a.zip
app-text/webgen: add 1.4.0
Package-Manager: portage-2.2.28
-rw-r--r--app-text/webgen/Manifest1
-rw-r--r--app-text/webgen/webgen-1.4.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/app-text/webgen/Manifest b/app-text/webgen/Manifest
index 04ad790cea12..680f62ae0f77 100644
--- a/app-text/webgen/Manifest
+++ b/app-text/webgen/Manifest
@@ -1 +1,2 @@
DIST webgen-1.3.0.gem 198656 SHA256 0e50e515d1cd0f07b8d1bb72735b7a8fa162906d36541f9bcf10c41d2b1695a6 SHA512 921ffe9788ccf719eab7e8225b328990762ff04e928fbc699d4ab40170b437b54fe526887fd0de7209c6b7c2f50e0791ffe88eaebd73f77ef5a3df4c2235ba11 WHIRLPOOL be0bc1d3d1189847548b4aae83811d5f429badb724d21f5880c67d06d4ca21b7ca668c02f3b879344a123e5f2ed9f0cd949ab4c2c99002e0444360c09ddecb9b
+DIST webgen-1.4.0.gem 200192 SHA256 76be494c1eee2d1afdbff9f9d8f5bab694f5700c6c6573e7f7b9f850726271cb SHA512 4f18c247b96a159925769c44379e8fce1ff55d4a901f55e81ba102cb57b4a59c5f7428c491391f23fab4450dc3884463924274e34d4c40fe9487efbe25e4fac1 WHIRLPOOL 3ff7522acbd2a792d7d39f18bd07bc78351537a11efe5ef6f0ef41e7516ac68221d9c708fd34e1857d77b6d924306565a1bad194427619c5755df09e62c057e2
diff --git a/app-text/webgen/webgen-1.4.0.ebuild b/app-text/webgen/webgen-1.4.0.ebuild
new file mode 100644
index 000000000000..c6eb90267fc1
--- /dev/null
+++ b/app-text/webgen/webgen-1.4.0.ebuild
@@ -0,0 +1,44 @@
+# 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_DOCDIR="htmldoc/rdoc"
+RUBY_FAKEGEM_EXTRADOC="AUTHORS THANKS"
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A template-based static website generator"
+HOMEPAGE="http://webgen.gettalong.org"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="builder highlight markdown"
+
+ruby_add_bdepend "doc? ( dev-ruby/rdoc )
+ test? ( dev-ruby/kramdown
+ dev-ruby/minitest:5
+ dev-ruby/rdiscount
+ >=dev-ruby/sass-3.2:0 )"
+
+ruby_add_rdepend ">=dev-ruby/cmdparse-3.0.1:3
+ >=dev-ruby/systemu-2.5
+ >=dev-ruby/kramdown-1.3
+ builder? ( >=dev-ruby/builder-2.1.0:* )
+ highlight? ( >=dev-ruby/coderay-1.0 )
+ markdown? ( dev-ruby/maruku )"
+
+all_ruby_prepare() {
+ # Avoid a test fragile for sass version differences
+ sed -i -e '/test_static_call/,/^ end/ s:^:#:' test/webgen/content_processor/test_sass.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ doman man/man1/webgen.1
+}