diff options
Diffstat (limited to 'dev-ruby/io-event')
-rw-r--r-- | dev-ruby/io-event/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/io-event/io-event-1.3.2.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/io-event/Manifest b/dev-ruby/io-event/Manifest index 9595f6375053..0d061248c202 100644 --- a/dev-ruby/io-event/Manifest +++ b/dev-ruby/io-event/Manifest @@ -1,7 +1,9 @@ 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 +DIST io-event-1.3.2.tar.gz 45587 BLAKE2B b4a6e03d6470e0e1fd214e8d4ec9c34b44590b949dd3c2206ace0d963a7eb5f0164d4ddddbe7524e3e050869e45fdccce391174342b6185e2a8c29aaa9e8c1fb SHA512 532dcaf2fb658f4770cc99a486adf1c2d853260c9f4b9bc9d411dc1a84f439881b96ba365523c7566f8a87cfb44a375642a92f327c9ea95803183dd552dabd7a EBUILD io-event-1.1.6.ebuild 817 BLAKE2B 5a21ff0f222c7b45d0c5a1da046eeaf85faf3839fe6b498e9eaf6ea1e4f41980c7b90c85a102eab2897ad8d68201532af6f19e956d6998719f79a46746ffea92 SHA512 e58f9785de59d029bf6eb87dbc328352c7928eddccaead18b57af5ed7897dc7dd42b4ebc5bea39fad7f28d7990f4339ef6e9ac61e76a85e1564b10430ab708b5 EBUILD io-event-1.1.7.ebuild 865 BLAKE2B df61b349a4d656231e9471b272ba5b72911f0e2631caf95bcbc1d68706476ecd5ad797dd24b4f590a4e2b2072b237d9f0098ac097edf20584949ec1e91ba884f SHA512 64dec6d72ffd16e4aa8c538d512649434938cbdcc5bdb4fc4b68939f1aca15471e1be54996c3107b17cffb025aba59ab9e183bf69f58d5704870159bd1612bbf EBUILD io-event-1.2.2.ebuild 992 BLAKE2B ba1a508df70f4258e119355786979639d20158160f6636ae430f9b62ec01dbf52d68848df9221d8672475b51a66a994c9aa9fdac5b40d363b58dc48d57c45978 SHA512 3cb74b7e67a94fab22bb4bb8c6298ab4a3c599d782cc803d92c21c65b94754ba878dc5d2f994e493901286858ce10c67a4de450fb4eb2a04952ac1c269b9d7f5 +EBUILD io-event-1.3.2.ebuild 985 BLAKE2B 33f1ce0167ede05a2d63832701db2537d6bfa835e0959515d8c49ba2ab504ce9dbc55d2be3d368f9d54925e59f1d4495ff3903ae74a23eeb62c933271d5525c4 SHA512 169059990dd6a0a30d1b8f22ecc6c4177226b186917ddabc01000ca96788e682f70f516394abe62e3cafaabeeafe3080bb7c8a80ab018cae1ea961e84aefc7bc MISC metadata.xml 453 BLAKE2B 6f734840e504644c7d84ca58d0ac13f4f36a6e3f1d4d7a412871e224199d0efd071bbab9133f5a95ecf64928b4234787172b6d61c9ce085a6cc15c362e60195a SHA512 cc8b195ee59e7927a6cf1d9c1e82c222d697044cc917ebdcb4406ccb6372b3a51f09696b1618559e83b0ba98fbb2a8fd4b2977bb4adb46d437df90d2474648cf diff --git a/dev-ruby/io-event/io-event-1.3.2.ebuild b/dev-ruby/io-event/io-event-1.3.2.ebuild new file mode 100644 index 000000000000..03298eeac45f --- /dev/null +++ b/dev-ruby/io-event/io-event-1.3.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="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 +} |