diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-08-28 07:37:30 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-08-28 07:37:30 +0200 |
commit | 25a0043437a9da41a650c1180d1f95e39f3450e9 (patch) | |
tree | d760d68d0454c43a2c7abeed8ddade53e7ce8454 /www-apps/nanoc | |
parent | media-sound/moc: version bumps to 2.5.1 and 2.6.0_alpha2 (diff) | |
download | gentoo-25a0043437a9da41a650c1180d1f95e39f3450e9.tar.gz gentoo-25a0043437a9da41a650c1180d1f95e39f3450e9.tar.bz2 gentoo-25a0043437a9da41a650c1180d1f95e39f3450e9.zip |
www-apps/nanoc: add 4.3.2
Package-Manager: portage-2.2.28
Diffstat (limited to 'www-apps/nanoc')
-rw-r--r-- | www-apps/nanoc/Manifest | 1 | ||||
-rw-r--r-- | www-apps/nanoc/nanoc-4.3.2.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest index f4169e044ae8..94246e28965a 100644 --- a/www-apps/nanoc/Manifest +++ b/www-apps/nanoc/Manifest @@ -3,3 +3,4 @@ DIST nanoc-4.1.6.gem 173056 SHA256 95887475fac5a9bc1e59a74f6a5df9b2655b19a638995 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 +DIST nanoc-4.3.2.gem 167424 SHA256 c0f7a8b3da7847632d78d9c1313289125ccce485990b7d86da9f1be49538e42f SHA512 6a9c6d2b1de7662d07667b0701ed407eddec6719f32bec52d2b0ba4d011e44d768dd9738706b8329815368034972b1f4439c3fcf190c33234218e2e24bfffd03 WHIRLPOOL ddde21e86f70d7fa3c44dcc6d8740e66ce2426f1c8a9f598256f4f921952df1fba75c0389f61d8947fbe0ee5e4ac5371cf67b2da3ad1bef240757d59ca8d165b diff --git a/www-apps/nanoc/nanoc-4.3.2.ebuild b/www-apps/nanoc/nanoc-4.3.2.ebuild new file mode 100644 index 000000000000..c5a5e08bc4ab --- /dev/null +++ b/www-apps/nanoc/nanoc-4.3.2.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 +} |