summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-11-15 09:13:57 +0100
committerHans de Graaff <graaff@gentoo.org>2015-11-15 09:14:12 +0100
commitb0b2bbb4bf9ad0b7014e164292e6b4b4b62717a0 (patch)
tree6d1f295c7be5f08e7751928db22117bac4980a66
parentdev-python/libvirt-python: version bump to 1.2.21 (diff)
downloadgentoo-b0b2bbb4bf9ad0b7014e164292e6b4b4b62717a0.tar.gz
gentoo-b0b2bbb4bf9ad0b7014e164292e6b4b4b62717a0.tar.bz2
gentoo-b0b2bbb4bf9ad0b7014e164292e6b4b4b62717a0.zip
dev-ruby/rack-cache: add 1.5.1
Drop arm,ppc,ppc64,x86,prefix due to new dependency on dev-ruby/maxitest, bug 565818 Package-Manager: portage-2.2.20.1
-rw-r--r--dev-ruby/rack-cache/Manifest1
-rw-r--r--dev-ruby/rack-cache/rack-cache-1.5.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/rack-cache/Manifest b/dev-ruby/rack-cache/Manifest
index 83c0f976b0c7..cebca165ee52 100644
--- a/dev-ruby/rack-cache/Manifest
+++ b/dev-ruby/rack-cache/Manifest
@@ -1,2 +1,3 @@
DIST rack-cache-1.2.gem 261632 SHA256 02bfed05f8b3266db804f2fa445801636ca2c6d211a3137ec796f88af5756e1c SHA512 510e0b98af47170b9030578feadf534132ae473b093df3f1fce6022fb97883b4c56dee441dd06df50e0ea06c4f0a1d00e11bf63f165e29d1e451f28ee8c17177 WHIRLPOOL f8ec4a460bf1bc89dad9dc6b666f6dfa3e8409434a3380d357c945f29da63bec609285c118ed28ce209f207ee3aaa56dd4ba5f3992286f762c2d33f4572b61f8
DIST rack-cache-1.3.0.tar.gz 258225 SHA256 356f849e285fa2cf00c1d6823aa2202d14add67815b07b70048242f7c61c6df8 SHA512 d7028456b7059b775a75f35ae2f7a4a00bfe908ebc7e7f57b2f659f9690ac40085d3dc89acd0b1e540cf309e218a276504650a50f092557b7ef871a66aa6bfbf WHIRLPOOL 8e456b7eff61913cd75c2f1a20c55ff6f1430ca28384b6d743c976df7677b3334e6c83628c1fc9fb7d11b268b71c5c8e653ad8b0c59430a691071c37a657e916
+DIST rack-cache-1.5.1.tar.gz 258817 SHA256 77afa21e3d2c97224795b740d4a67b23e2fbb15515b774b897993343265545f5 SHA512 e7d2804d2e4f48f8333ee9689251f760290eb15c692a55dd1bfdcfcbecc677afbf6db949c8ca9bc79e7248c58ca5f6f89bc13ab912c34f33e119befcdde902f8 WHIRLPOOL e3808050537411af5f210b7201da8f3b2b4d499a20e9a161ef29c88edba80348919629b23b929d9361982c4c328dcdae25eba3c616cbbab0ef626da6bfa0d590
diff --git a/dev-ruby/rack-cache/rack-cache-1.5.1.ebuild b/dev-ruby/rack-cache/rack-cache-1.5.1.ebuild
new file mode 100644
index 000000000000..9031d4aa72ce
--- /dev/null
+++ b/dev-ruby/rack-cache/rack-cache-1.5.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+# no documentation is generable, it needs hanna, which is broken
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*"
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="A drop-in component to enable HTTP caching for Rack-based applications that produce freshness info"
+HOMEPAGE="https://github.com/rtomayko/rack-cache"
+SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1.2"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/rack:*"
+
+ruby_add_bdepend "test? ( dev-ruby/maxitest )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' \
+ -e "2i require 'timeout'" \
+ test/spec_setup.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}