forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.28
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |