summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-09-30 07:11:43 +0200
committerHans de Graaff <graaff@gentoo.org>2016-09-30 07:44:25 +0200
commit3c77e9c57bf2731cc64c94f51f1e6bdb4fa6189c (patch)
treefdf7446db4123743a44b750d02a9945997ad494a /www-apps
parentwww-apps/nanoc: cleanup (diff)
downloadgentoo-3c77e9c57bf2731cc64c94f51f1e6bdb4fa6189c.tar.gz
gentoo-3c77e9c57bf2731cc64c94f51f1e6bdb4fa6189c.tar.bz2
gentoo-3c77e9c57bf2731cc64c94f51f1e6bdb4fa6189c.zip
www-apps/nanoc: add 4.3.3
Package-Manager: portage-2.2.28
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/nanoc/Manifest1
-rw-r--r--www-apps/nanoc/nanoc-4.3.3.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index d794efeaf50d..451753d21acf 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,3 +1,4 @@
DIST nanoc-3.8.0.gem 189440 SHA256 382397d761ea1a97537eaee995e37ba416f7f7f093090cc812071a9eb28cea1e SHA512 ed39b6e799ea16fe19539181c0de2054af428b0ecdec5cfd592948aa14f3f0e7233a6039e57d68d9046824f55b7fc00d4f2621c4bd4b77d243e40c5c8750e93e WHIRLPOOL 33b92d6da24974c1d525d8da2433d62863ff97423ad8079c3937ac1c5c98fa310a05b179afa390d1fe3758a2e423951c880210508fdcbfc9c601e67fcbb841c5
DIST nanoc-4.2.4.gem 174080 SHA256 520f7809dd728b46c6d1fca12f4ea7415a12473f1ad3de3468e635f7f7d546ad SHA512 62154a33802e6dac251945a2475eb9b4eae5fa7a1dc93173ea21fc950a97bf8b26ef86f652f502fe97e7a63f788a94c896f9a6cbab7d46b4562be568a9413978 WHIRLPOOL 723fd31d16756ae47201a2cf674695a6b8b13e3f8952f3e558bea34de31235d1faedb4561d0b8ad73dcd7ed384679a04af1b2a83fe2aa9ff208d80e1feb281cd
DIST nanoc-4.3.2.gem 167424 SHA256 c0f7a8b3da7847632d78d9c1313289125ccce485990b7d86da9f1be49538e42f SHA512 6a9c6d2b1de7662d07667b0701ed407eddec6719f32bec52d2b0ba4d011e44d768dd9738706b8329815368034972b1f4439c3fcf190c33234218e2e24bfffd03 WHIRLPOOL ddde21e86f70d7fa3c44dcc6d8740e66ce2426f1c8a9f598256f4f921952df1fba75c0389f61d8947fbe0ee5e4ac5371cf67b2da3ad1bef240757d59ca8d165b
+DIST nanoc-4.3.3.gem 167936 SHA256 84143dfb77c2d0386b351421a25e82ce9da197f63604b8c7d015587bee41b4ce SHA512 183969c9f53404f652e93c757d083654633add5a42302194e5a3a907519e88ed724b56ed0ee8110f390651e40468078a883b85ecad57f6d5f77caed8d57e55dd WHIRLPOOL 0205b595b98922267d0c2854a8dbafbb4f303a7dd69e4b7b07202ad8684427a78861ddc07bdecae18497d39453ebf757252a2782f6d0003eff95739cb0ee57f2
diff --git a/www-apps/nanoc/nanoc-4.3.3.ebuild b/www-apps/nanoc/nanoc-4.3.3.ebuild
new file mode 100644
index 000000000000..c5a5e08bc4ab
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.3.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22"
+
+RUBY_FAKEGEM_EXTRADOC="ChangeLog NEWS.md README.md"
+
+RUBY_FAKEGEM_TASK_DOC="doc"
+RUBY_FAKEGEM_TASK_TEST="test:all"
+
+inherit ruby-fakegem
+
+DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby"
+HOMEPAGE="http://nanoc.ws/"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="${IUSE} minimal"
+
+DEPEND+="test? ( app-text/asciidoc app-text/highlight )"
+
+ruby_add_rdepend "!minimal? (
+ dev-ruby/mime-types:*
+ dev-ruby/rack:*
+ www-servers/adsf
+)
+ >=dev-ruby/cri-2.3:0
+ =dev-ruby/hamster-3*
+ dev-ruby/ref:2"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/mocha-0.13
+ dev-ruby/minitest
+ =dev-ruby/rdoc-4*
+ dev-ruby/systemu
+ dev-ruby/vcr
+ dev-ruby/webmock
+ dev-ruby/yard
+)
+doc? (
+ dev-ruby/kramdown
+ dev-ruby/rdiscount
+ dev-ruby/yard
+)"
+
+all_ruby_prepare() {
+ use doc || use test || (rm tasks/doc.rake || die)
+
+ if use test ; then
+ # Avoid dependency on coveralls.
+ sed -i -e '/coverall/I s:^:#:' tasks/test.rake || die
+ else
+ rm -f tasks/test.rake || die
+ fi
+
+ # Avoid unneeded development dependencies
+ rm -f tasks/rubocop.rake || die
+ sed -i -e '/simplecov/I s:^:#:' test/helper.rb || die
+
+ # Avoid non-optional tests for w3c_validators which we don't have
+ # packaged and which require network access.
+ rm test/extra/checking/checks/test_{css,html}.rb || die
+
+ # Skip tests that produce slightly different output.
+ sed -i -e '/test_rouge/,418 s:^:#:' test/filters/test_colorize_syntax.rb || die
+ sed -i -e '/test_disallow_routes_not_starting_with_slash/,/^ end/ s:^:#:' test/base/test_compiler.rb || die
+}
+
+each_ruby_test() {
+ RUBYLIB="${S}/lib" ${RUBY} -S rake test:all || die
+}