From adbf888c9875760a616d471adc2cc7094246fee2 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Thu, 8 Oct 2015 06:48:27 +0200 Subject: [PATCH] dev-ruby/rack-cache: add 1.3.0 Package-Manager: portage-2.2.20.1 --- dev-ruby/rack-cache/Manifest | 1 + dev-ruby/rack-cache/rack-cache-1.3.0.ebuild | 36 +++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-ruby/rack-cache/rack-cache-1.3.0.ebuild diff --git a/dev-ruby/rack-cache/Manifest b/dev-ruby/rack-cache/Manifest index b7838b49ec5a..83c0f976b0c7 100644 --- a/dev-ruby/rack-cache/Manifest +++ b/dev-ruby/rack-cache/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-ruby/rack-cache/rack-cache-1.3.0.ebuild b/dev-ruby/rack-cache/rack-cache-1.3.0.ebuild new file mode 100644 index 000000000000..1b2d83f442fa --- /dev/null +++ b/dev-ruby/rack-cache/rack-cache-1.3.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 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="$(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 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' test/spec_setup.rb || die +} + +each_ruby_test() { + ${RUBY} -S bacon -q -I.:lib:test test/*_test.rb || die +} -- 2.26.2