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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6ED51158013 for ; Mon, 27 Sep 2021 05:14:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93FC8E092B; Mon, 27 Sep 2021 05:14:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28D3CE092B for ; Mon, 27 Sep 2021 05:14:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1258D342DED for ; Mon, 27 Sep 2021 05:14:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A86B9B for ; Mon, 27 Sep 2021 05:14:19 +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: <1632719588.45c62a524878c1531d7c71beba9c5454abe07eab.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.13.0.ebuild X-VCS-Directories: dev-ruby/rack-cache/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 45c62a524878c1531d7c71beba9c5454abe07eab X-VCS-Branch: master Date: Mon, 27 Sep 2021 05:14:19 +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: f1999920-b05c-4c53-b78d-84160e59c343 X-Archives-Hash: 39f025238476ca94461b10ccf7d54688 commit: 45c62a524878c1531d7c71beba9c5454abe07eab Author: Hans de Graaff gentoo org> AuthorDate: Mon Sep 27 05:13:08 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Sep 27 05:13:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c62a52 dev-ruby/rack-cache: add 1.13.0 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rack-cache/Manifest | 1 + dev-ruby/rack-cache/rack-cache-1.13.0.ebuild | 46 ++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/rack-cache/Manifest b/dev-ruby/rack-cache/Manifest index 869a3e65de3..8a65f76f846 100644 --- a/dev-ruby/rack-cache/Manifest +++ b/dev-ruby/rack-cache/Manifest @@ -1,2 +1,3 @@ DIST rack-cache-1.12.0.tar.gz 262794 BLAKE2B 63668875cbfba5a6012f43fcfb504e99e357301b8c4b26bfd007b6d22fd9cd3d2f40b096505f9b9523c49ca2a7c980fa15c95187284a339604ca8acadfad374b SHA512 67101c2fec86db94d177c4cc476a17e5bda51d222ac8530fe6cdef8fb196b3b7ffe301003abbc14430c4f4068da0627ffcdd498fd79faebd190571bfbaec3ab5 DIST rack-cache-1.12.1.tar.gz 262878 BLAKE2B c287c547496f0c4659f16cf45aa4c562cfccc5d6ba9e71a10a6507346797bba7d9d1e287ef1fe3d8c6bb6e8ef148d6c24d90e92db1ae53ea2f7d1ee91e3fd148 SHA512 f850facb28f302db819b6d67fd86e0dd18ae8f5d132044582bbcd6792b287c7d4a29219a47e708b5047fb373b5857632597d9743b4ba530b1258d29924ca4cf9 +DIST rack-cache-1.13.0.tar.gz 262945 BLAKE2B ea0dafe105c8c1e10815c39b928c5a86bf77a0cf3a31f085169028cb633dddd3db761138fb85b7f5da6c3374e749e898d97622994ad3a7b4972befbd46d31e3b SHA512 049302994663703ea593e01194e1c5c3b95afc889e628906e65302dd1fe64fc280bac9d26855db2fc7af1e287201a47c7f6a52329a3151b3efc775c0585d837c diff --git a/dev-ruby/rack-cache/rack-cache-1.13.0.ebuild b/dev-ruby/rack-cache/rack-cache-1.13.0.ebuild new file mode 100644 index 00000000000..d55a9fd4627 --- /dev/null +++ b/dev-ruby/rack-cache/rack-cache-1.13.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +# 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/*" + +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/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 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +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-0.13.0 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' \ + test/test_helper.rb || die +} + +all_ruby_prepare() { + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +}