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/async-rspec/
Date: Mon, 19 Jun 2023 04:41:38 +0000 (UTC)	[thread overview]
Message-ID: <1687149680.5e688b18fe1f23d0f6050b79fe45c89a43288a1f.graaff@gentoo> (raw)

commit:     5e688b18fe1f23d0f6050b79fe45c89a43288a1f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 19 04:41:20 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jun 19 04:41:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e688b18

dev-ruby/async-rspec: add 1.17.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/async-rspec/Manifest                  |  1 +
 dev-ruby/async-rspec/async-rspec-1.17.0.ebuild | 38 ++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-ruby/async-rspec/Manifest b/dev-ruby/async-rspec/Manifest
index 39be7d5270a5..8521224c16c7 100644
--- a/dev-ruby/async-rspec/Manifest
+++ b/dev-ruby/async-rspec/Manifest
@@ -1 +1,2 @@
 DIST async-rspec-1.16.1.tar.gz 7775 BLAKE2B a1ff314fbe3e42b9b25e1c891bf1a336644fa5183b6f504b06e0747c127e712a66a0fbb2f18695bd7cba91ec8a4e8af887a25fe3e9887f86fb5f17873e26f51f SHA512 5c2bc5cf5ff4ca25cad67e251b5e078ac9f6f2d0f5d50f67584d4a043040c4e9e9e51d3a9e2727f08de3eba39d46be66461e691af8b86e173d8b70b589161a29
+DIST async-rspec-1.17.0.tar.gz 9536 BLAKE2B a2beeca8b6399f47faef35eaad70255cfd3ef0e691d40c20389b4683e179172694b6c8b93bd786e4032171f7000f3f77da46f6a1e73a3abacd64f3a2a6e84b24 SHA512 50cc0390aa8c636c7964de07a9dec9c8e6ed72562b93ddd0e1e9e0af0b58e9b198bfd8e709f84e9ea1b58268d00ad26c85bdacb920cf5c81597d4011751c7507

diff --git a/dev-ruby/async-rspec/async-rspec-1.17.0.ebuild b/dev-ruby/async-rspec/async-rspec-1.17.0.ebuild
new file mode 100644
index 000000000000..c077385d7f0b
--- /dev/null
+++ b/dev-ruby/async-rspec/async-rspec-1.17.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Helpers for writing specs against the async gem"
+HOMEPAGE="https://github.com/socketry/async-rspec"
+SRC_URI="https://github.com/socketry/async-rspec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/rspec:3
+	dev-ruby/rspec-files:1
+	dev-ruby/rspec-memory:1
+"
+
+ruby_add_bdepend "test? (
+	dev-ruby/async
+	dev-ruby/async-io
+)"
+
+all_ruby_prepare() {
+	sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+	# Avoid dependency on unpackaged covered
+	sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die
+}


             reply	other threads:[~2023-06-19  4:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-19  4:41 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-25  9:01 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/async-rspec/ Hans de Graaff
2023-12-30  9:28 Hans de Graaff
2023-10-24  9:30 Arthur Zamarin
2023-07-12 19:55 Hans de Graaff
2023-07-04 20:19 Sam James
2023-07-04 20:19 Sam James
2023-04-11 17:52 Jakov Smolić
2023-04-09  2:34 Sam James
2023-04-07  8:39 Sam James
2023-04-07  8:39 Sam James
2023-04-07  8:36 Sam James
2023-04-03  3:17 Sam James
2023-04-03  3:17 Sam James
2023-04-03  3:17 Sam James
2023-04-03  0:47 Sam James
2022-12-05 20:03 Arthur Zamarin
2022-12-01  4:03 Sam James
2022-12-01  4:03 Sam James
2022-12-01  2:04 Sam James
2022-10-23 10:01 Hans de Graaff
2022-10-22 21:33 Matt Turner

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=1687149680.5e688b18fe1f23d0f6050b79fe45c89a43288a1f.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