diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-04 00:00:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-04 00:00:19 +0100 |
commit | 7f3fecbb5b871825fe9632f46659869cab6a3769 (patch) | |
tree | dd2be4fe7ee3475ca4ad093698f0f8fd1e0965dc /dev-ruby/io-wait | |
parent | a98588cfddf3d6e88a5f17d7f399b695163c7a85 (diff) |
gentoo auto-resync : 04:05:2024 - 00:00:19
Diffstat (limited to 'dev-ruby/io-wait')
-rw-r--r-- | dev-ruby/io-wait/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/io-wait/io-wait-0.3.1.ebuild | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/io-wait/Manifest b/dev-ruby/io-wait/Manifest index c4e7780bbdf9..0ced2261a574 100644 --- a/dev-ruby/io-wait/Manifest +++ b/dev-ruby/io-wait/Manifest @@ -1,3 +1,5 @@ DIST io-wait-0.2.3.tar.gz 22171 BLAKE2B 359bf268aafcb2dcbdf59912a0973b96bf396801678a3aa2780e3bd20e8a01471404a269eaaced939e47e4e99c417eadb86f0f2bd6ccd11fc3256bb04ca05f4f SHA512 2fbea3419152cd83e411742dd074491bd78b6a077b68a2ea5d802bac671b839bb484a06654ca11f18f45deb1e33a9019dfae0a33eeda0696c1c14b05706a95ba +DIST io-wait-0.3.1.tar.gz 13187 BLAKE2B 2d8e0c8cdd29d01279d5b700cd3cfcb5ab23f651ef5a2be388c2813734636f35a00d478b56ee168fc8a1be43b5ff38bf4ea78ff98abcfe4f95e17c20cf2defa9 SHA512 34cf02e0533c32b781a01e5c3ff987b6463a45a5356180733c06a03280ce7767d1274fe0d47dc9783061d588de83bb080b5cb315e3c3779da30a8562b11871de EBUILD io-wait-0.2.3.ebuild 1008 BLAKE2B 36f8e29b614d5923ed3a07e8a7eb85d8f46abbff6df1a23224c14d1c94e4fa94eed28ebcdf7cfbf9144e0e98b4cfb51d292814379e132438087c2894a9854a9e SHA512 615838373da3a594f0f85e7cdaed469846b3dd9e7c23add454d134251f850cf8241d12c3bbe7ddb260838d2778386a7f709742814deaacbdb9a35832a7e62ff4 +EBUILD io-wait-0.3.1.ebuild 1070 BLAKE2B 1f0459504f7dd6497aadf0939e9185600256ada21cc1d458a3d551d36b6316443fd305e3c4b0eba993c7fadbe019ea5744b3c7f1f4294b651f65357e9b16430e SHA512 0a3c04203a28d9bd4d3c4ed86a93701b0866502ece56175f7cb00f36f3bc6f3e450bd4b9d0813ccdd528f8650c6db097053c717b99f11bbdc19dcd3fb72b31e5 MISC metadata.xml 339 BLAKE2B d423aeb0d4f1db2dfd5f146248ccb212ca3d7e10efa0cf52c25b384df12930a791d215e67107e88a01710d19fa394710d7c7badf44ec7ee74efd9888df2ce1ec SHA512 b4f4d2a0238fc94cf498ae975474025308cb04cc43064c2c91631534288138ebf0c7f3f398047df3fc1fd791af0d8414984c8dc49ca60f473d022b2664b57298 diff --git a/dev-ruby/io-wait/io-wait-0.3.1.ebuild b/dev-ruby/io-wait/io-wait-0.3.1.ebuild new file mode 100644 index 000000000000..4c5293ff23a6 --- /dev/null +++ b/dev-ruby/io-wait/io-wait-0.3.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS="ext/io/wait/extconf.rb" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="io-wait.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Waits until IO is readable or writable without blocking" +HOMEPAGE="https://github.com/ruby/io-wait" +SRC_URI="https://github.com/ruby/io-wait/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +all_ruby_prepare() { + sed -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -e '/task :test/ s:^:#:' -i Rakefile || die + + # Avoid tests that require a working console + sed -e '/test_wait_mask_\(negative\|readable\|writable\|zero\)/aomit("Requires working console")' \ + -i test/io/wait/test_io_wait.rb || die +} |