diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-02-14 09:28:17 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-02-14 09:28:17 +0100 |
commit | 35253650aa219f088ff5fdd87d9607ca63818a33 (patch) | |
tree | 3553702e045af4dec71acde00d9ad899f867323f /www-apps | |
parent | dev-ruby/dalli: add 2.7.6 (diff) | |
download | gentoo-35253650aa219f088ff5fdd87d9607ca63818a33.tar.gz gentoo-35253650aa219f088ff5fdd87d9607ca63818a33.tar.bz2 gentoo-35253650aa219f088ff5fdd87d9607ca63818a33.zip |
www-apps/nanoc: add 4.1.4
Package-Manager: portage-2.2.26
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/nanoc/Manifest | 1 | ||||
-rw-r--r-- | www-apps/nanoc/nanoc-4.1.4.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest index 9a72b82d4eda..d6c1dd852f58 100644 --- a/www-apps/nanoc/Manifest +++ b/www-apps/nanoc/Manifest @@ -1,2 +1,3 @@ DIST nanoc-3.7.5.gem 185856 SHA256 504309339c3e7711e6d75741b8bfa1ac1c6bcbd4a6accfc7beafbd5a45812602 SHA512 3cf6562e06d20afbc378e1d83a0545b8b6309c3c273a05538b62dd75ddbb80f4cbfc90b9225981562e561ab59a9e4e7810515da60ed12c797af4086b2531a1c7 WHIRLPOOL c1327033847a9a773e8d19795c36971ecf84d37386a7a33556b82a1563da321096b7a6596f982fa3159b6443a2c94c1ecf3ae14dd3b7f12000bb46d807ba0df4 DIST nanoc-3.8.0.gem 189440 SHA256 382397d761ea1a97537eaee995e37ba416f7f7f093090cc812071a9eb28cea1e SHA512 ed39b6e799ea16fe19539181c0de2054af428b0ecdec5cfd592948aa14f3f0e7233a6039e57d68d9046824f55b7fc00d4f2621c4bd4b77d243e40c5c8750e93e WHIRLPOOL 33b92d6da24974c1d525d8da2433d62863ff97423ad8079c3937ac1c5c98fa310a05b179afa390d1fe3758a2e423951c880210508fdcbfc9c601e67fcbb841c5 +DIST nanoc-4.1.4.gem 173568 SHA256 a034321ec5c3fa2fe12348c068913eec1ec05d9665111c2a7501e54c90b6fd85 SHA512 90cc7e0288f80bbc92c8596e63c77a8707c0552a3fcef5984ff4fdc7197e19c68220939193b1bab1b6ace79b589e578ee52386a6cce9b654c718d718b0256244 WHIRLPOOL 45129890b998434ab7ebf446f6d5fba5b82a0fab4de66fa80b4f86cd27f3f6d43d04f1c4d9b93634d86678f2e89cdf0378ffc0b8797faca23260e50d0574aba8 diff --git a/www-apps/nanoc/nanoc-4.1.4.ebuild b/www-apps/nanoc/nanoc-4.1.4.ebuild new file mode 100644 index 000000000000..96459626f4ff --- /dev/null +++ b/www-apps/nanoc/nanoc-4.1.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby21" + +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:* +) + >=dev-ruby/cri-2.3:0" + +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) + use test || (rm tasks/test.rake || die) + + # Avoid dependency on coveralls. + sed -i -e '/coverall/I s:^:#:' tasks/test.rake || 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 a test that produces slightly different javascript. + sed -i -e '/test_filter_with_options/,/^ end/ s:^:#:' test/filters/test_uglify_js.rb || die +} + +each_ruby_test() { + RUBYLIB="${S}/lib" ${RUBY} -S rake test:all || die +} |