public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rack-test/
Date: Sun, 20 Mar 2022 10:04:40 +0000 (UTC)	[thread overview]
Message-ID: <1647770674.b648068cdf2752888c3a7867d9086a0ae849e2bd.graaff@gentoo> (raw)

commit:     b648068cdf2752888c3a7867d9086a0ae849e2bd
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 08:32:30 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 10:04:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b648068c

dev-ruby/rack-test: add ruby30; EAPI 8

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rack-test/rack-test-1.1.0-r1.ebuild | 38 ++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/dev-ruby/rack-test/rack-test-1.1.0-r1.ebuild b/dev-ruby/rack-test/rack-test-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..fff17aea6b0d
--- /dev/null
+++ b/dev-ruby/rack-test/rack-test-1.1.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps"
+HOMEPAGE="https://github.com/rack-test/rack-test"
+SRC_URI="https://github.com/rack-test/rack-test/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1.0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/rack-1.0:* <dev-ruby/rack-3:*"
+ruby_add_bdepend "
+	test? ( dev-ruby/sinatra:2 )"
+
+all_ruby_prepare() {
+	rm Gemfile* || die
+	sed -e '/bundler/d' \
+		-e '/[Cc]ode[Cc]limate/d' \
+		-e '/simplecov/,/^end/ s:^:#:' \
+		-i spec/spec_helper.rb || die
+	sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# Avoid test broken with rack 2.2
+	sed -i -e '/closes response.s body/askip "rack 2.2 compatibility"' spec/rack/test_spec.rb || die
+}


             reply	other threads:[~2022-03-20 10:04 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-20 10:04 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-01  6:05 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rack-test/ Hans de Graaff
2024-12-24  6:05 Hans de Graaff
2023-12-29  7:40 Hans de Graaff
2023-08-29 14:50 Hans de Graaff
2023-08-19  5:25 Hans de Graaff
2023-07-04 19:19 Sam James
2023-07-04 19:19 Sam James
2023-03-27 10:59 Sam James
2023-03-27 10:59 Sam James
2022-10-23 10:11 Hans de Graaff
2022-10-22 21:33 Matt Turner
2022-09-10  5:59 Hans de Graaff
2022-08-14  6:24 Hans de Graaff
2022-08-14  6:24 Hans de Graaff
2022-06-24 10:04 Hans de Graaff
2021-09-07 21:28 Marek Szuba
2020-12-29 12:29 Hans de Graaff
2020-12-29 11:15 Hans de Graaff
2020-05-13  5:05 Hans de Graaff
2020-05-11 20:34 Sergei Trofimovich
2020-05-10  8:15 Hans de Graaff
2020-05-10  8:15 Hans de Graaff
2020-03-12 13:47 Hans de Graaff
2020-01-27  6:40 Hans de Graaff
2019-11-09  6:28 Hans de Graaff
2019-05-18  5:36 Hans de Graaff
2019-05-01 17:49 Hans de Graaff
2019-04-10 17:27 Hans de Graaff
2019-03-30  6:46 Hans de Graaff
2018-11-26 19:19 Mikle Kolyada
2018-10-20 12:16 Sergei Trofimovich
2018-08-03 23:09 Sergei Trofimovich
2018-07-28 13:25 Thomas Deutschmann
2018-07-23  5:17 Hans de Graaff
2018-05-08  4:10 Hans de Graaff
2018-05-08  4:10 Hans de Graaff
2018-04-27  8:33 Hans de Graaff
2018-03-03  8:44 Hans de Graaff
2018-02-28  5:27 Hans de Graaff
2017-12-08  7:05 Hans de Graaff
2017-12-08  7:05 Hans de Graaff
2017-11-20  7:02 Hans de Graaff
2017-07-11 19:19 Thomas Deutschmann
2017-07-11  5:04 Hans de Graaff
2017-06-30 11:17 Alexis Ballier
2017-06-23  3:38 Hans de Graaff
2016-07-25 17:28 Hans de Graaff
2016-07-25 17:28 Hans de Graaff
2016-07-22  7:05 Hans de Graaff
2016-06-02 21:48 Richard Farina
2016-03-15  5:53 Hans de Graaff
2015-08-16 23:14 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1647770674.b648068cdf2752888c3a7867d9086a0ae849e2bd.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox