mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-ruby/async-io: new package, add 1.33.0
Signed-off-by: matoro <matoro@users.noreply.github.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
1
dev-ruby/async-io/Manifest
Normal file
1
dev-ruby/async-io/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST async-io-1.33.0.tar.gz 33901 BLAKE2B 0331cbfd70e504b2ffe213d2b5b5593e713db449af6c450522bd8d7f4ec2ba567706b52f2d819b7b4622128b16090197f2d2e36ad815af0b6c353c65c0144dcc SHA512 5c70179df163952754bcdd506e13d83f1b039d434e7c6c692ead80f0efebc1ffd17e47c9cf53fe6d29bfd452551098bf31d8a463ed212d54a4910eef93fac6b7
|
||||
32
dev-ruby/async-io/async-io-1.33.0.ebuild
Normal file
32
dev-ruby/async-io/async-io-1.33.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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_EXTRA_DOC="README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Provides support for asynchonous TCP, UDP, UNIX and SSL sockets"
|
||||
HOMEPAGE="https://github.com/socketry/async-io"
|
||||
SRC_URI="https://github.com/socketry/async-io/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)/$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64 ~sparc"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/async"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/async-container-0.15:0
|
||||
>=dev-ruby/async-rspec-1.10:1
|
||||
dev-ruby/rack-test
|
||||
)"
|
||||
|
||||
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
|
||||
}
|
||||
11
dev-ruby/async-io/metadata.xml
Normal file
11
dev-ruby/async-io/metadata.xml
Normal file
@@ -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-io</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user