diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-04-06 08:15:37 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-04-06 08:15:37 +0200 |
commit | 20f16bfc42ae72357f18c41cf8ddcb35058a7b47 (patch) | |
tree | 2a6d6252285841fe98f0b6561235f7e5de218c82 /dev-ruby | |
parent | dev-ruby/puppet_forge: enable ruby33 (diff) | |
download | gentoo-20f16bfc42ae72357f18c41cf8ddcb35058a7b47.tar.gz gentoo-20f16bfc42ae72357f18c41cf8ddcb35058a7b47.tar.bz2 gentoo-20f16bfc42ae72357f18c41cf8ddcb35058a7b47.zip |
dev-ruby/rack-cache: add 1.17.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rack-cache/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rack-cache/rack-cache-1.17.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/rack-cache/Manifest b/dev-ruby/rack-cache/Manifest index de899dce30cd..cb88a74e3d30 100644 --- a/dev-ruby/rack-cache/Manifest +++ b/dev-ruby/rack-cache/Manifest @@ -1,3 +1,4 @@ DIST rack-cache-1.14.0.tar.gz 263917 BLAKE2B 1d8a95bcb4d4d3c5a61282fa7466a728c234d9b39e1fa7db27c3804e665618bb13a5a797d2b989768f51b1d0d4b0f1cdec44f6e3bd3f4cfae4e9e530d12c701a SHA512 258d8b9f8daf282e6614b8cb10d44e747a29e4d1ff4b5acf0c57546f0714161fd4b9fc8ff5b2ca7b175b4f9158337ee1281d46c2238a158ee06a07ed79c71636 DIST rack-cache-1.15.0.tar.gz 264051 BLAKE2B 0e9de0d7bd82c553f448f6fe9273465f9b7ac68aab814543ccb13644137f9f6ad9a279a0d71fa61ce8198e1f579f2b1f9118e4b0e017b8c75d8e385d32c1826f SHA512 eaeb2e52e5bedce3f5ddeab9e32ec73ac67786a12d3abbd5469b1072c50ac54b236dfd03420152f1e86fd55950bb9f4e243bec3541309bf7e8dbd410fd777967 DIST rack-cache-1.16.0.tar.gz 264119 BLAKE2B 7affde4d1e72cd4f7cecec36aea753f7e8aeb42ac2e41bf8a3a2132b6736b137ed9f1969f630b12fca60d34e8390f97c8cdfe0e33cc847589f03d6aede48b8e3 SHA512 c2e41b8382f060d85d67ddcc5a4edd899e58a0438c94cccf2b6e00013442d1b2914744916880ea9740cd4f5c80045b873f17e00222b3f03d18719e78656ec7c5 +DIST rack-cache-1.17.0.tar.gz 264229 BLAKE2B 935e9d539dd130d62486326ef4f6b4ed2576a13262af40914a4de5251601872e29fc68134fe04f8f5eed656d17957257d8a502e02853838a30772a354ff8f921 SHA512 41b3d28c577f241c57c74623f37ef36efcc059f9b8499cdc2c08d15ab68fbd06b736140594c6860708e0fa6590027b0e64ab539d2d2ae243d1a1150e7e64959f diff --git a/dev-ruby/rack-cache/rack-cache-1.17.0.ebuild b/dev-ruby/rack-cache/rack-cache-1.17.0.ebuild new file mode 100644 index 000000000000..81b6b20841c5 --- /dev/null +++ b/dev-ruby/rack-cache/rack-cache-1.17.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +# no documentation can be generated. It needs hanna, which is broken. +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*" + +RUBY_FAKEGEM_GEMSPEC="rack-cache.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Enable HTTP caching for Rack-based applications that produce freshness info" +HOMEPAGE="https://github.com/rack/rack-cache" +SRC_URI="https://github.com/rack/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_rdepend "dev-ruby/rack:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/maxitest-3.4.0 + >=dev-ruby/minitest-5.7.0:5 + >=dev-ruby/mocha-2 )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files/find */' -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} |