diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-20 16:18:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-20 16:18:45 +0100 |
commit | 2ffbfc63824a9e437090fb3c744670dd45369ae0 (patch) | |
tree | ad31a5650e31f93490157943681bb982f8a4520c /dev-ruby/io-event | |
parent | 399fa07bfac673a8846466b16c76549e329b55b8 (diff) |
gentoo auto-resync : 20:05:2023 - 16:18:45
Diffstat (limited to 'dev-ruby/io-event')
-rw-r--r-- | dev-ruby/io-event/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/io-event/io-event-1.2.2.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/io-event/metadata.xml | 3 |
3 files changed, 42 insertions, 1 deletions
diff --git a/dev-ruby/io-event/Manifest b/dev-ruby/io-event/Manifest index f317e1d14002..49bfb8f80d22 100644 --- a/dev-ruby/io-event/Manifest +++ b/dev-ruby/io-event/Manifest @@ -1,5 +1,7 @@ DIST io-event-1.1.6.tar.gz 34530 BLAKE2B 3b0e6e5ca781b61467daeb885ea22de639c2f3c68f96657c99e8257f0cb0028f8997e6aa0ab5c53b56e53a944c40944e701d57160faeb4273a5bc77ceb4c2dfc SHA512 65cc9a9de7037059a119f1ca6569414baacab234ac4e6ee91ac5c780ed789510d8691111890dbe19082867c5adbd50cc9a86e28b37460b8fb01ff53abde8d417 DIST io-event-1.1.7.tar.gz 35211 BLAKE2B d288ec902c4d775b49315d4eeda8bb0582b7444e7adc60846283fbffbe8ecec6e13c1bc7ce898c4aaf3e78d5eeee2602045f9bde561f6f50c797b7aecb3d7b01 SHA512 f61d0eb7203b4bd4b38d1f42a23c67d4ae04dbbb4c7018149d52db440d769131581347198f4a6da6e99aaa1ac526ad1c1cb9d56ecf48c1fc70fbf1b62fb161e7 +DIST io-event-1.2.2.tar.gz 35405 BLAKE2B 9fb96c920524db8111b8d3650f2559df71e262f2f4cd32080a3e04f09da5df3d0f0a6777b1d37aba7848b9f7298d9fe5c5684c3211ff39b5178d452d10dede70 SHA512 6ebffd24eb40392496f488ee578f17fcc2e713d3b90cea20899c82e26a6d601b0670d21383d5e33345cad9a33ae43120e8c1d017bb7bd44ff95be2c17bab6712 EBUILD io-event-1.1.6.ebuild 817 BLAKE2B 5a21ff0f222c7b45d0c5a1da046eeaf85faf3839fe6b498e9eaf6ea1e4f41980c7b90c85a102eab2897ad8d68201532af6f19e956d6998719f79a46746ffea92 SHA512 e58f9785de59d029bf6eb87dbc328352c7928eddccaead18b57af5ed7897dc7dd42b4ebc5bea39fad7f28d7990f4339ef6e9ac61e76a85e1564b10430ab708b5 EBUILD io-event-1.1.7.ebuild 866 BLAKE2B d69a1d35f316bc338e38b34ffa527f100efe3ee1096ac100de8ef6b392d0f9f1f10b4bed1281aeacd16d68515ac4f49da6d82fa9664bf2a1de05942c36e7733e SHA512 25f5b6dc604987274b3c1aa8da4c470738f8ce73bbd9ba32328996fb23f42283f71b7d9d5e04ae014b5692a8f7f3e2beacb1214e5ac8edd822f495a4cfd66534 -MISC metadata.xml 344 BLAKE2B bb572a3bebb66073283f2eea535cb9ac95d3adba0e060350609028bb47b7a03b6ddb3294293e95a6c505fe5d9c7127a37f1d1afa9abf66312bf4b4a688b4ddf9 SHA512 9c114303bb3edf528224eac75e7095403230f94baf373649442c123cceee029258616fa2ea68823814dd1ecdfe0f9c4ef73491ca449f569f12aa159b78811ef5 +EBUILD io-event-1.2.2.ebuild 992 BLAKE2B ba1a508df70f4258e119355786979639d20158160f6636ae430f9b62ec01dbf52d68848df9221d8672475b51a66a994c9aa9fdac5b40d363b58dc48d57c45978 SHA512 3cb74b7e67a94fab22bb4bb8c6298ab4a3c599d782cc803d92c21c65b94754ba878dc5d2f994e493901286858ce10c67a4de450fb4eb2a04952ac1c269b9d7f5 +MISC metadata.xml 453 BLAKE2B 6f734840e504644c7d84ca58d0ac13f4f36a6e3f1d4d7a412871e224199d0efd071bbab9133f5a95ecf64928b4234787172b6d61c9ce085a6cc15c362e60195a SHA512 cc8b195ee59e7927a6cf1d9c1e82c222d697044cc917ebdcb4406ccb6372b3a51f09696b1618559e83b0ba98fbb2a8fd4b2977bb4adb46d437df90d2474648cf diff --git a/dev-ruby/io-event/io-event-1.2.2.ebuild b/dev-ruby/io-event/io-event-1.2.2.ebuild new file mode 100644 index 000000000000..337b2103b8db --- /dev/null +++ b/dev-ruby/io-event/io-event-1.2.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="An event loop" +HOMEPAGE="https://github.com/socketry/io-event" +SRC_URI="https://github.com/socketry/io-event/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+io-uring" + +RDEPEND="io-uring? ( sys-libs/liburing:= )" +DEPEND="${RDEPEND}" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Avoid dependency on unpackaged covered package + rm -f config/sus.rb || die + + if ! use io-uring ; then + sed -i -e "s:have_library('uring'):have_library('idonotexist_uring'):" ext/extconf.rb || die + fi +} diff --git a/dev-ruby/io-event/metadata.xml b/dev-ruby/io-event/metadata.xml index 0962eb7f2192..7e76e28a1d14 100644 --- a/dev-ruby/io-event/metadata.xml +++ b/dev-ruby/io-event/metadata.xml @@ -5,6 +5,9 @@ <email>ruby@gentoo.org</email> <name>Gentoo Ruby Project</name> </maintainer> + <use> + <flag name="io-uring">Enable io_uring support, and use io_uring instead of epoll</flag> + </use> <upstream> <remote-id type="github">socketry/io-event</remote-id> </upstream> |