summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-08-22 07:41:16 +0200
committerHans de Graaff <graaff@gentoo.org>2016-08-22 07:41:16 +0200
commit0c276036af4872a8e9f185f365c2dc6f283a7a47 (patch)
treeae878784e7bffc6dacd75f22906ed071af5d0967 /www-apps
parentdev-ruby/stomp: add 1.4.3 (diff)
downloadgentoo-0c276036af4872a8e9f185f365c2dc6f283a7a47.tar.gz
gentoo-0c276036af4872a8e9f185f365c2dc6f283a7a47.tar.bz2
gentoo-0c276036af4872a8e9f185f365c2dc6f283a7a47.zip
www-apps/nanoc: add 4.3.0
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.0.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index e2a59800d21c..f4169e044ae8 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-3.8.0.gem 189440 SHA256 382397d761ea1a97537eaee995e37ba416f7f7f093090
DIST nanoc-4.1.6.gem 173056 SHA256 95887475fac5a9bc1e59a74f6a5df9b2655b19a6389953121210276ca373db30 SHA512 bf6059558f8465a0aab7fa67b1fefb06618bd2ee54f61fb5e8b77d6738bb4f2bc97604cfa76164aa2c759be8aa4912ec3538cf349a77f903321acd786029b2d8 WHIRLPOOL 396b32ba5170aeaed2f2b11917e480b27a9e63046da344e3232ca4b2691c56d9037877ea2370f9225f77eb65af03a8b3b4f4b9962611d41e65db0d08184eb5b4
DIST nanoc-4.2.0.gem 171520 SHA256 b047dec47e53989a8a784954de2a891fbcf43939dab606874809c4eca379131c SHA512 b11b4175ace0701af6fbeaa3a1b363e1e8a378465da7b8badd12b47cab1a41b7514089f4e00d7cfda892907a593d4ebffa56ff7ff161e8aebcfeed86117b49d6 WHIRLPOOL 9771725f19801941a570055c7951a7fad52d331c6e516023bb2d1299564b334e86a7f11c9ec4dd323ca39f2f7323449aabfe1189fceaa3df4ac72d45cb9e509f
DIST nanoc-4.2.4.gem 174080 SHA256 520f7809dd728b46c6d1fca12f4ea7415a12473f1ad3de3468e635f7f7d546ad SHA512 62154a33802e6dac251945a2475eb9b4eae5fa7a1dc93173ea21fc950a97bf8b26ef86f652f502fe97e7a63f788a94c896f9a6cbab7d46b4562be568a9413978 WHIRLPOOL 723fd31d16756ae47201a2cf674695a6b8b13e3f8952f3e558bea34de31235d1faedb4561d0b8ad73dcd7ed384679a04af1b2a83fe2aa9ff208d80e1feb281cd
+DIST nanoc-4.3.0.gem 167424 SHA256 c04008bb1846036fc3c9bc997da5c89f9f393f6ee7a59cc7b113a16076d33d80 SHA512 b26895fb9908e803c1ddccb5dd7b0e086ae50c39724dfb973829577fd6c1d06bfe3a31c9efaa44234050b99790fba9450edd43fab2e9ff3f1839b3e122e08131 WHIRLPOOL be00323683c051df8412f40cf8783d1bf3f8058dd6b3becd2f220537fd914b9ee65f58596c63c59a6b4c3533d8b4f634f32115ec0a85c5ef1ab30d11e3ebeae4
diff --git a/www-apps/nanoc/nanoc-4.3.0.ebuild b/www-apps/nanoc/nanoc-4.3.0.ebuild
new file mode 100644
index 000000000000..c5a5e08bc4ab
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.3.0.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
+}