From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-memory/
Date: Sat, 22 Oct 2022 21:33:57 +0000 (UTC) [thread overview]
Message-ID: <1666474391.e23fa1ae4c741011be4ab12376f69b3bfbff8572.mattst88@gentoo> (raw)
commit: e23fa1ae4c741011be4ab12376f69b3bfbff8572
Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Wed Jun 15 04:36:31 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Oct 22 21:33:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e23fa1ae
dev-ruby/rspec-memory: new package, add 1.0.3
Signed-off-by: matoro <matoro <AT> users.noreply.github.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
dev-ruby/rspec-memory/Manifest | 1 +
dev-ruby/rspec-memory/metadata.xml | 11 +++++++++++
dev-ruby/rspec-memory/rspec-memory-1.0.3.ebuild | 26 +++++++++++++++++++++++++
3 files changed, 38 insertions(+)
diff --git a/dev-ruby/rspec-memory/Manifest b/dev-ruby/rspec-memory/Manifest
new file mode 100644
index 000000000000..ade882afc076
--- /dev/null
+++ b/dev-ruby/rspec-memory/Manifest
@@ -0,0 +1 @@
+DIST rspec-memory-1.0.3.tar.gz 5248 BLAKE2B cf2cb55a6c3d155a739f1cbe3f307016d9446f9edde8554b6336602b86d95a369b152a413426082061c68d2e4015c68d31a34d7d80706ba09986fb8c8952d670 SHA512 1077bd6cb73ada029fc42f820e42792b58f8e06feeda711725d6f2a7a2af9151f72330d3e5a9d0fa7493eeb42f65ddf02a93fac00f5e24f2596f7df0da9439a3
diff --git a/dev-ruby/rspec-memory/metadata.xml b/dev-ruby/rspec-memory/metadata.xml
new file mode 100644
index 000000000000..87c955dadfb9
--- /dev/null
+++ b/dev-ruby/rspec-memory/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">socketry/rspec-memory</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/rspec-memory/rspec-memory-1.0.3.ebuild b/dev-ruby/rspec-memory/rspec-memory-1.0.3.ebuild
new file mode 100644
index 000000000000..0c30ccc070b1
--- /dev/null
+++ b/dev-ruby/rspec-memory/rspec-memory-1.0.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+inherit ruby-fakegem
+
+DESCRIPTION="RSpec helpers for checking memory allocations"
+HOMEPAGE="https://github.com/socketry/rspec-memory"
+SRC_URI="https://github.com/socketry/rspec-memory/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~sparc"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/rspec:3"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+ sed -i -E 's/require '"'"'covered\/rspec'"'"'//g' "spec/spec_helper.rb" || die
+}
next reply other threads:[~2022-10-22 21:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-22 21:33 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-23 8:26 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-memory/ Hans de Graaff
2022-12-01 2:04 Sam James
2022-12-01 4:03 Sam James
2022-12-01 4:03 Sam James
2022-12-05 20:03 Arthur Zamarin
2023-03-26 6:35 Hans de Graaff
2023-04-09 2:34 Sam James
2023-04-11 17:52 Jakov Smolić
2023-06-18 4:22 Hans de Graaff
2023-07-04 20:19 Sam James
2023-07-04 20:19 Sam James
2023-10-24 9:30 Arthur Zamarin
2023-12-31 10:29 Hans de Graaff
2023-12-31 10:29 Hans de Graaff
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=1666474391.e23fa1ae4c741011be4ab12376f69b3bfbff8572.mattst88@gentoo \
--to=mattst88@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