diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-06-03 21:12:57 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-06-03 21:13:20 +0200 |
commit | ca0007cf74270e99a09c955bac4e6a2b90a1c30a (patch) | |
tree | 99aeff939035c2668475798579ebfde1d42d06ed /app-text/webgen | |
parent | dev-ruby/cmdparse: add ruby26 (diff) | |
download | gentoo-ca0007cf74270e99a09c955bac4e6a2b90a1c30a.tar.gz gentoo-ca0007cf74270e99a09c955bac4e6a2b90a1c30a.tar.bz2 gentoo-ca0007cf74270e99a09c955bac4e6a2b90a1c30a.zip |
app-text/webgen: add 1.5.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'app-text/webgen')
-rw-r--r-- | app-text/webgen/Manifest | 1 | ||||
-rw-r--r-- | app-text/webgen/webgen-1.5.2.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-text/webgen/Manifest b/app-text/webgen/Manifest index 4af81b90e3da..c059e56d11ba 100644 --- a/app-text/webgen/Manifest +++ b/app-text/webgen/Manifest @@ -1 +1,2 @@ DIST webgen-1.4.1.gem 200192 BLAKE2B b52e8bf55fa93776fcd41a35ab495c03e775bb0fb9cfa0f4882ced4556d65403724de09531f80f3b3c51809295fc1abb692b9d709bd3ac65885a22066db83736 SHA512 ee21edbaa6592496101bff5b20b4b3041ac9a313e3ce5a00118f2011797330c5e274d468d2793ca29133d4f7301eda741e25a6f135dc6e2153c04780c2f5332b +DIST webgen-1.5.2.gem 200704 BLAKE2B 55749d515223b46c7063596d1424de107f43af022fc54ba431e83ffa4dbe3ab5651e6c61e48f66710a1e958c2f6d09a64ea05c9186dd0c73add5351fbc419806 SHA512 83557bc7a3cafb5e885bd4c50f7083a7576a5c930458075d91ffd58b4fa3c4e406f342dd23988788afb22e9a03ffbff0dfb02d23ebfdef7d2275638c102839b4 diff --git a/app-text/webgen/webgen-1.5.2.ebuild b/app-text/webgen/webgen-1.5.2.ebuild new file mode 100644 index 000000000000..61d236872c81 --- /dev/null +++ b/app-text/webgen/webgen-1.5.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24" + +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="https://webgen.gettalong.org" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="builder highlight markdown" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc ) + test? ( + <dev-ruby/rdoc-6 + dev-ruby/kramdown + dev-ruby/minitest:5 + dev-ruby/rdiscount + >=dev-ruby/sass-3.2:* )" + +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 + + # Avoid tests for unpackaged dependencies + rm -f test/webgen/content_processor/test_{css_minify,tikz}.rb || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/man1/webgen.1 +} |