diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-23 03:49:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-23 03:49:35 +0100 |
commit | 850d399c4f1568d3c6d013d7f4e2e371c0118bd6 (patch) | |
tree | 37fe91f80d4b072d27976558c05df3503c196e85 /dev-ruby/async-io | |
parent | 7b77dd2858b06e4a9367ca16d4c24aacb119b142 (diff) |
gentoo auto-resync : 23:10:2022 - 03:49:35
Diffstat (limited to 'dev-ruby/async-io')
-rw-r--r-- | dev-ruby/async-io/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/async-io/async-io-1.34.0.ebuild | 32 | ||||
-rw-r--r-- | dev-ruby/async-io/metadata.xml | 11 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/async-io/Manifest b/dev-ruby/async-io/Manifest new file mode 100644 index 000000000000..3ae333f7f621 --- /dev/null +++ b/dev-ruby/async-io/Manifest @@ -0,0 +1,3 @@ +DIST async-io-1.34.0.tar.gz 34147 BLAKE2B 85cb79423bcbcc45e7c3f703d5ce7866522e66c55f866a0545369b65eda9c8a4b5637eaeeb7e17a5a8ee7256c6a991871dbb96244e4647fa19f8f027fad37961 SHA512 d35389ebfb748ea1c44f4a7ea7707511e32d40e98ae3fd7e8a5b22fdbb5f8f5a00933ec48346e2ed44c679ee6121a6fdf980c8ee6a1da609fb7571abb703aa02 +EBUILD async-io-1.34.0.ebuild 938 BLAKE2B 226169bac443a6edd3844f1efd35293d0bc7973826949d7eab3641aa702d00049c360c29bd485f878eda57bf34ea86b100efeb17f9f1f3aecd9d416b9d85fd7c SHA512 4bc7a2b34403b937c6ef90024dfa2f5b8709b9e7698bf794416f6136bf6f2f3c756126a283790057a4796bddf9437cfec07ca5c250e839c832657617bbc1a728 +MISC metadata.xml 344 BLAKE2B 7fb67688ba60d30637605ba7a2020cb328e18ffebd9fd6fed09114cc14596836b0dcc4d1590fd3755952baa52c258bdb9a935c47b1a4ef4f2d5e545e931d40fe SHA512 6ea960fe1feb969df78e66ae985b6ac95faa09a248d694aaa47876634f84a09a3807effc2b4289d35dbeaee3793c2c73276fd0f8b87375ab99e813085edd12af diff --git a/dev-ruby/async-io/async-io-1.34.0.ebuild b/dev-ruby/async-io/async-io-1.34.0.ebuild new file mode 100644 index 000000000000..75b432695d8b --- /dev/null +++ b/dev-ruby/async-io/async-io-1.34.0.ebuild @@ -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 +} diff --git a/dev-ruby/async-io/metadata.xml b/dev-ruby/async-io/metadata.xml new file mode 100644 index 000000000000..2b591f89a8e8 --- /dev/null +++ b/dev-ruby/async-io/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-io</remote-id> + </upstream> +</pkgmetadata> |