diff options
author | matoro <matoro@users.noreply.github.com> | 2022-06-15 00:31:31 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-10-22 17:33:10 -0400 |
commit | eb07c319b391fbd829c72407e415bdecbf7e7e6d (patch) | |
tree | 40e6666cc38939a8028b649286efc0f022d6a223 /dev-ruby | |
parent | dev-ruby/fiber-local: new package, add 1.0.0 (diff) | |
download | gentoo-eb07c319b391fbd829c72407e415bdecbf7e7e6d.tar.gz gentoo-eb07c319b391fbd829c72407e415bdecbf7e7e6d.tar.bz2 gentoo-eb07c319b391fbd829c72407e415bdecbf7e7e6d.zip |
dev-ruby/io-event: new package, add 1.0.9
Signed-off-by: matoro <matoro@users.noreply.github.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/io-event/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/io-event/io-event-1.0.9.ebuild | 31 | ||||
-rw-r--r-- | dev-ruby/io-event/metadata.xml | 11 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/io-event/Manifest b/dev-ruby/io-event/Manifest new file mode 100644 index 000000000000..082d5fee6a19 --- /dev/null +++ b/dev-ruby/io-event/Manifest @@ -0,0 +1 @@ +DIST io-event-1.0.9.tar.gz 31984 BLAKE2B 543c460cde5ac269607e4d7ec54962879141d40d9592433a55d53e89b2a43bce4f161c1e4b21322a9b3fe60d5ab77e35692a19f899b9210d06fbcf185bca83de SHA512 d2b5903e68425bb23a7a9b861e76b2d125b9cf53f81ca0120ded010559ca26f3af002b5da28092245e00e8d9b81e94bdda72b2ea607cfae27a1e48e3f1a39130 diff --git a/dev-ruby/io-event/io-event-1.0.9.ebuild b/dev-ruby/io-event/io-event-1.0.9.ebuild new file mode 100644 index 000000000000..d0b6cc652fb7 --- /dev/null +++ b/dev-ruby/io-event/io-event-1.0.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31" +RUBY_FAKEGEM_EXTENSIONS="ext/extconf.rb" +RUBY_FAKEGEM_RECIPE_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +inherit ruby-fakegem + +DESCRIPTION="An event loop" +HOMEPAGE="https://github.com/socketry/io-event" +SRC_URI="https://github.com/socketry/io-event/archive/68cffe24077a53201acbb383e8e132b192e1fa83.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~sparc" +IUSE="" +RUBY_S="${PN}-68cffe24077a53201acbb383e8e132b192e1fa83" + +ruby_add_bdepend "test? ( >=dev-ruby/sus-0.6:0 )" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die +} + +each_ruby_test() { + "${RUBY}" -S sus-parallel || die +} diff --git a/dev-ruby/io-event/metadata.xml b/dev-ruby/io-event/metadata.xml new file mode 100644 index 000000000000..0962eb7f2192 --- /dev/null +++ b/dev-ruby/io-event/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/io-event</remote-id> + </upstream> +</pkgmetadata> |