summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-11-17 20:40:23 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-11-17 20:40:23 +0000
commita65fbe0c000a9e34b5b4558c95e3981973a184d4 (patch)
tree328e9890c58db9ab89d02c5f1ff2b109049e5324 /dev-ruby/rack-cache
parentAdd ruby20 target. (diff)
downloadgentoo-2-a65fbe0c000a9e34b5b4558c95e3981973a184d4.tar.gz
gentoo-2-a65fbe0c000a9e34b5b4558c95e3981973a184d4.tar.bz2
gentoo-2-a65fbe0c000a9e34b5b4558c95e3981973a184d4.zip
Add ruby20 target.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/rack-cache')
-rw-r--r--dev-ruby/rack-cache/ChangeLog7
-rw-r--r--dev-ruby/rack-cache/rack-cache-1.2-r1.ebuild31
2 files changed, 37 insertions, 1 deletions
diff --git a/dev-ruby/rack-cache/ChangeLog b/dev-ruby/rack-cache/ChangeLog
index 9e9b8775b731..8292ed8d9e45 100644
--- a/dev-ruby/rack-cache/ChangeLog
+++ b/dev-ruby/rack-cache/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rack-cache
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-cache/ChangeLog,v 1.13 2013/01/15 23:59:42 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-cache/ChangeLog,v 1.14 2013/11/17 20:40:23 mrueg Exp $
+
+*rack-cache-1.2-r1 (17 Nov 2013)
+
+ 17 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +rack-cache-1.2-r1.ebuild:
+ Add ruby20 target.
16 Jan 2013; Rick Farina <zerochaos@gentoo.org> rack-cache-1.2.ebuild:
adding ~arm keywords to net-analyzer/metasploit rdeps
diff --git a/dev-ruby/rack-cache/rack-cache-1.2-r1.ebuild b/dev-ruby/rack-cache/rack-cache-1.2-r1.ebuild
new file mode 100644
index 000000000000..b60f175fd9bd
--- /dev/null
+++ b/dev-ruby/rack-cache/rack-cache-1.2-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-cache/rack-cache-1.2-r1.ebuild,v 1.1 2013/11/17 20:40:23 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20"
+
+# no documentation is generable, it needs hanna, which is broken
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES README TODO"
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="A drop-in component to enable HTTP caching for Rack-based applications that produce freshness info."
+HOMEPAGE="http://tomayko.com/src/rack-cache/"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/rack"
+
+ruby_add_bdepend "test? ( dev-ruby/bacon )"
+
+each_ruby_test() {
+ ${RUBY} -S bacon -q -I.:lib:test test/*_test.rb || die
+}