summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2012-02-28 01:29:25 +0000
committerAlex Legler <a3li@gentoo.org>2012-02-28 01:29:25 +0000
commit46d627aec6de6107b407330d09cb8f950ed0927d (patch)
tree390411a78e4598ddadb03acf1c29d89022b733e2 /www-apps/nanoc
parentInitial import, dependency of nanoc. Ebuild from graaff's overlay (diff)
downloadgentoo-2-46d627aec6de6107b407330d09cb8f950ed0927d.tar.gz
gentoo-2-46d627aec6de6107b407330d09cb8f950ed0927d.tar.bz2
gentoo-2-46d627aec6de6107b407330d09cb8f950ed0927d.zip
Initial import, ebuild based on graaff's version from his overlay
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/nanoc')
-rw-r--r--www-apps/nanoc/ChangeLog10
-rw-r--r--www-apps/nanoc/Manifest4
-rw-r--r--www-apps/nanoc/metadata.xml5
-rw-r--r--www-apps/nanoc/nanoc-3.3.1.ebuild37
4 files changed, 56 insertions, 0 deletions
diff --git a/www-apps/nanoc/ChangeLog b/www-apps/nanoc/ChangeLog
new file mode 100644
index 000000000000..ad87bb8125e6
--- /dev/null
+++ b/www-apps/nanoc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/nanoc
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoc/ChangeLog,v 1.1 2012/02/28 01:29:25 a3li Exp $
+
+*nanoc-3.3.1 (28 Feb 2012)
+
+ 28 Feb 2012; Alex Legler <a3li@gentoo.org> +nanoc-3.3.1.ebuild,
+ +metadata.xml:
+ Initial import, ebuild based on graaff's version from his overlay
+
diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
new file mode 100644
index 000000000000..51e4b302b774
--- /dev/null
+++ b/www-apps/nanoc/Manifest
@@ -0,0 +1,4 @@
+DIST nanoc-3.3.1.gem 147456 RMD160 092cceafc58324a9f2781244f1eb3089e57aae75 SHA1 7bfaa901d90afa40cb01c62c2cd235ca4d5d4cae SHA256 ec800777627de77c8f43d012781a5fa8069af83319075361f021333eda3a44d6
+EBUILD nanoc-3.3.1.ebuild 838 RMD160 b5db2051fb3e283011ad16ec1801f71e708891bb SHA1 262fa0f13540bef8d2d37349ed37cb4bf48bdc8f SHA256 195b230c6b922f5b8ad030460a8127fe3809cd44f1dbdda41a2db40a78f59f8a
+MISC ChangeLog 295 RMD160 ab53eef89e2a9d423579b4c307c99d14b37f685f SHA1 6709b26aafe7b893d0b0a3347174fbec3bfd3e14 SHA256 47d0d8889c9a52013f1c477f240bf9f33c2443d234306f93596885ccc6ebf917
+MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
diff --git a/www-apps/nanoc/metadata.xml b/www-apps/nanoc/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/www-apps/nanoc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/www-apps/nanoc/nanoc-3.3.1.ebuild b/www-apps/nanoc/nanoc-3.3.1.ebuild
new file mode 100644
index 000000000000..9bf99c5226d8
--- /dev/null
+++ b/www-apps/nanoc/nanoc-3.3.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoc/nanoc-3.3.1.ebuild,v 1.1 2012/02/28 01:29:25 a3li Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+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"
+
+ruby_add_rdepend "!minimal? (
+ >=dev-ruby/cri-2
+ dev-ruby/mime-types
+ dev-ruby/rack
+)"
+
+ruby_add_bdepend "test? (
+ dev-ruby/mocha
+ dev-ruby/minitest
+)"
+
+all_ruby_prepare() {
+ use doc || (rm tasks/doc.rake || die)
+ use test || (rm tasks/test.rake || die)
+}