public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/
Date: Fri, 19 Feb 2016 08:11:18 +0000 (UTC)	[thread overview]
Message-ID: <1455869471.639223b33f6b1dca71db8b32b5f2864d75c24d13.graaff@gentoo> (raw)

commit:     639223b33f6b1dca71db8b32b5f2864d75c24d13
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 08:09:59 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 08:11:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639223b3

www-apps/nanoc: add adsf dependency

Add a dependency on www-servers/adsf to allow the
"nanoc view" command to work as intended.

Thanks for Nick Bowler in bug 572938 for the suggestion.

Package-Manager: portage-2.2.26

 www-apps/nanoc/nanoc-4.1.4-r1.ebuild | 67 ++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/www-apps/nanoc/nanoc-4.1.4-r1.ebuild b/www-apps/nanoc/nanoc-4.1.4-r1.ebuild
new file mode 100644
index 0000000..d1af396
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.1.4-r1.ebuild
@@ -0,0 +1,67 @@
+# 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:*
+	www-servers/adsf
+)
+	>=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)
+
+	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 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
+}


             reply	other threads:[~2016-02-19  8:11 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19  8:11 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09  7:40 [gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/ Hans de Graaff
2024-11-09  7:40 Hans de Graaff
2024-06-22  6:18 Hans de Graaff
2024-06-22  6:18 Hans de Graaff
2024-04-28  8:35 Hans de Graaff
2024-03-18 17:04 Hans de Graaff
2024-03-18 12:16 Hans de Graaff
2024-03-17  8:17 Hans de Graaff
2023-12-29 10:14 Hans de Graaff
2023-10-04  5:31 Hans de Graaff
2023-08-11 19:14 Hans de Graaff
2023-07-18  7:23 Hans de Graaff
2023-06-25  5:51 Hans de Graaff
2023-06-15  6:24 Hans de Graaff
2023-03-29  6:35 Hans de Graaff
2023-03-29  6:35 Hans de Graaff
2022-12-18  7:21 Hans de Graaff
2022-10-09  7:22 Hans de Graaff
2022-10-09  7:22 Hans de Graaff
2022-08-23  5:34 Sam James
2022-07-10  6:33 Hans de Graaff
2022-06-18  8:40 Hans de Graaff
2022-05-29  5:50 Hans de Graaff
2022-04-10  5:06 Hans de Graaff
2021-11-14  8:10 Hans de Graaff
2021-07-11  7:10 Hans de Graaff
2021-07-06  8:37 Hans de Graaff
2019-10-20 12:44 Hans de Graaff
2019-09-29  9:07 Hans de Graaff
2019-09-29  9:07 Hans de Graaff
2019-09-11  7:43 Hans de Graaff
2019-09-07  6:10 Hans de Graaff
2019-08-18  5:44 Hans de Graaff
2019-08-18  5:44 Hans de Graaff
2019-08-10  3:28 Hans de Graaff
2019-07-30  6:08 Hans de Graaff
2019-07-07  6:30 Hans de Graaff
2019-06-16  8:25 Hans de Graaff
2019-04-14 18:25 Hans de Graaff
2019-04-12 13:58 Hans de Graaff
2019-02-11  5:18 Hans de Graaff
2019-02-08  8:04 Hans de Graaff
2018-12-22  6:04 Hans de Graaff
2018-12-22  6:04 Hans de Graaff
2018-12-13  6:35 Hans de Graaff
2018-11-23  8:17 Hans de Graaff
2018-10-30  6:04 Hans de Graaff
2018-10-27  7:28 Hans de Graaff
2018-09-25  5:12 Hans de Graaff
2018-09-18  5:35 Hans de Graaff
2018-08-20  6:03 Hans de Graaff
2018-06-25 18:44 Hans de Graaff
2018-06-11  4:49 Hans de Graaff
2018-05-06  5:56 Hans de Graaff
2018-05-05  7:29 Hans de Graaff
2018-04-29  6:44 Hans de Graaff
2018-04-17  4:28 Hans de Graaff
2017-11-05  5:50 Hans de Graaff
2017-10-24  4:21 Hans de Graaff
2017-10-07  5:52 Hans de Graaff
2017-10-07  5:52 Hans de Graaff
2017-09-17  6:25 Hans de Graaff
2017-08-28  5:54 Hans de Graaff
2017-08-12  5:14 Hans de Graaff
2017-08-08  4:57 Hans de Graaff
2017-03-16  5:55 Hans de Graaff
2017-03-05  7:20 Hans de Graaff
2017-02-24  7:30 Hans de Graaff
2017-02-21 10:21 Hans de Graaff
2017-02-19  7:05 Hans de Graaff
2016-10-15  5:49 Hans de Graaff
2016-09-30  5:46 Hans de Graaff
2016-09-30  5:46 Hans de Graaff
2016-09-30  5:46 Hans de Graaff
2016-08-28  5:52 Hans de Graaff
2016-08-22  5:58 Hans de Graaff
2016-08-18  5:38 Hans de Graaff
2016-06-05  6:24 Hans de Graaff
2016-05-28  8:41 Hans de Graaff
2016-05-28  8:41 Hans de Graaff
2016-04-19  5:29 Hans de Graaff
2016-03-30 15:47 Hans de Graaff
2016-02-14 18:57 Hans de Graaff
2016-02-14  8:30 Hans de Graaff
2015-11-29  7:29 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455869471.639223b33f6b1dca71db8b32b5f2864d75c24d13.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox