From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 025DF158041 for ; Sat, 6 Apr 2024 06:16:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AD44E2A09; Sat, 6 Apr 2024 06:16:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE689E2A09 for ; Sat, 6 Apr 2024 06:16:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CE9AF3430A9 for ; Sat, 6 Apr 2024 06:16:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 35932103F for ; Sat, 6 Apr 2024 06:16:33 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1712384137.20f16bfc42ae72357f18c41cf8ddcb35058a7b47.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rack-cache/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rack-cache/Manifest dev-ruby/rack-cache/rack-cache-1.17.0.ebuild X-VCS-Directories: dev-ruby/rack-cache/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 20f16bfc42ae72357f18c41cf8ddcb35058a7b47 X-VCS-Branch: master Date: Sat, 6 Apr 2024 06:16:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: feaa44c8-e639-4b4c-b0c6-c340eb22b0d1 X-Archives-Hash: 65e1954f989e3e39c848143278492dca commit: 20f16bfc42ae72357f18c41cf8ddcb35058a7b47 Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 6 06:15:37 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 6 06:15:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f16bfc dev-ruby/rack-cache: add 1.17.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rack-cache/Manifest | 1 + dev-ruby/rack-cache/rack-cache-1.17.0.ebuild | 41 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) 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 +}