summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-10-29 06:55:04 +0000
committerHans de Graaff <graaff@gentoo.org>2013-10-29 06:55:04 +0000
commita3b23a9c9d01a5eba1a5655517cebfca45f41363 (patch)
tree7411268877dd9b10c0c6003d41ab4b5f6f2feb2b /www-apps
parentBump (diff)
downloadgentoo-2-a3b23a9c9d01a5eba1a5655517cebfca45f41363.tar.gz
gentoo-2-a3b23a9c9d01a5eba1a5655517cebfca45f41363.tar.bz2
gentoo-2-a3b23a9c9d01a5eba1a5655517cebfca45f41363.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/nanoc/ChangeLog7
-rw-r--r--www-apps/nanoc/nanoc-3.6.5.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/www-apps/nanoc/ChangeLog b/www-apps/nanoc/ChangeLog
index e33608d1796c..fccf5828930b 100644
--- a/www-apps/nanoc/ChangeLog
+++ b/www-apps/nanoc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/nanoc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoc/ChangeLog,v 1.10 2013/08/11 07:13:42 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoc/ChangeLog,v 1.11 2013/10/29 06:55:04 graaff Exp $
+
+*nanoc-3.6.5 (29 Oct 2013)
+
+ 29 Oct 2013; Hans de Graaff <graaff@gentoo.org> +nanoc-3.6.5.ebuild:
+ Version bump.
11 Aug 2013; Hans de Graaff <graaff@gentoo.org> metadata.xml:
Add myself as maintainer since ruby will not be the primary maintainer
diff --git a/www-apps/nanoc/nanoc-3.6.5.ebuild b/www-apps/nanoc/nanoc-3.6.5.ebuild
new file mode 100644
index 000000000000..135ca331920b
--- /dev/null
+++ b/www-apps/nanoc/nanoc-3.6.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoc/nanoc-3.6.5.ebuild,v 1.1 2013/10/29 06:55:04 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_EXTRADOC="ChangeLog NEWS.md README.md"
+
+RUBY_FAKEGEM_TASK_DOC="doc"
+RUBY_FAKEGEM_TASK_TEST="test"
+
+inherit ruby-fakegem
+
+DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby."
+HOMEPAGE="http://nanoc.stoneship.org/"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+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/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)
+
+ rm Gemfile.lock || 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
+}