From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/async/
Date: Sat, 22 Oct 2022 21:33:56 +0000 (UTC) [thread overview]
Message-ID: <1666474390.e1503e21f5fb8678c0061818fff9dcfb2764f213.mattst88@gentoo> (raw)
commit: e1503e21f5fb8678c0061818fff9dcfb2764f213
Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Wed Jun 15 04:26:13 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Oct 22 21:33:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1503e21
dev-ruby/async: new package, add 1.30.1 and 2.0.2
Signed-off-by: matoro <matoro <AT> users.noreply.github.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
dev-ruby/async/Manifest | 2 ++
dev-ruby/async/async-1.30.1.ebuild | 40 ++++++++++++++++++++++++++++++++++++++
dev-ruby/async/async-2.0.2.ebuild | 38 ++++++++++++++++++++++++++++++++++++
dev-ruby/async/metadata.xml | 11 +++++++++++
4 files changed, 91 insertions(+)
diff --git a/dev-ruby/async/Manifest b/dev-ruby/async/Manifest
new file mode 100644
index 000000000000..b40e37a1e13b
--- /dev/null
+++ b/dev-ruby/async/Manifest
@@ -0,0 +1,2 @@
+DIST async-1.30.1.tar.gz 91919 BLAKE2B f2a39faef8159b1ac880835c35cec73be78a5f3e2d46dc8d06cca10668e15f5694a10f115d6488ad644cef515d45398e98e1ea2b5d732ca732b32abb34830eba SHA512 8a698dab8e41164ef3999aa1dddfd4089075ffbdaf6079852c86f95e0a915ae6550e0a03bcbdf84badde9edb1b2400c702cee9766b9fa39f115fb46c7f5dcb85
+DIST async-2.0.2.tar.gz 72169 BLAKE2B a7e3b964e69b5cdbcf5b55023c3023f0a53145a08ddddf30c3760ef8830cbab2b674381e6cd1f1d360b081af196e08d4fe881be3ddd9869021c644e9b20f9cfb SHA512 8e7630f115c166c17d6cd04c10aeeac5dd6e033d5c84039843cf3aa9d4b0d7b33210773534cc05b6af9eaa5daab823ae998fd7dce4754ce7f7967382fcf4142f
diff --git a/dev-ruby/async/async-1.30.1.ebuild b/dev-ruby/async/async-1.30.1.ebuild
new file mode 100644
index 000000000000..5108e6b2e464
--- /dev/null
+++ b/dev-ruby/async/async-1.30.1.ebuild
@@ -0,0 +1,40 @@
+# 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="A concurrency framework for Ruby"
+HOMEPAGE="https://github.com/socketry/async"
+SRC_URI="https://github.com/socketry/async/archive/df26f47f64c91c13155c5b6529194b0fe48f8c17.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~sparc"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/console-1.10:1
+ >=dev-ruby/nio4r-2.3:2
+ >=dev-ruby/timers-4.1:4"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/async-rspec-1.1:1
+ dev-ruby/benchmark-ips
+)"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ # network tests
+ rm -f "spec/async/scheduler_spec.rb" "spec/async/scheduler/address_spec.rb" "spec/async/scheduler/io_spec.rb" || die
+
+ # broken on ruby 3.x
+ rm -f "spec/async/condition_spec.rb" "spec/async/notification_spec.rb" || die
+
+ sed -i -E 's/require '"'"'covered\/rspec'"'"'//g' "spec/spec_helper.rb" || die
+}
diff --git a/dev-ruby/async/async-2.0.2.ebuild b/dev-ruby/async/async-2.0.2.ebuild
new file mode 100644
index 000000000000..5f34b240f833
--- /dev/null
+++ b/dev-ruby/async/async-2.0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+inherit ruby-fakegem
+
+DESCRIPTION="A concurrency framework for Ruby"
+HOMEPAGE="https://github.com/socketry/async"
+SRC_URI="https://github.com/socketry/async/archive/df26f47f64c91c13155c5b6529194b0fe48f8c17.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~sparc"
+IUSE=""
+RUBY_S="${PN}-df26f47f64c91c13155c5b6529194b0fe48f8c17"
+
+ruby_add_rdepend ">=dev-ruby/console-1.10:1
+ >=dev-ruby/io-event-1.0.0:1/1.0
+ >=dev-ruby/timers-4.1:4"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/async-rspec-1.1:1
+ dev-ruby/benchmark-ips
+)"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ # network tests
+ rm -f "spec/async/scheduler_spec.rb" "spec/async/scheduler/address_spec.rb" "spec/async/scheduler/io_spec.rb" || die
+
+ sed -i -E 's/require '"'"'covered\/rspec'"'"'//g' "spec/spec_helper.rb" || die
+}
diff --git a/dev-ruby/async/metadata.xml b/dev-ruby/async/metadata.xml
new file mode 100644
index 000000000000..c7864b34a68a
--- /dev/null
+++ b/dev-ruby/async/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/async</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2022-10-22 21:34 UTC|newest]
Thread overview: 40+ 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-22 21:33 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/async/ Matt Turner
2022-10-23 10:01 Hans de Graaff
2022-10-23 10:13 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-04-02 22:49 Sam James
2023-04-02 23:05 Sam James
2023-04-02 23:07 Sam James
2023-04-02 23:07 Sam James
2023-04-02 23:07 Sam James
2023-04-03 0:47 Sam James
2023-04-03 0:47 Sam James
2023-04-03 3:17 Sam James
2023-04-03 3:17 Sam James
2023-04-07 8:36 Sam James
2023-04-07 8:39 Sam James
2023-04-07 8:39 Sam James
2023-04-09 2:34 Sam James
2023-04-09 2:34 Sam James
2023-05-20 9:21 Sam James
2023-06-30 5:34 Hans de Graaff
2023-06-30 6:09 Hans de Graaff
2023-07-04 20:19 Sam James
2023-07-04 20:19 Sam James
2023-07-04 20:19 Sam James
2023-07-05 0:04 Sam James
2023-08-09 4:38 Hans de Graaff
2023-08-27 6:11 Hans de Graaff
2023-10-24 9:30 Arthur Zamarin
2023-10-24 9:30 Arthur Zamarin
2023-10-31 6:42 Hans de Graaff
2024-01-03 7:14 Hans de Graaff
[not found] <1708163586.0a5835af33e0d6962a4fad3beb9f503cdbcffa05.graaff@gentoo>
2024-02-17 9:53 ` Hans de Graaff
2024-02-17 9:53 Hans de Graaff
2024-02-25 8:52 Hans de Graaff
2024-06-28 12:59 Sam James
2024-09-13 4:13 Sam James
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=1666474390.e1503e21f5fb8678c0061818fff9dcfb2764f213.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