diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-12 12:07:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-12 12:07:46 +0100 |
commit | 78f20b3ec2b822f4add309f60998356f403cf879 (patch) | |
tree | d64d76eeca683d899db2d5cee075f319502c6ade /dev-ruby | |
parent | 6766ae9a4205bc53227127a1dd518ea601246afe (diff) |
gentoo auto-resync : 12:08:2023 - 12:07:45
Diffstat (limited to 'dev-ruby')
28 files changed, 297 insertions, 238 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex abee68b2d4e5..06a7d0f7b265 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/airbrussh/Manifest b/dev-ruby/airbrussh/Manifest index 25944bd031ae..a3f4f67a74f1 100644 --- a/dev-ruby/airbrussh/Manifest +++ b/dev-ruby/airbrussh/Manifest @@ -1,3 +1,5 @@ DIST airbrussh-1.4.1.tar.gz 1450155 BLAKE2B cecdc1b278a23c76b169febf5aa704d024a1ef41344a81a24d28f2a0f53830804f494d1bf967d8a54bfa73a92df333095fcc4591970c1d3e2ed1c23095258d11 SHA512 33bc484a3ac42a2a4a3795068649e93472bded1f887d9cdab52f4268090889b1d6ddc1c8743574b07e174eb606b24311ee13952d8b61517841693b44bf92450e +DIST airbrussh-1.4.2.tar.gz 1450323 BLAKE2B 34f14409c5c892c85db28da63c3dd6d13e7086d6338844416508abdcf67f7593ff05a1b755a5b8c171d7f87dafe6476198d4fe2361993af492553c996ec88708 SHA512 739cdadee7ec7f03fef3497528dbc2fc552a862f6fea7502aef843edf137523601b9dc6037737c7ba219142dbf749238f80eba6ff86055fe39769f5d80d19c16 EBUILD airbrussh-1.4.1.ebuild 1201 BLAKE2B 54d3fb056bb6f13cffaeb600d8c82e8c38c8e136ee920115a1a63f8059591f70c1b51098bf3691b593d2cd39d6a0192c9a15f8498659134024d68df20a249208 SHA512 206b412a19651c9322adfd6cbb6aaaef0e6ef46657549b71ee4483fdca66f5c73c14c288cf4a43dbd8dd889e10826b41c1d1148bf81d1f92556cb3c6c339101b +EBUILD airbrussh-1.4.2.ebuild 1140 BLAKE2B ae1a2e7f83c345760072e6fa3028cc10d5cbd910f5d3136e22b8cce09d7217e492f5649c268ac17552f985929668b42c8e36d3894681ff23214f9f55cf07ad21 SHA512 aef1c34fd25e7a228ed076fa56c5e37e92c8498e8c58f4ded32eff9ec2f5562a1abff7cda69a0c2c4c3b7ce27a818a767f1f8c982f5a031ee35cab69c62806bc MISC metadata.xml 480 BLAKE2B 15cfe108e1870ef152c0b6b52bf912e6d57616fa9a6483fe77360b6f73e3b9e982338afbf3dc10d1b44d725df2253895988e01416827fbda817a453a424ad633 SHA512 8b24f6a0b49b0f078b4ad6cb401efda9b89f514db66309dbc2e4518ebbd48b7f39340b3fee42a35f0c446fda43124a67821b7bc30fea3b20e965779ff8a39135 diff --git a/dev-ruby/airbrussh/airbrussh-1.4.2.ebuild b/dev-ruby/airbrussh/airbrussh-1.4.2.ebuild new file mode 100644 index 000000000000..4e6a946c2ee6 --- /dev/null +++ b/dev-ruby/airbrussh/airbrussh-1.4.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="airbrussh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A replacement log formatter for SSHKit" +HOMEPAGE="https://github.com/mattbrictson/airbrussh" +SRC_URI="https://github.com/mattbrictson/airbrussh/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">dev-ruby/sshkit-1.7.0" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/mocha:2 )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + rm -f test/support/minitest_reporters.rb || die + + # Add missing require + sed -i -e '1irequire "rake" ; require "rake/task"' test/support/rake_task_definition.rb || die + + # Avoid a test poluting the environment + sed -i -e '/test_color_is_can_be_forced_via_env/,/^ end/ s:^:#:' test/airbrussh/console_test.rb || die +} + +each_ruby_test() { + MT_NO_PLUGINS=1 ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/console/Manifest b/dev-ruby/console/Manifest index 0698b3926945..48d8cb141bf9 100644 --- a/dev-ruby/console/Manifest +++ b/dev-ruby/console/Manifest @@ -1,8 +1,8 @@ AUX console-1.16.2-tests.patch 4114 BLAKE2B 41dbac47759cb716cdae9673aa2c08482b920966e17dc9299b5d8682dc8a557e05cd15ec4a74f1fa540fbfd8ddee2eed307c14714b4111f43e66cc019b116b77 SHA512 82bb7d6db5fc692d2113206dfc2032ff78f70faf1ef5ab685a7bf2925d0d0e59abe5f0ba04b2e73552b5dfa98ed0c40d77aeee7ff5fbad8e14419f473988ddf7 -DIST console-1.16.2.tar.gz 24609 BLAKE2B 470e6fb547e594d6e4add21c11bccca2d239d5430e148bdd99fe925d57058a3e7304b96c793c72a68ac3df3e285c1b7719b5a1e0db833350b0ef55ac17cca4f8 SHA512 fe32ea7b3ab11319fcefc098571e2a4fff2fec2a56c53880731ab15deca75e84c94cc30456fea264e6201996311dc705799814e5c1d7c32e7b7d786fcac9588e DIST console-1.17.2.tar.gz 24861 BLAKE2B c738249eadafe43c4528ebf75d30b51aa1d015fb9fa6cefaa7302bce0d81ab431b4e84ed3d25b8c5376e64b5b1fb8154b91858e15ad72ce6cb746fd18818bb33 SHA512 1c734d335d3928ca580e274857df1d18c05ce254bfdf8401b7c40b391db7d134b6b6b0327e7bb29d5f7c37522335a33cb58a29cf53aabb36279fa601e581a891 DIST console-1.17.4.tar.gz 24889 BLAKE2B 8e7a5bad0a6420787bc17f3819f78f8c3d73816c79ca3a80d89bac3e44865028f3544ffc63b0bd7c7ef81f6add3500ecb067c5dbba5d543fded960d18f30c355 SHA512 b9d8751cb11cce21570463687b60eeb65e5b808e9a905a90a0444fb06e9b8569b439230d87a2430f0050c25a5cec18a50684e577bdfefc5cb9bafbcd877c7b0d -EBUILD console-1.16.2-r1.ebuild 1008 BLAKE2B 7c61abe103672f5ab444aa62b9e172922c03af489f6630588fc04cc2f264303aaa0d49d61836246c255622e40acff73f22cd60d496fdb08ebb55e6505b470df2 SHA512 87ba2bae02ba4c34fbe0c1fc2f76015af9e0957c4def4b0d97990276620cb1303e16a9d14700b0c9d85fcf2724f2b7fb156de62d5e5193e81c23f0b10485c1ee +DIST console-1.23.1.tar.gz 27284 BLAKE2B d024d8cc2d2d54f390c54fac6a605cbe6b0272a05e8fc8b4d10cab7f2614bd4a85d164e6ccb65e502e611409a9fbdefb96bb892e7f7bf50b6e3a42c296cbb011 SHA512 a0b7b67c4797b42fffd70fd1c4493db89de68809feeceadb06a009e42f14f3ce9b465fc71db0ee31e7959d69affd62f6021a43bc1ba20f5d3fe65db78714814b EBUILD console-1.17.2.ebuild 920 BLAKE2B 9ca2f567588cc8878521ef67961f155fc51c6ec9c3755873008d89fe3b7d6e80daf66315f96befb28439ed5b623068ace7bea834edb73082ea33e525ced7bd29 SHA512 a9a16b4db1ea3ac4ab3dab8db3d9b92d0d176a5a8bd858109f4ff8b7263b96561ca95ff1ee436293a7601953fed6860012b7949ad112bbbe13149658f91b5754 EBUILD console-1.17.4.ebuild 921 BLAKE2B 428e8e43714d092b0ce71834cacee155b4735255641f759e655f38ca628db945cb93d12ef9d63413b31849eb4ec004a8dd5e4ab519a65c4df0f8dfb8aad8ec26 SHA512 fb44ddbf7cde76629919dbe3ab912c6a50ba41b8dea15dd2b38ff619e4cd77bb3900ee2270cfe63c9c05650ed19d83fe12a43fa0cc62bee3188f98072df5be25 +EBUILD console-1.23.1.ebuild 921 BLAKE2B 428e8e43714d092b0ce71834cacee155b4735255641f759e655f38ca628db945cb93d12ef9d63413b31849eb4ec004a8dd5e4ab519a65c4df0f8dfb8aad8ec26 SHA512 fb44ddbf7cde76629919dbe3ab912c6a50ba41b8dea15dd2b38ff619e4cd77bb3900ee2270cfe63c9c05650ed19d83fe12a43fa0cc62bee3188f98072df5be25 MISC metadata.xml 343 BLAKE2B 949f3fccd0b08a5699c083eb21c119af6104cd470fe4f22f2771f5262eddf9a9819a630146ef4cf0636d52be9cca982ab73fd4443e1fb0f4ae77b5223949ed38 SHA512 f243fe8cf5c9d29a4c4f95cd9bce18f8a0ca191b7c62c1644c0b4ec4f4d14d355bc0b564a571b057eb42960997958157bca027b86917a2c43d6ec651f1804302 diff --git a/dev-ruby/console/console-1.16.2-r1.ebuild b/dev-ruby/console/console-1.23.1.ebuild index ab91ddddf462..e3712651f8a4 100644 --- a/dev-ruby/console/console-1.16.2-r1.ebuild +++ b/dev-ruby/console/console-1.23.1.ebuild @@ -3,10 +3,11 @@ EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="readme.md" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" inherit ruby-fakegem @@ -16,16 +17,13 @@ SRC_URI="https://github.com/socketry/console/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="MIT" SLOT="$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="" -ruby_add_rdepend "dev-ruby/fiber-local" - -ruby_add_bdepend "test? ( dev-ruby/sus )" - -PATCHES=( - "${FILESDIR}"/${P}-tests.patch -) +ruby_add_rdepend " + dev-ruby/fiber-annotation + dev-ruby/fiber-local +" all_ruby_prepare() { sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die @@ -36,7 +34,3 @@ all_ruby_prepare() { # Avoid sandbox violation during tests sed -i -e 's:/tmp/:'"${TMPDIR}"'/:' test/console/output.rb || die } - -each_ruby_test() { - ${RUBY} -S sus-parallel || die -} diff --git a/dev-ruby/erubis/Manifest b/dev-ruby/erubis/Manifest index 653d591f8d0a..e26f1d05dbe3 100644 --- a/dev-ruby/erubis/Manifest +++ b/dev-ruby/erubis/Manifest @@ -1,3 +1,3 @@ DIST erubis-2.7.0.gem 173056 BLAKE2B b1059469b5d75dd71be32eabfae0f1715dca11b9c5eb79499a5a8835a4db44e8c2163386af1e4ef9cab8cecf4ae6f2eb57b5105d53d56e5784b06d65398b22fb SHA512 49b08b28656acaf3b0c88fe064bb0d5f79fd08b834d7eba9294217b0893c5a0244ac5dd54de0e52dd17e828a0110e54b29e8c2d75171d527da957917344a0f27 -EBUILD erubis-2.7.0-r4.ebuild 1055 BLAKE2B d6cf6ac64a4a13121b06f5bb3f6cc5edc9ade8170a247aee7e86ea06dea961456f089fe73aebd28c9e7d886d5fa42164f7c0f7700a8d43a9d58e751944c433e8 SHA512 14b3de61e82a1c7310ba79e48a13f78539b5f544341f43c82d59aac85b53c967b9194e4584b57c33ff88757b645a942658d5dbc012018d3b5dbf04d8611fb671 +EBUILD erubis-2.7.0-r4.ebuild 1048 BLAKE2B 13fb0dbf521fc5eb7a527f32038d51777fab13a9dfb54919bc65ec8441ee23b046cad6052f9239cdf1054e0b42b484f440dbb0f813e6234791a9284f90fc3b58 SHA512 3e4af7c09a48023e83231234006179c76cab36f073728438f58aa4c4a8d649c8faa0f96e0717e89e9cea972fa9cd135f414afa201f2903c09be5210f4b7e17ff MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 diff --git a/dev-ruby/erubis/erubis-2.7.0-r4.ebuild b/dev-ruby/erubis/erubis-2.7.0-r4.ebuild index e33507f6ed62..7a0c8bf54565 100644 --- a/dev-ruby/erubis/erubis-2.7.0-r4.ebuild +++ b/dev-ruby/erubis/erubis-2.7.0-r4.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_TASK_TEST="" diff --git a/dev-ruby/net-sftp/Manifest b/dev-ruby/net-sftp/Manifest index 9dc2dd8f99e6..40802edfecfd 100644 --- a/dev-ruby/net-sftp/Manifest +++ b/dev-ruby/net-sftp/Manifest @@ -1,3 +1,3 @@ DIST net-sftp-4.0.0.tar.gz 63896 BLAKE2B d63d32d3810c05c6ed19d156c87854d09a585a63e651be5984aed22b9a2b82c6c1464dd90fcc07d5586cd171d388dd6874ebe9e4e871012fee1620701f1d648e SHA512 8c4284da3b9143a02d597fc1c2824e5ab96abb38fef932682326443ea949733c4e7513184fb6b5c870d3ff802928e34580d423c98c594cb7a07ad17a50fb5c56 -EBUILD net-sftp-4.0.0.ebuild 906 BLAKE2B 456425ae4d9dfbf2982ae7ac2d119f825c922e88d25dc09c0adef5205ccec156c5f7495b9434cd4012319d4057385c864cc697e28cc033a231c27936c8cfd3fb SHA512 ecd80267936b1acace73b95f28cd33a0956f7a3c2376ef45e8ca942e02143dd34b77a46e2d204d904d2fd728717c0ebc2e6c1675b665e506215fed1ed9f19bf4 +EBUILD net-sftp-4.0.0.ebuild 922 BLAKE2B e85385a983513a8bd21774558aa24b6a441f8f741fdd8247201a449bdbaac5f6f5f10929b61bf657f88de01f758e18dc96ab52babb4d34f132eedcfa3dc40ed2 SHA512 69a48632363f9bc19d6d24c80846bae81da1b13c1b03e17d3d7f2ee7ba31fe3b5294db762f1e20507c0186e658a6fe10a8498393e166c39df5086c531ae67f96 MISC metadata.xml 343 BLAKE2B d8f8b4d01be23a297823cea6c2b63eec73462ed359bc4ff4dc06fdd6c575ccbf9b3864bc0b1fcc5ecfa58ed7f26c1d6ec01a74deda2e03080a58101a9922f91b SHA512 26861b7c5a84bb734dc567514ccd6e865fe809da17af121f317ec9771dc1e4e5b71fcddebb475ec86a2854129b4a9f881a8c6f6531ee001f0b9f910795a0e1d1 diff --git a/dev-ruby/net-sftp/net-sftp-4.0.0.ebuild b/dev-ruby/net-sftp/net-sftp-4.0.0.ebuild index e57454e2f84c..907ca54b8a37 100644 --- a/dev-ruby/net-sftp/net-sftp-4.0.0.ebuild +++ b/dev-ruby/net-sftp/net-sftp-4.0.0.ebuild @@ -32,5 +32,5 @@ all_ruby_prepare() { } each_ruby_test() { - ${RUBY} -Ilib:test:. -e 'Dir["test/**/test_*.rb"].each { require _1 }' || die + MT_NO_PLUGINS=1 ${RUBY} -Ilib:test:. -e 'Dir["test/**/test_*.rb"].each { require _1 }' || die } diff --git a/dev-ruby/net-ssh-gateway/Manifest b/dev-ruby/net-ssh-gateway/Manifest index d129e3d72606..0a5043911377 100644 --- a/dev-ruby/net-ssh-gateway/Manifest +++ b/dev-ruby/net-ssh-gateway/Manifest @@ -1,3 +1,3 @@ DIST net-ssh-gateway-2.0.0.tar.gz 7825 BLAKE2B 05ade5aac288ee634aea37acfc68c9781e8178bf0ef92abafac13858a86ff952a2b30b6f92dc08f3856d9dd02a9795e0b93c15543b932070b9ec3f6a50c03e52 SHA512 6595c2a2a25ca9bffb942497be984773c10746f34e1dbba3d72503cef3c88e5bb50bdc8713c246aa6e38272540fb0ced66a3909bc02df96f511b0dc9fc50d735 -EBUILD net-ssh-gateway-2.0.0-r2.ebuild 921 BLAKE2B 02ba2143b33f02b26115e4099bc57c5d6920d9359cee9307b05ce2f3cbe65c6fc44f57c567dccf816df7bb59ba5822564969a3ca683621522e181bbfa7de4091 SHA512 0159780ebbe32d2d7b3c08f4f7388d71fba02be09cfba88f260b8d588013b3611b5cfd1cab0e81c81e0b7a1ab07fe28c69bab92d8d7ffb7c4c09e9538c988497 +EBUILD net-ssh-gateway-2.0.0-r2.ebuild 955 BLAKE2B 1a3de85a4ea733b686235ce3926ff0bfd537adafabcba79f1f1c3972009d357e589845bc0de159331600adec783315030e84d3efe821505e170afba95fd815ae SHA512 26fcca1277b33f0920913f3ddc64180525f4611d3a429e5c46241e4907d64398a518a04f43a2851be93fddbc5effbc15020393db58801efa743e1a8ae9b6374e MISC metadata.xml 332 BLAKE2B 37be14a34a0886024ca5dcf16c801d5eb44d93aec49cc0f0825ed2aa43c8e59b2dcd0fcb16d47ba330b460b887dc22d29e3479ae25057cae4a5cf06d24d1a63b SHA512 d8e6cf1c5aa337bb3595c7ef78446b2773902b7576166e1cab1a72c0cbdd173e533c8abb71ee4af7818c32b779e9cb1a490c55001c9c04f8a6f4abb931580f77 diff --git a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild index 750661e9ff57..d868b033bf4f 100644 --- a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild +++ b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild @@ -27,5 +27,7 @@ all_ruby_prepare() { sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die sed -i -e '/bundler/ s:^:#:' Rakefile test/net/ssh/gateway_test.rb || die - sed -i -e 's:mocha/mini_test:mocha/minitest:' test/net/ssh/gateway_test.rb || die + sed -e 's:mocha/mini_test:mocha/minitest:' \ + -e 's/MiniTest/Minitest/' \ + -i test/net/ssh/gateway_test.rb || die } diff --git a/dev-ruby/net-ssh/Manifest b/dev-ruby/net-ssh/Manifest index 4aff1b2bef5b..c5c411d440d8 100644 --- a/dev-ruby/net-ssh/Manifest +++ b/dev-ruby/net-ssh/Manifest @@ -1,7 +1,9 @@ DIST net-ssh-git-6.1.0.tgz 220190 BLAKE2B a5ae0f15cf3dac8934de0b3216541415cc947214ea33d57770b5f2bf2594fa5b29b8dd9a417233de0ed243a12cdc547e5e87861767c5bbc65adb90cdbe58a484 SHA512 1d92ad19cb8bf80aec4ada23c49b91588c722551695cb0dd7b2954001fd71b4b4c030f8317b86766451847273c6116baa041c03e2415df2b0f81b20551dd8566 DIST net-ssh-git-7.0.1.tgz 227016 BLAKE2B 98cdbad0c8c52d44f3d4e288de7de0389680c3f77d5cbd33e4a142d1f09881910f2dc74df01ecfed755e2e0ab37440ee19cf436b8aa7c49a3859bf07b3844b15 SHA512 3e41537b3b7e34f043c768959c382f72a630bf3ac430bbbd743323d9b0eade6c7b94f8948418b7f3e1aa2422fcb87829387aaa01e1e384ed297e2397cee33feb DIST net-ssh-git-7.1.0.tgz 229217 BLAKE2B ab3c46d3d8831335495ae72dc60f2659109b66566f04117a16e4fd41085203b6a2d333e65ffcda4e390c96a2b808c68baeb168be1a2e23d4c797ad63b5af93f9 SHA512 723f487e77526a7acba8a9c8f09dd85c8c0bb21577d148f6c4280c79d603d3d364e29fb55b2b282064b5c108465efb2b1da061a2ba5872d575b0be264f493745 +DIST net-ssh-git-7.2.0.tgz 232852 BLAKE2B e1f9910911cc143c1a621d23f272b123509c4f3ede6498197715260e8d89297a8fed9905a0e73436f7ba37159a7b698ba7fd806d44b8b9ea52271f21b7735785 SHA512 b7dd7dc2543d650ba95627c16cac02294f25cc637fcd607f5cc495d51998df958f42cda021708946c9935e1b0da41af359010906340bf96981ff839f6e3278cb EBUILD net-ssh-6.1.0-r2.ebuild 1265 BLAKE2B 48bdcdb585462a553fa5b71b65c5e1ebd55bdbc5dc769e35ee9d9040a7c073458ab48ec12705f1a472913f6ee7cc022c2f00992d02c5d200b2eb5ccc795cfb19 SHA512 5c9be21772ba9a7c24bb7f394cb7f6a08548dbc07812dce94970f9c970a519fbd02e73098b2fa260056785923090518c78f0af57caf1d256584ab5758be04139 EBUILD net-ssh-7.0.1.ebuild 1265 BLAKE2B 48bdcdb585462a553fa5b71b65c5e1ebd55bdbc5dc769e35ee9d9040a7c073458ab48ec12705f1a472913f6ee7cc022c2f00992d02c5d200b2eb5ccc795cfb19 SHA512 5c9be21772ba9a7c24bb7f394cb7f6a08548dbc07812dce94970f9c970a519fbd02e73098b2fa260056785923090518c78f0af57caf1d256584ab5758be04139 EBUILD net-ssh-7.1.0.ebuild 1265 BLAKE2B 48bdcdb585462a553fa5b71b65c5e1ebd55bdbc5dc769e35ee9d9040a7c073458ab48ec12705f1a472913f6ee7cc022c2f00992d02c5d200b2eb5ccc795cfb19 SHA512 5c9be21772ba9a7c24bb7f394cb7f6a08548dbc07812dce94970f9c970a519fbd02e73098b2fa260056785923090518c78f0af57caf1d256584ab5758be04139 -MISC metadata.xml 429 BLAKE2B 12f25e38fdd426b0814611f3036ef401703666e1ac651d807e587187f641736627a35ba117f8707208f07716f31d4df8b471f38dd221fce79109eb2aaa749dc3 SHA512 4c760e2d9799444907f4b05c26ae95b6c18eb108786ce90a5b51c58cc903f4ec90da060556cab72fb80741c3786613589a4d403c64f9b411631d6c4b4ea982de +EBUILD net-ssh-7.2.0.ebuild 1300 BLAKE2B ce6ef15180650e2517612e867bb4eb235812d6f1a055665c195cdd8e10b8a6f4fe88b51da13248845dd1f21356a825ab47146b2ebe8ff99d94c9004762b135f9 SHA512 19a00483e8de7cea3012922f340b424ca3544e010c93760baf25aa5f9ebd4a97b6a356a736ec4cb4f236ba05e348834b385c05e143b8e9fd4298e1fa5aca3d31 +MISC metadata.xml 549 BLAKE2B 5b85ef117ec51ad3407befa78ff010476117b7381fce24e906270163174691d1bfcfe66d3e4cfaad2e7d866bc1fad5e7e5745d6151eefd95d47b665ca8246ac6 SHA512 bc88be266c59878f3a7d17e01e80bedd962cfa4778b539a753340567e2bfac041453ecb35da38e908f182b1c5857d49dbfcc689d08dd6c696ad2e08647d63dc2 diff --git a/dev-ruby/net-ssh/metadata.xml b/dev-ruby/net-ssh/metadata.xml index 12d968ec6663..bc9c39fc40f7 100644 --- a/dev-ruby/net-ssh/metadata.xml +++ b/dev-ruby/net-ssh/metadata.xml @@ -1,14 +1,15 @@ <?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">net-ssh/net-ssh</remote-id> - </upstream> - <use> - <flag name="ed25519">Use <pkg>dev-ruby/ed25519</pkg> for Ed25519 support</flag> - </use> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">net-ssh/net-ssh</remote-id> + </upstream> + <use> + <flag name="chacha20">Use <pkg>dev-ruby/rbnacl</pkg> for chacha20-poly1305@openssh.com support</flag> + <flag name="ed25519">Use <pkg>dev-ruby/ed25519</pkg> for Ed25519 support</flag> + </use> </pkgmetadata> diff --git a/dev-ruby/net-ssh/net-ssh-7.2.0.ebuild b/dev-ruby/net-ssh/net-ssh-7.2.0.ebuild new file mode 100644 index 000000000000..3956989f86d6 --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-7.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Non-interactive SSH processing in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-ssh" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="chacha20 ed25519 test" +RESTRICT="!test? ( test )" + +ruby_add_rdepend " + virtual/ruby-ssl + chacha20? ( dev-ruby/rbnacl ) + ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/x25519 dev-ruby/bcrypt_pbkdf:1 ) +" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die + + sed -e "s:require_relative ':require './:" \ + -e 's/git ls-files -z/find -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +src_test() { + # prevent tests from trying to connect to ssh-agent socket and failing + unset SSH_AUTH_SOCK + if ! use ed25519; then + export NET_SSH_NO_ED25519=true + fi + ruby-ng_src_test +} diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest index 934d6ffe2971..7cd6a0bc03e4 100644 --- a/dev-ruby/nokogiri/Manifest +++ b/dev-ruby/nokogiri/Manifest @@ -1,13 +1,9 @@ DIST nokogiri-1.14.2-git.tgz 10446957 BLAKE2B 0c72c520642bfa3e69a38f5dba8783a4f749d6ab97cf7531432fcd1f5dfba0aeebd2bf49dfa07aed601093f8ad88bc3dfb57c1a901c7e140aa8265749f4ad724 SHA512 18f16e5609e251c6e08787616aa3f444dac1f5f9d9e3bf8f21ce3b95870ce133187d0df02d03ee854fc87a3da04f886600667cec6832c8e8cfe87c6114672916 -DIST nokogiri-1.14.3-git.tgz 10446988 BLAKE2B e93caad3b807e74b79204d3272c52d1a33ce2189b65de8d126b0b7476edc1b4b0c4fcd1142c38e40beeab56bcaa605ba7d30f9777542979d60e2e5dda3877eb7 SHA512 93ebc7118e364eaa97030a10cd6dc5b4312483a432f267d65b6a091b22dd355d0c1a490b336981f1b284059ba3420c73d31254a91531f295a60583db26a0d331 DIST nokogiri-1.14.4-git.tgz 10767764 BLAKE2B b0983b5537ea6ffc86431740e2277bb58ab45a237e47af9a8ef3e98f73872ee81dbd13ae6a9508845dc3d3ba84dc101763e674400e4e5ce98b31defcbbea678d SHA512 09e8bdb660dd2e4340d0bdc701909f066234e70754ad799e21f1462d06f76500ceaf3da074cf792fa690f4717f1126e041a6f3247fd32f5a806404447bdb68be -DIST nokogiri-1.15.1-git.tgz 10766136 BLAKE2B 60e86e819aceada10cee805928d1e451ec052ebc16c1577aa22198c1dfdab2ece0462ada4ecb80b77f838df8ce7be8c5a6006ad1039341303d9d1574c825ebf5 SHA512 1e57aba16507ae6b760cbf94ca2260f826479d37eac34ddc0e9a0ff2cd3520014b402d2d571516b8ccf486b085e7ee27779cee992c04fe8f20f7f435121d3bbf -DIST nokogiri-1.15.2-git.tgz 10766215 BLAKE2B 76ac705456790187a9487e8e786bcb2f9e34df3b26b8c2d9942545fba89735dd9493494e1c681b8721fbeab4087a24ff240619654a655d2eb6fe328ba42d7d98 SHA512 12faecdea2f4c06e270de09412f116f0a9ec494a266b0f38938ab3866164485c425189e93cad1d9b682aec2d65c6ec6c3dc76f32e2221510d8e1c1b2890152e9 DIST nokogiri-1.15.3-git.tgz 10767496 BLAKE2B d9d2abd3f57fd3f9e3e49e38de7559d5d9bad278166b4108d2edf4f90884256c01bf574cec8a15b6f30420c9f4d501707b710e3af0f32dc5cbcc01b4433c6662 SHA512 9084e97c81bca52c19cf2cd47dcf0d3377705ceda559399aa1cbf1e112845b2a796e34576f08a073377fb523a7a298254bda91563929535734700c31c473cb49 +DIST nokogiri-1.15.4-git.tgz 10767816 BLAKE2B fe35809f62279ded261c655cc589fdb3447514f6525b62d591da58f91cc9dced34f5ac3e8bde180944ce23a67f56b2f93c90ac9cf69699e331dceee1ea259408 SHA512 f255a51053c55151c6df8937a979833571e2cbc8a25d032674d71d1303267ed4d3a1226d0995e54d9a152f237b31e7fe85e70fb976578902234eb5a2f4f3ce2b EBUILD nokogiri-1.14.2-r1.ebuild 2753 BLAKE2B a0ed06258e80b17ed4666fa05c7f1af9bb6f3cc39860e143a31c11dd5c96332688146d3b7bd7111b30ce7fa7f2c7c7c218e15523847512eff85bbd35f08b760d SHA512 11d8f831c1e0044cf8cde68b1573d39fa6217b1673be9e5e10771c6bcd4df8db75f995e7312b5443833064a03a105dcf813ccda80ad499f97e7e652c9f308eb9 -EBUILD nokogiri-1.14.3-r1.ebuild 2825 BLAKE2B 3f79ca7448219af1adb4209310514b4915af04d83ad8c93fcdba1b9e2db2ad6866a23c33727cd891db2e54cd8607ec991cc698001633ecf2bf583181e1534c42 SHA512 dceab9f1a3f00047561f44353cfb1be5d35067af1c9df169895c645656ee72e4e5e2d554821f18c43e58c8e0ee75c2f977de27a703e1ff010c8c8b91a5e15cf9 EBUILD nokogiri-1.14.4.ebuild 2818 BLAKE2B 3b89b5e9c31e1e57f8cf11239bf046e92f71323e55b4a861ca2ed60a301bfb04c0a8d0d9d22fd7ec77ff63ef1f420aac6d1d2aef88b423be07ec1cd9ac6edec5 SHA512 52e53a7ef41f268f1384813761d9c7954ffc6551b7288c70917568a8223c4fc5fa9648fe097bcd520f7e5728c136cb5e8fd9488ba6cfe4ae1d11262517259a3f -EBUILD nokogiri-1.15.1.ebuild 2703 BLAKE2B a70dcdb87c00133bf435d7f21bb93449796ae8f6637072aed3ba0baf64f45d430d981f3882d38fea5c70f7286a7d2603a15b65ed3891e0050fccb250c54082e1 SHA512 45442ef6bc86b760ae5ff5f53b00884c7a574bea2b9c20ca7c3443460965977c8c55b2137a11d64d16d1d1ad2cee51c037cfe51f2645066c250ebcaeb866328f -EBUILD nokogiri-1.15.2.ebuild 2703 BLAKE2B a70dcdb87c00133bf435d7f21bb93449796ae8f6637072aed3ba0baf64f45d430d981f3882d38fea5c70f7286a7d2603a15b65ed3891e0050fccb250c54082e1 SHA512 45442ef6bc86b760ae5ff5f53b00884c7a574bea2b9c20ca7c3443460965977c8c55b2137a11d64d16d1d1ad2cee51c037cfe51f2645066c250ebcaeb866328f EBUILD nokogiri-1.15.3.ebuild 2709 BLAKE2B 31a65f459539ebf4ab38dc266c45d28896b9b55e4fefc608a7a2ddf110a8f44750e8e3d25f937165d4d274e5fddf1e09b12fbc994e22233cc8c7a86b95e12f1d SHA512 4881ef27cd90f8245db9f97a5e0bf02d53b428d0e6e52a81ab2d8ed3b417051b6e63538cdea0dc55cd6f99f85095a4e4a1e6ee38ab4871328e0ffaeb2b7bde36 +EBUILD nokogiri-1.15.4.ebuild 2725 BLAKE2B fae2cf3841a75e8971fb765db24eb3ab2948df06405561a2365b7a5b37be950331fe5960d393892ed00ffb37c73045ec16949363ab3e5c331c0317906d49b706 SHA512 97f0a0fc75c85dc646cace0560ac02645f4f8fe19309645de2aec3c17f0d0363526ee1a927c688d4d74bf2f81e2db3560e740a162a1b0186b93e84f824edd974 MISC metadata.xml 349 BLAKE2B 824094b81182da6ed2c43f55f8697dbf614662e1e032ed62bcf8ec4ef8fb6e6a1bf346f90863a8cb7d6cfaf2696f0be70fd3027d6d01e583bba0c1334252447d SHA512 9ab17ab504279d8d1ea584f7a6f411fe778b89564016dc0d596ec7f714cf9ad80ed5e30c179ec6aa190bafe8a8b72bfdc5a964d213a8024783da246bbb817629 diff --git a/dev-ruby/nokogiri/nokogiri-1.14.3-r1.ebuild b/dev-ruby/nokogiri/nokogiri-1.14.3-r1.ebuild deleted file mode 100644 index 666056df9cfd..000000000000 --- a/dev-ruby/nokogiri/nokogiri-1.14.3-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md SECURITY.md" - -RUBY_FAKEGEM_GEMSPEC="nokogiri.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/nokogiri/extconf.rb) - -inherit ruby-fakegem multilib - -DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser" -HOMEPAGE="https://nokogiri.org/" -LICENSE="MIT" -SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -SLOT="0" -IUSE="" - -# https://github.com/sparklemotion/nokogiri/issues/2865 for libxml2-2.10* dep -RDEPEND="${RDEPEND} - >=dev-libs/libxml2-2.10.4:= =dev-libs/libxml2-2.10* - >=dev-libs/libxslt-1.1.37 - sys-libs/zlib - virtual/libiconv" -DEPEND="${DEPEND} - >=dev-libs/libxml2-2.10.4 =dev-libs/libxml2-2.10* - >=dev-libs/libxslt-1.1.37 - >=sys-libs/zlib-1.2.13 - virtual/libiconv" - -ruby_add_rdepend ">=dev-ruby/racc-1.4:0" - -ruby_add_bdepend " - dev-ruby/mini_portile2:2.8 - >=dev-ruby/rexical-1.0.7 - dev-ruby/rdoc - test? ( dev-ruby/minitest dev-ruby/rubyzip )" - -all_ruby_prepare() { - sed -i \ - -e '/tasks\/cross_compile/s:^:#:' \ - -e '/:test.*prerequisites/s:^:#:' \ - -e '/license/ s:^:#:' \ - Rakefile || die - # Remove the cross compilation options since they interfere with - # native building. - sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die - sed -i -e '/cross_config_options/d' Rakefile || die - - sed -e '/simplecov/,/^end/ s:^:#:' \ - -e '/reporters/I s:^:#:' \ - -i test/helper.rb || die - - # There is no need for mini_portile2 to be a runtime dependency on Gentoo - sed -i -e '/mini_portile2/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_configure() { - NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ - ${RUBY} -Cext/${PN} extconf.rb \ - --with-zlib-include="${EPREFIX}"/usr/include \ - --with-zlib-lib="${EPREFIX}"/$(get_libdir) \ - --with-iconv-include="${EPREFIX}"/usr/include \ - --with-iconv-lib="${EPREFIX}"/$(get_libdir) \ - --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \ - --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \ - --with-xslt-dir="${EPREFIX}"/usr \ - --with-iconvlib=iconv \ - || die "extconf.rb failed" -} - -each_ruby_compile() { - if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then - ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed" - fi - - if ! [[ -f lib/nokogiri/css/parser.rb ]]; then - ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" - fi - - emake -Cext/${PN} \ - V=1 \ - CFLAGS="${CFLAGS} -fPIC" \ - archflag="${LDFLAGS}" || die "make extension failed" - cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die -} - -each_ruby_test() { - ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die -} diff --git a/dev-ruby/nokogiri/nokogiri-1.15.2.ebuild b/dev-ruby/nokogiri/nokogiri-1.15.2.ebuild deleted file mode 100644 index 460ca3cbae15..000000000000 --- a/dev-ruby/nokogiri/nokogiri-1.15.2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md SECURITY.md" - -RUBY_FAKEGEM_GEMSPEC="nokogiri.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/nokogiri/extconf.rb) - -inherit ruby-fakegem multilib - -DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser" -HOMEPAGE="https://nokogiri.org/" -LICENSE="MIT" -SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos" -SLOT="0" -IUSE="" - -RDEPEND="${RDEPEND} - >=dev-libs/libxml2-2.11.4 - >=dev-libs/libxslt-1.1.37 - sys-libs/zlib - virtual/libiconv" -DEPEND="${DEPEND} - >=dev-libs/libxml2-2.11.4 - >=dev-libs/libxslt-1.1.38 - >=sys-libs/zlib-1.2.13 - virtual/libiconv" - -ruby_add_rdepend ">=dev-ruby/racc-1.4:0" - -ruby_add_bdepend " - dev-ruby/mini_portile2:2.8 - >=dev-ruby/rexical-1.0.7 - dev-ruby/rdoc - test? ( dev-ruby/minitest dev-ruby/rubyzip )" - -all_ruby_prepare() { - sed -i \ - -e '/tasks\/cross_compile/s:^:#:' \ - -e '/:test.*prerequisites/s:^:#:' \ - -e '/license/ s:^:#:' \ - Rakefile || die - # Remove the cross compilation options since they interfere with - # native building. - sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die - sed -i -e '/cross_config_options/d' Rakefile || die - - sed -e '/simplecov/,/^end/ s:^:#:' \ - -e '/reporters/I s:^:#:' \ - -i test/helper.rb || die - - # There is no need for mini_portile2 to be a runtime dependency on Gentoo - sed -i -e '/mini_portile2/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_configure() { - NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ - ${RUBY} -Cext/${PN} extconf.rb \ - --with-zlib-include="${EPREFIX}"/usr/include \ - --with-zlib-lib="${EPREFIX}"/$(get_libdir) \ - --with-iconv-include="${EPREFIX}"/usr/include \ - --with-iconv-lib="${EPREFIX}"/$(get_libdir) \ - --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \ - --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \ - --with-xslt-dir="${EPREFIX}"/usr \ - --with-iconvlib=iconv \ - || die "extconf.rb failed" -} - -each_ruby_compile() { - if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then - ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed" - fi - - if ! [[ -f lib/nokogiri/css/parser.rb ]]; then - ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" - fi - - emake -Cext/${PN} \ - V=1 \ - CFLAGS="${CFLAGS} -fPIC" \ - archflag="${LDFLAGS}" || die "make extension failed" - cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die -} - -each_ruby_test() { - ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die -} diff --git a/dev-ruby/nokogiri/nokogiri-1.15.1.ebuild b/dev-ruby/nokogiri/nokogiri-1.15.4.ebuild index 460ca3cbae15..880304279034 100644 --- a/dev-ruby/nokogiri/nokogiri-1.15.1.ebuild +++ b/dev-ruby/nokogiri/nokogiri-1.15.4.ebuild @@ -18,17 +18,17 @@ HOMEPAGE="https://nokogiri.org/" LICENSE="MIT" SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos" SLOT="0" IUSE="" RDEPEND="${RDEPEND} - >=dev-libs/libxml2-2.11.4 + >=dev-libs/libxml2-2.11.5 >=dev-libs/libxslt-1.1.37 sys-libs/zlib virtual/libiconv" DEPEND="${DEPEND} - >=dev-libs/libxml2-2.11.4 + >=dev-libs/libxml2-2.11.5 >=dev-libs/libxslt-1.1.38 >=sys-libs/zlib-1.2.13 virtual/libiconv" @@ -91,5 +91,5 @@ each_ruby_compile() { } each_ruby_test() { - ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die + MT_NO_PLUGINS=1 ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die } diff --git a/dev-ruby/rack-protection/Manifest b/dev-ruby/rack-protection/Manifest index 0c8be411e9df..e12d13d36c95 100644 --- a/dev-ruby/rack-protection/Manifest +++ b/dev-ruby/rack-protection/Manifest @@ -1,7 +1,9 @@ DIST rack-protection-2.2.3.gem 17920 BLAKE2B 7a66cf4d5de68acd3ef4c7db2485657ce226e3101660f4f15bb3a8ab937785211055e49d676cf73cf52d4896e787d8f78a62099549a4ff846b5963c4247b5dd3 SHA512 ce41e1e61016090125557d8211b65b0fc9d545fac6c42f64fb3f48ac0fea56689e17acf7aca6cd82137ba7384c559ac47ac9995f57068f3f216ae61b7fe8953d DIST rack-protection-3.0.5.gem 20480 BLAKE2B 1fa11760c6ddac58234ffe2e6d783c985e29b5e2bd10ea21b0782f7824b5930351c8e32c9401b6276ef028adcd8b25ca4458333d8008a554c413f54315ff8809 SHA512 4ed0ee9e8fe08532ff7f2905251af110f3fff0e419da5be50ae3e5a90906e43c39cf8edc219fcfe3e27a72591500c040afcc9552da875773375b170fb91aa9ff DIST rack-protection-3.0.6.gem 20480 BLAKE2B b29d8b87dd7bc4629d97923a448feacb53ae62f8d3753b44a627db742e3065eb1d09846e0be9131b02c83a32e1241154a844fcd5a5a7e708039cae7f6938fbb8 SHA512 4763a0439a3d99cfd799325004c7e6cb46783b3fcd77ea0df08caa6b5cdfc95c6ec96791d79261a0d7df26eb0b084e7ead2cceb05b589617159e948b3172e564 +DIST rack-protection-3.1.0.gem 20480 BLAKE2B ae5a784eb7420b756d15b251ebc981197f11979e76fed2ad42eb0bcf84719f4b9ab9d68a40ac9ee8db392ad7a8c45c8d4f03de2efb0375dbaa131ec5ff2022e2 SHA512 18a5ffe614a906ca876926bff3e4d1657f0b6963005ee32de80d0ab987b9465f603b30d69f07fd8d8a1ebf4fa85eb89bfd0b607d72387b360d13bea113a63ef7 EBUILD rack-protection-2.2.3.ebuild 680 BLAKE2B 065cd779516814a13b226f0cd57746bfc7250fd92050a726335934a7784db7f84e347c1a2682aa1e24197806206e2633475fddfc2a17ced1340b92b3a53c1633 SHA512 f05c8b8370644997760ce93051ffe95b956c27d14fd5f96bc14673dc8a0fa9d89e4a5d419da8941d274201b767f933015085ff2b6a477565808fea2754ca26eb EBUILD rack-protection-3.0.5.ebuild 687 BLAKE2B 3fbd64208cdd11352d0167bff0e79368cccc5e9c9412fd9ea41181d1818387a717eb1d9ffd2c96773e05a2d8f29d2922b653c6d56b782f3971c0ac3daf8a87bf SHA512 da65a4718916a63c166192a60b0c75f339d82ac5867b8e20fdd2400d3a5517c79baa166ad82bfc7d3c760a437d8ec7da86da8ee50eec16f88cab391e22794c9a EBUILD rack-protection-3.0.6.ebuild 675 BLAKE2B e69c067b3ef80574a31553da3ccb165b4dc61d6c7035f554f19b92876802cb447b4790d6dd678f3dbef3d093cf75a3a5433eb3855b1ea00f2f7c68d3b9980c6c SHA512 be3183f64b6a71c85c1b3b5cc0e5468eebe4906669f3d49f3a7a9460558727a8212fe2e339f3b78fa1576f1cb2f7e9dff62fe91e0882050405112fb7b1e50533 +EBUILD rack-protection-3.1.0.ebuild 676 BLAKE2B 48dd4c173b14b55f6318843fd26c38d8d54df8aa53c81b7911ec9807929c878529ae5f708feed06020a0fa4a34f1472777d715c4e2a74eba3fb0e4b284a97415 SHA512 f94c27d9ccfb41ead2d9a351adbcd4edbb7ed7ae4865cad9db26223b1984bd10998a18996dfe4c88e2d8975f27ea05e178387b55a98ae38e1a57d131b7e3ee5f MISC metadata.xml 499 BLAKE2B b4ffc4bd6648aceab123ec88c266a44ed91ba6c44fe6499c903beaedccddab06e72c8d648a2811db37e8dbb534985611482f7c6c3f766a644afb79cadb8cf2dd SHA512 2766332950c09bb9b1bf99a63ecae4594b755c94db065c0c0201a4ad1fcfbf3880739ecccb30162e413f5c2d80bfac78e89227a941b743793926124c56c4a54d diff --git a/dev-ruby/rack-protection/rack-protection-3.1.0.ebuild b/dev-ruby/rack-protection/rack-protection-3.1.0.ebuild new file mode 100644 index 000000000000..d1d2be4d588d --- /dev/null +++ b/dev-ruby/rack-protection/rack-protection-3.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +# There are no specs in the gem and the source cannot be downloaded separately. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="This gem protects against typical web attacks" +HOMEPAGE="https://sinatrarb.com/protection/" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rack:*" + +# ruby_add_bdepend "test? ( dev-ruby/rack-test )" diff --git a/dev-ruby/rss/Manifest b/dev-ruby/rss/Manifest index 0b2e7ab6f9e7..15c228e0552b 100644 --- a/dev-ruby/rss/Manifest +++ b/dev-ruby/rss/Manifest @@ -1,3 +1,5 @@ DIST rss-0.2.9.gem 106496 BLAKE2B 4b8b4b8fc59f05b7ed513294a809b0961dcd0c8b94cbfff3cbb09102a9ad056063c4b2a5d00b30e2eebc76701b10c3b28125ba2daf49fb420c5ff37a47dd600b SHA512 24d983ae2ee8570c3e433675f9cdacd1c35d6160beb28689a0f8cf446b6b465147bef68dab644a85cb089870d6a9fb2df85cbaed12ed4d6a6fb2d07b12c6ca3f +DIST rss-0.3.0.tar.gz 107114 BLAKE2B a66d1b317e3dd9016f6cb4942e1daed215622b54c50bc5a318d16c145ec20ca7c0bdf330d173ff5484aa529c293fb4391896fda8127ce00cd865fddc17918e30 SHA512 86b7097e3dcf0da03284b44493be43e972a1facb2f20e81cc3303ea0c39336a364858f3d37e04a2397851ca897bd484284eb81cd6d6b55f4c0d77d811350688e EBUILD rss-0.2.9-r1.ebuild 699 BLAKE2B 0c92d24de4e38ca9a9917e62de23edafa1e89f421760ab29923075d5635356b94dd41fac75eb2d5ee6b500029681517158639c4529b883ee0bea7902a592bbf2 SHA512 23e7451f5d5c03df49b69d21a5fd4afa60e91218cdce85a01dfbfca7ed1525315dcce7dc0eb711859d5e39d92ff29e14b4451de405c22ce065a820c91e145fcc +EBUILD rss-0.3.0.ebuild 884 BLAKE2B 5a3a0a6ffd481a2a3046cb0cc57c8e812e9091074d88b4bdc8606fe3452746d82b97a3e1b5db6969e8641efbf6f0e9056c45926171d71667f3feef1eb966d838 SHA512 a0618b355fa8509d166311d056b306544373844b2698af8025fe3dc9684cf94168d0dd4431ea1be196582fa4308fd639cf41d9d7910b103b34169cc8b68dd9b4 MISC metadata.xml 335 BLAKE2B a4cefa8040b63721568b44ec0d9b2920e880969e3d49ca9ac158a07e54f2328b6cb99e850a44ec5dc23adfd0e28e3d3ff302882db7da8cc1c91e74866679dbe9 SHA512 694be4f3423ef006a502a8a665af4255dc2e44e8cef1f0cad2a59335a0f94147f6489ad84324244b2fb3d303d557f8da87297d439822b544ba849554a9955bec diff --git a/dev-ruby/rss/rss-0.3.0.ebuild b/dev-ruby/rss/rss-0.3.0.ebuild new file mode 100644 index 000000000000..0e4f35a02554 --- /dev/null +++ b/dev-ruby/rss/rss-0.3.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" +RUBY_FAKEGEM_GEMSPEC="rss.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Family of libraries that support various formats of XML feeds" +HOMEPAGE="https://github.com/ruby/rss" +SRC_URI="https://github.com/ruby/rss/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="0" +IUSE="test" + +ruby_add_rdepend "dev-ruby/rexml" + +ruby_add_bdepend "test? ( dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/^helper.install/ s:^:#:' Rakefile || die + + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/serialport/Manifest b/dev-ruby/serialport/Manifest index d64e6f6916ef..7067f813deda 100644 --- a/dev-ruby/serialport/Manifest +++ b/dev-ruby/serialport/Manifest @@ -1,3 +1,5 @@ +AUX serialport-1.3.2-clang16-build-fix.patch 428 BLAKE2B 6dea3ea254b19cfb8b4b7ee0844b648d9dd9bb12e4bb508bfcbe62c5cadcc2041b4caac590ee5d08c7cfb1874e32dc21de7a9fd7c4c669095cb0051ef37dc4be SHA512 6ae14305ffd30d4024e21e9d5fd8d049c5dead1b0b01a366435322698d4fba0acbb3305a371259619aba95559c208f4c707b7b38dca69a9ae9e594205b1ed202 DIST serialport-1.3.2.gem 25088 BLAKE2B 035e7bdb8ef321fb67ec63283c0e4c8fbf8f909ea3495994716b95cc55f212561a09a87352aed67290d96b54bb26b7802e5ed37c27e67291d768d7eb6d30850e SHA512 ff78fa04183108c2e9c5eb4f0caa9f8072a693a2a120ca084476b4125ca32ec67a6fb268bedda3ca142a9a397dbc585dffaab88f339fccc12e5ad03a09d4c28c +EBUILD serialport-1.3.2-r1.ebuild 804 BLAKE2B fa5f8025aa58eeaf9572b1fe71ee54827aad78798352275b53c7b990455941bd742507b0af4c772119fe28bc83a3de7e813fd41d74fd461c1b644985c11ce985 SHA512 c6da590ec87a9c1130b934486b64f7f19acd195d607a1a07def005f06ed2f325b2e477f6dc422beb8478d54f235fa4a0952eb68920a0ed26aade0ddbf71441b0 EBUILD serialport-1.3.2.ebuild 752 BLAKE2B 5e06e384ded36fc82eaa78f6f7ef85fcabbaae4f2cf84cb70b622d2fd72d1273d71c86ce162f81cc5efc16ac8b2af2c98397bd2edf02a4214910a720b3dd6377 SHA512 26a43470edc3083e8bf40bfa79c0af2988565702e1f6a6dbdaaa91d4f20fa196ba6be61f6ea8d9bb44293098ba0e88525bb93024d05768c710e141c3f49fc2ca -MISC metadata.xml 252 BLAKE2B 77e9556ac1d210367a95f4c47816618b685c707cf01d1543d988338e14794fb9ccfb9976ebd11f389db618616d91ee024d8e46dc3a1a356ba7a017a7796b44d1 SHA512 0a970a16d73747993198dd301a3127cef7e65a9f46816b40ca149669ba617826c1d81bac1e5ecf93d16079922964923d37301cd8160f22c823c1ec3b79ee56f1 +MISC metadata.xml 349 BLAKE2B c7564017cb010dfb71882f21a24d3f5842450cf5ae0d937745c2139913ac5ea2909b99989bfa92eed299ccb0b8adc82d5ad270081887e50f7bf11296097c0ff8 SHA512 4bd626072beef251443974e36503ccd25e1e5d4fb46f779ce2d8d4d0112daf22e545778c8a5b6684740ff7c07f00d3fc90cadce85b22f446b66ab2595abbf4db diff --git a/dev-ruby/serialport/files/serialport-1.3.2-clang16-build-fix.patch b/dev-ruby/serialport/files/serialport-1.3.2-clang16-build-fix.patch new file mode 100644 index 000000000000..9dd22090541c --- /dev/null +++ b/dev-ruby/serialport/files/serialport-1.3.2-clang16-build-fix.patch @@ -0,0 +1,13 @@ +Bug: https://bugs.gentoo.org/883127 +Upstream PR: https://github.com/hparra/ruby-serialport/pull/75 +--- a/ext/native/posix_serialport_impl.c ++++ b/ext/native/posix_serialport_impl.c +@@ -110,7 +110,7 @@ VALUE sp_create_impl(class, _port) + struct termios params; + + NEWOBJ(sp, struct RFile); +- OBJSETUP(sp, class, T_FILE); ++ OBJSETUP((VALUE)sp, class, T_FILE); + MakeOpenFile((VALUE) sp, fp); + + switch(TYPE(_port)) diff --git a/dev-ruby/serialport/metadata.xml b/dev-ruby/serialport/metadata.xml index daac6fdb7252..c8a4b8ba58d1 100644 --- a/dev-ruby/serialport/metadata.xml +++ b/dev-ruby/serialport/metadata.xml @@ -1,8 +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> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">hparra/ruby-serialport</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-ruby/serialport/serialport-1.3.2-r1.ebuild b/dev-ruby/serialport/serialport-1.3.2-r1.ebuild new file mode 100644 index 000000000000..2825b5e4e88f --- /dev/null +++ b/dev-ruby/serialport/serialport-1.3.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_EXTENSIONS=(ext/native/extconf.rb) + +inherit ruby-fakegem + +DESCRIPTION="a library for serial port (rs232) access in ruby" +HOMEPAGE="https://github.com/hparra/ruby-serialport/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${P}-clang16-build-fix.patch +) + +all_ruby_prepare() { + # Fix the miniterm script so that it might actually work, we'll + # install it as example. + sed -i -e 's:\.\./serialport.so:serialport:' test/miniterm.rb || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc test/miniterm.rb +} diff --git a/dev-ruby/sinatra/Manifest b/dev-ruby/sinatra/Manifest index b6447ad86d00..57245a5914ff 100644 --- a/dev-ruby/sinatra/Manifest +++ b/dev-ruby/sinatra/Manifest @@ -1,8 +1,10 @@ DIST sinatra-2.2.3.tar.gz 513333 BLAKE2B 925b3188cb3f63d58a1078845bf58c6684e176527f29bdb0507e2185613b35930345ef1143319b3bd53170846cc67c8e8ce92b036e39ad03fee0f4f361a2aeaf SHA512 666b7a7fec67b4976ec10a704f1e98f9e815cad887ecaaf5bdee6cb0b5f4e29d99ef806865bc5b8e61d2aedea5b343c14f342d03515f0f6c68de3dc905fe77a1 DIST sinatra-3.0.5.tar.gz 266205 BLAKE2B 16e0631ed49e62610c7bc1e43f03f21f57ee968b0f3ac98b599748e9572cc0bfc9121dc8731a0dcc9dd1bce04837373f93f198bff56c0de9f50932711b4040e8 SHA512 9ec41c3f0c4e4faaa181fddb2fe3262796a29e93fc07349422ca20dc845632c127c3e82e67f16ca19d2b2bcd43ad48fdca918d70b6747d8a2088ce1c84fd8eb2 DIST sinatra-3.0.6.tar.gz 268815 BLAKE2B 2993a4c28ad4559e65e6e0dc4e5f9bc25f4118f1f0d5462e0469808e873197823a13f682abb4762426860322df4408faddde037f120d370d0e206abc2b1753ef SHA512 83643b634d2a992144ced65fc1466fded29bf6fae2e20f359b2d440c46013df26f4595f842cbed36319c5278beb77383eea6ac6eb4281f508501cee4e1c6e67a +DIST sinatra-3.1.0.tar.gz 272066 BLAKE2B 4bae4e3356adaec8f347dfc25ab9311f6740ff4f5c1486c7230269df0154e8127a4f61f6ebf47098f24848381a6e8e82429184c431cfb89c8beb9e4838135456 SHA512 b0b82a5319caf5768c830b2929f76a4fc9414adff4c32d6723a439747f756d2467c12b1391557a1afe31e5f8eab99872a51dadb59cf1cf8ace373e7a92dd5eb2 EBUILD sinatra-2.2.3.ebuild 1169 BLAKE2B 945caba2ba540c84ce59ca0394ecefd9593017f8e638a4b5569db6b949cac5d27b28fff3d3938b80ae8e8ec15fbcafe49d51499c52e57ced4ca56bcc1cbaeafc SHA512 2597953c54e9550cc5574b5a64ee1918b8aea67d07e380886800d93efe06455daf5ddee033cebd350f07599d16c27c7a0d8a2092fcd1277009876df8bef47d68 EBUILD sinatra-3.0.5-r1.ebuild 1418 BLAKE2B 271aa29633cc26f9c208b5c393668fa0cc61824120842252503c4357f1b22026174f605f32b57814d999061377ebff5f43e6a5108201d8477740026283f9c059 SHA512 7139b0120f2351b8156cdf190cfff9f889208293c79d4348cef2663667d0c2bc0b3d1bd300b9221e3cff79aa9a6a60a6ba859da9730501325886e388e5cf4fe3 EBUILD sinatra-3.0.5.ebuild 1162 BLAKE2B 03a501a76198e2062f4fcc7119ec7ab80f8a99b6c6101fe54944a13890feba4a9e138fa6b2c3874051b2da0bd5a7be7270fe54f5dbb8173dd1314fd92ce97c9b SHA512 5ecf1151fb089075004c87fb97913dc8ddb344f93cd1765c2b48af364bf75c6df5f9ebd02087e25d87d23275daf02a1db464cd86c2fb074b1d683b2d8a388a05 EBUILD sinatra-3.0.6.ebuild 1261 BLAKE2B cf05bb00adf64ae7864854e9e7f97354f58f97c44fe06573d764f4e9241575016b9ef541ff783f8abb5fd208afbbe23ceda5e91f20b6d9c040e524a27305ff63 SHA512 5beb059d51e4bb3948b91d38051687d6a1736eb0ce410d6dff4ebb640aa30ee76dd1874cadf88bbfcbae27418514ee6b484d53bdc741494dbd46d9ea0441529d +EBUILD sinatra-3.1.0.ebuild 1262 BLAKE2B 9383e9cd6fa98e3c12da36cc6e61232e9c3223a7c3d8760a233c059c6cb8a8e2018756a220393c62cbb276be3c5075d32460933bb83db5b3bfa2db58d3395432 SHA512 307fde1aa61220863b59d833bab2306cb71b96ce0f497d5886d612ab5ea1e960d7b2250c50cf434146144187cc59e29538f4216f118fc933b99019d97935afd5 MISC metadata.xml 393 BLAKE2B 730e333a7e2203f0219040e53c2ddd3a894af807a242e62df1fdb94a2eee0350c52348a55699c80d4674f0b6024875627f68e2061b740dced0e2ebd2155e5b38 SHA512 fd922f80dcd2c7c663506680f9b6d86f810c68d1c6f81480063d3c20aa561a972f0fe837dbc636848191092c7b599d7e330ffe296e41c0da6f46dba68d2cea7c diff --git a/dev-ruby/sinatra/sinatra-3.1.0.ebuild b/dev-ruby/sinatra/sinatra-3.1.0.ebuild new file mode 100644 index 000000000000..685935e657d0 --- /dev/null +++ b/dev-ruby/sinatra/sinatra-3.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test:core" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md" + +RUBY_FAKEGEM_GEMSPEC="sinatra.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort" +HOMEPAGE="https://sinatrarb.com/" +SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/mustermann:3 + >=dev-ruby/rack-2.2.4:2.2 + ~dev-ruby/rack-protection-${PV} + dev-ruby/tilt:2" +ruby_add_bdepend " + test? ( + dev-ruby/builder + dev-ruby/erubi + dev-ruby/haml + >=dev-ruby/rack-test-0.5.6 + <dev-ruby/activesupport-7 + ) +" +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i \ + -e "/require 'rack'/igem 'rack', '~> 2.2', '>= 2.2.4'" \ + -e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' \ + test/test_helper.rb || die + + # Avoid spec broken by newer rack versions, already removed upstream. + sed -i -e 's/"bytes=IV-LXVI", //' test/static_test.rb || die +} |