diff options
Diffstat (limited to 'dev-ruby')
38 files changed, 718 insertions, 151 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 0f95742371b6..8d7dcf2e8c8e 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/bundler/Manifest b/dev-ruby/bundler/Manifest index 471f34c10bf2..fd07569d7300 100644 --- a/dev-ruby/bundler/Manifest +++ b/dev-ruby/bundler/Manifest @@ -8,6 +8,7 @@ DIST bundler-2.2.33.gem 401920 BLAKE2B bfdb62c86449683d479f735ff6d65d33576ff03f1 DIST bundler-2.3.26.gem 411648 BLAKE2B 5ea0ff86e0e09bf0466e4bb21502a13519515f312b3df62024f0d293a51237eb30a5b3c349fb867e9b8dbf0e50ede5bc12b14c5cc6014a717d55534bf46d18f5 SHA512 03c6310c63ec4d313d48ecb15e784ae9cb2d2cb2cefc75752bbb7c018eeec45d534259646d525e486cd746ee8c179312c167338875e13f826994617622d2330d DIST bundler-2.3.8.gem 403968 BLAKE2B 80640d5032034be0511762c60832c85c65b7b97397eca49d2bc35977a85625104477606abd6d8b286dd4697906a5d97076cac30f7ab58f45b258ba1e637bbc2c SHA512 e04bc9762135bdab7eb70bde4f21289375b7ea9bee795775dc614f31a6f145a5406396dbc638bdac778ac7c39d60c953e5ba38376b8bc72e7a8cfd1c40b25585 DIST bundler-2.4.1.gem 408576 BLAKE2B 8bd574023dfdffa9ab02b4a0f86c922cf3c8bbcebee3b9ad77b9eba748a81219f8fbccb3eac667922e7dc23f73212e9f42f04eae6ee99b1869ab40537365e8f2 SHA512 244cf923838c9e2001fae5533df66457953d93943fc9a2c587a1d36b1aec3385a7cd50680bd0fe14e8abb2dc11b11a8636a1e1c0d36847c24080f63edfe8b1f5 +DIST bundler-2.4.3.gem 409088 BLAKE2B df6991e9f4ef80899ac691d7a0ece268980bda7497482b207eba8e5e0f957fbc7b06f11755932f527d80ed199e79292b1a720a06f80b38d95685a4e6f2316e27 SHA512 a232c40656d05031b39390c72ae71596618e87d92cf86f1db45d75993ff8cb0625fef8055540ef14a8179211bdf17804028468c568e261d3dd43c0a5405ed4bf EBUILD bundler-2.1.4.ebuild 930 BLAKE2B d544c059292750ec7a8b094c0070db97757046fef2f966b929eb28669ff297a4e9012560199d313aa7b0090f60ab7a05746eb0f72feb24f0d9248547ef0bee52 SHA512 59bb513b6dbd329255ff208b1fce606ac1f812672c21e92f7c962b5334dd2d3b124ddc9e0dc2d2b3e70fc1d1a8fa659389cdbcb59edaae145f7d25f6a0aa7420 EBUILD bundler-2.2.18.ebuild 904 BLAKE2B 5dc132ff96e618068a474a08c11a7eab6d4f0f645c0b390ebae293c5c5175b97e11a6d49e9c26da5a7478176e8a60c80c4d2817fcaee97438b16947aa8ab501b SHA512 18d89b36b2c5dd6230bfa11a81de23571a11597e28f233c99418a0e69f92c511222a6b2bdc37086643e6476e4049e5cb4ce16e6e1c1d649237768b29d6265423 EBUILD bundler-2.2.24.ebuild 905 BLAKE2B bc9f94a4342ff9431d94c6e85a31d26727d385032caaa57ba9eaadd2ad03fd9f31011e9992499f7c946e3417c46b48695256a4d54c8bef4e9112ada21e9aac5f SHA512 33078fb7351b4384bd3db2006823d1bb4bccbf3f2cba280d3d37e64eedf38f0adbf575cfb0c056d401645e79b2af326626d3b0fb4e2b1b67afc3b122379344b6 @@ -20,4 +21,5 @@ EBUILD bundler-2.3.26.ebuild 880 BLAKE2B 5bf0fa758a73c61eb40f7a5d4c20280b4326034 EBUILD bundler-2.3.8-r1.ebuild 911 BLAKE2B c79b33c6fed601500611860c19526e597d88886e5b2a5bc6c501ef05cd8a7fc32e181e6ebbca76dca91c7a5b13753e25d8619d5f26ca7410ced8405b60a6ee64 SHA512 27c7ee78fd96610453bc8c80e42ae1d984c50fced7ca925a7bfdfeafcbef6572235c56fd492ed1e041dcd8792a964183271828283e3b80662b0fd9833d7e1e39 EBUILD bundler-2.3.8.ebuild 919 BLAKE2B f360aaf6bcd38d0665c41f6e302a5da0281dbb777c00d0b57394285a31ac895204e34fa73c9ce907115475ffe8cc02664a1e2743cc1f59b8fc4c591b9528b654 SHA512 4a33a068940ce9816e66686c0e1141dde37bb898edd63b5269fe1aafe2551cd16a8dc373978d49f4bb56cc77159110ee1da779731984e0da428db8819354431b EBUILD bundler-2.4.1.ebuild 880 BLAKE2B 5bf0fa758a73c61eb40f7a5d4c20280b432603485440cb1b0ab86a71f1c03c731f16d33cd642454377f18ab33b3a213c7b1bed0d23d277cb387fef1d852f9bd1 SHA512 e0cf7e44703096b2a4a883e75a53696809d55f4b50858c9f11add5c6ce071e9775d6806c7c1a66346699a229cbb2420e249df079bdda47e614e45ac92f36dd1b +EBUILD bundler-2.4.3.ebuild 880 BLAKE2B fc5f95db9e44504a3ab0339bb8eef2075ddb9bd23057cf875296b71dab1a6aad97ef446f7e7b539d7409778b2bf2d598a857793b43a3256104bbca51c323676c SHA512 06f0df186f59a3553cc0c66fe4dde95d99d04236b3846b0eb03487994ab7b123278cc63bc13abb9bc4c4bd518a358c6153c30836b47f7d8555cf473531aec4e5 MISC metadata.xml 343 BLAKE2B 2526cf508fc4002f02cab371f22490c1d7316a06ce2e18eca7563cc672a935e829afd850c99fb6cf8069e8193f1739a4dc6fba3d327b339c564183f43d008f1e SHA512 495c6e0c73b0574ef644c13f2001dcdbc785f07a036b8220e8982fde16983aaf816440f33c060bd7cee9843183c8059c930ab7b5e5cfdb847e2671bee8c33c97 diff --git a/dev-ruby/bundler/bundler-2.4.3.ebuild b/dev-ruby/bundler/bundler-2.4.3.ebuild new file mode 100644 index 000000000000..1ac24d655f96 --- /dev/null +++ b/dev-ruby/bundler/bundler-2.4.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +# The specs require a number of gems to be installed in a temporary +# directory, but this requires network access. They also don't work +# when run with a path that contains "-". +RUBY_FAKEGEM_RECIPE_TEST="none" + +# No documentation task +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_BINDIR="exe" + +inherit ruby-fakegem + +DESCRIPTION="An easy way to vendor gem dependencies" +HOMEPAGE="https://github.com/carlhuda/bundler" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend virtual/rubygems + +RDEPEND+=" dev-vcs/git" diff --git a/dev-ruby/curb/Manifest b/dev-ruby/curb/Manifest index 9454ac9b87a7..45950e6907dd 100644 --- a/dev-ruby/curb/Manifest +++ b/dev-ruby/curb/Manifest @@ -1,7 +1,5 @@ -DIST curb-0.9.11.gem 88576 BLAKE2B 1656a17070151ddd1bd63c3e23885d36d8e2b133b19e00347892363a9a20c88baa10932ceb5273733b18847d8d19dc403aa4b7f36fbd80c8dde126ae46743796 SHA512 000ee2054a5866de09042dfc5894330900e401aa94a0fe8bb133fe9c661f7899992adff0585e5ed3725d3564cd9819d76653655f3539faaa61ca6acabe3a8602 DIST curb-1.0.1.gem 90624 BLAKE2B b54404e0ea81ccb2ea03e262abce247ca4e0db1a5208cfecd57a6c0e423c36b282cdaef7db9bd3fe70d3fdb8cfa60c6085be04ff78daac71e83b63fe25bfef06 SHA512 78eeef1b3a778c64517243a25ff82889cb4703589d27f08cff6e84d39a806610a80bb749c51ddba93a82e02a18797978b55ebc4643948caa8900e76d343f4bc6 DIST curb-1.0.3.gem 91648 BLAKE2B 8f819a5411c92e353cee4e1ef87c65bed67783606fcfe238a736ca5110b790d942e1cce6079508b854ab8b22e0079e8240e3d417f9e9ec6c2bef39878321ab55 SHA512 6273acd74121e3a4e42f7cb89eff4bad9511c7cafdf5e046773ec988c816003531877f6e5e756fab73296cedfa4599693014b6b65e9a9001a6e3c4875f53b73e -EBUILD curb-0.9.11-r1.ebuild 1391 BLAKE2B 462de9fb6407457864bd56b2a0de59bb4723da435455b1371b2df8acd349e4a6424909897521e0a0dd7fd75520af11346bfc3193cd572247d64beca032a7ed2b SHA512 59706c93edaada27f54a15cc8ec7735b28d05a7d2736dbf0b00bf15b5502850466fb45b0278c735655493b5128e0813bc80b0cea2253541434b8611733deb222 EBUILD curb-1.0.1.ebuild 1398 BLAKE2B d117b3d0e525c5fdd7d80dc53db1e6cdebc34a3a8beb4ca7d04907abe9150f43e7801b777b3860936b55028a42e62d9a253157c55a2cfd99cd5e38c341a5b30c SHA512 328b2c7db57cbb6a62c3f9be7917dd2cf528d305cbab63b6eba49aef0abee1889c760ea224886cf3b0d16e7474334c55bbe020883af30d9afdb8f11fe12fbfda EBUILD curb-1.0.3.ebuild 1392 BLAKE2B d2514dda2f4f51c5e9eae3fd0c43e41a3fd95ad2d01b013f956ed379be3442eaa3bb9e0a3af5f68336a7cf6607998f1b54748268173eb4e2f0bb3a9eaaa01010 SHA512 0cfd0c105f49bff419ce04ccdd2e68433209082689265cc07e86768ff24fbd880fed4b60a8b2f32655f11b548de702ca051eababb7e8da85a73493f06c87ed4d MISC metadata.xml 336 BLAKE2B fd9820c5561af2381bf081eb2f3370727020edc79f306bd94b90699e8a817d218edb11ccc60ae9aa43f1713218a91c9b53cff0a6c23fc3d189e06bc5a1265b71 SHA512 f948d0e7f36c4b9912c58d6a7bf1b2ac5934075780fc7de3d6f759276e4ee297850f725259c06245affca40745bdc2bab0ab78bbd60b308a5d11fc97edeb4ac1 diff --git a/dev-ruby/curb/curb-0.9.11-r1.ebuild b/dev-ruby/curb/curb-0.9.11-r1.ebuild deleted file mode 100644 index 884ae6906585..000000000000 --- a/dev-ruby/curb/curb-0.9.11-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST="rake" - -RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) - -inherit ruby-fakegem - -DESCRIPTION="Ruby-language bindings for libcurl" -HOMEPAGE="https://github.com/taf2/curb" - -LICENSE="Ruby" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -DEPEND+=" net-misc/curl[ssl] test? ( net-misc/curl )" -RDEPEND+=" net-misc/curl[ssl]" - -all_ruby_prepare() { - # fix tests when localhost is also ::1 - sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die - - # avoid tests making outside network connections - rm tests/bug_postfields_crash.rb || die - sed -e '/test_easy_http_verbs_must_respond_to_str/,/^ end/ s:^:#:' \ - -i tests/tc_curl_easy.rb || die - sed -e '/test_connection_keepalive/aomit "network connection needed"' \ - -i tests/tc_curl_multi.rb || die - - # Fix test that expects wrong output - sed -i -e 's/200 OK /200 OK/' tests/tc_curl_easy.rb || die - - # avoid failing tests where failure condition seems weird, no - # upstream travis so not clear if the test is indeed broken. - sed -i -e '/test_multi_easy_http/,/^ end/ s:^:#:' tests/tc_curl_multi.rb || die - - # avoid test requiring ntlm support on curl which is no longer available in gentoo - sed -i -e '/test_username_password/aomit "ntlm support in curl needed"' -i tests/tc_curl_easy.rb || die -} diff --git a/dev-ruby/gettext_i18n_rails/Manifest b/dev-ruby/gettext_i18n_rails/Manifest index 18a867ba7c60..338202fd3699 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1,5 +1,7 @@ +DIST gettext_i18n_rails-1.10.0.tar.gz 21434 BLAKE2B 7b754b482c527593589f43b2547b5ed418db09bce255ba8e65523c7bf46c5402953990dc5941b06af8745a25c7840358e4beabaf1a2aec295a7763484bce8818 SHA512 0016dee43253fbf1fb712d74a1fb85c28d9d23b62af2ab16dfd4837f38749e4be8901b578b6a1e6ecbcf7476114e15873b4c073c5c0bdd7417e1d78515a3e4ff DIST gettext_i18n_rails-1.8.1.tar.gz 21942 BLAKE2B 7925bfad0e1033fd363ca2c376594ba8ca6a7f5c1da940c680acae53e4b3902d7c07828b6023ed208f559af1b9ded7933ffae6b7385e066c0494aa16cc728256 SHA512 711c15620a23c070f47d4846f48b74564bfc23d27e9757936b432c1b3c534121d4cf58101fe533bc58b7d3e33e899134b92cd119e2cd2cd3eb39f54e93e394e0 DIST gettext_i18n_rails-1.9.0.tar.gz 21389 BLAKE2B 12c98c76f6e782d35957a168d71ba0ac6cbfa492954716366fc9c41cef1ee7cd733f4e352bff0c28c9ae873445729a30c572053eca423cfc272b4639e474a36d SHA512 dd271828120a4f430adf2d2f63d3c7c294d4b236d665b1e64599ba0c3e40114afcab0cd485fd2388e5747c4edb40d12de69e08464b36b160e216326bd112c232 +EBUILD gettext_i18n_rails-1.10.0.ebuild 1074 BLAKE2B bc07e74861aeb3fc9695625bc637c3e0683b1bca9684a4ff957af800f31e11d4fc2a30f9284e283ba328593a8eee1c4f9d95ac5f8320c7b77c592a48bad17543 SHA512 ce26fb8f0a3cbffb976f47de7dc98d44838c7fcf11080216a7447b0f1fd3d895577be3dfaf355b7501a1b1c8388ef900e5f01885dd463027f9f378579fc2c907 EBUILD gettext_i18n_rails-1.8.1-r1.ebuild 1063 BLAKE2B 181e93a46b69899a8eb5fd4fd835c9e58d1c517a6ce7c5f7d82ec79e957405483fdfb3b902867a1c97f5c1fb05d1559cd404474978c462c71659a530e9e9cb7d SHA512 ae1b8a1b252269b8839f513406b38970b0d510dbb9a1af912b75905c1c070dd6d7462f3afb58cffebdb42dcace998262b86c90d60d8b4259aea9aac72475a2ff EBUILD gettext_i18n_rails-1.9.0.ebuild 1074 BLAKE2B 2b4cf0f59edec41943ad19be74eee123c7d6ca3ec558065167f990cc34a0ae30499a96cab628afbc0fe3487268e1d97577e83712817ae779fc851b0abb12dee1 SHA512 62a8f812120798abe3432407a58256500d9288014f18d853050f8c807cd2133f9672add0f7738d5375215418fa5360dbb50a508dca7497bc6c33167f2b38659f MISC metadata.xml 353 BLAKE2B cfdd814918fa7d75f7e209c0efff8c8ecba9154a8977cab4d64412c2cd09a52553d5b25050c25535fc59c3dfc11255ab9fbff703536da85a7b0b7d29390cb7af SHA512 12b6cbce3229f093d824a6d1036a44ee7cbb7399dc29db9eeaac72797440d222f65bd1efafe097efb2aee9ddb2881df54bb93bb336d0c03441b2a396405d1967 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.10.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.10.0.ebuild new file mode 100644 index 000000000000..8f6d8c4ddf2f --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.10.0.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="ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="gettext_i18n_rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="FastGettext / Rails integration" +HOMEPAGE="https://github.com/grosser/gettext_i18n_rails" +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rails:6.1 dev-ruby/activerecord:6.1[sqlite] dev-ruby/temple )" +ruby_add_rdepend ">=dev-ruby/fast_gettext-0.9.0:*" + +all_ruby_prepare() { + rm Gemfile Gemfile.lock || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove specs for slim and hamlet, template engines we don't package. + rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/haml_parser_spec.rb || die + + # Test against specific Rails version + sed -e '1igem "rails", "~>6.1.0"' -i spec/spec_helper.rb || die +} diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index e746e04038e3..59c754276869 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -3,5 +3,6 @@ DIST git-1.12.0.tar.gz 218472 BLAKE2B f5e0465fd2f0f2f1eb1584da6757c012cf80457a15 DIST git-1.13.0.tar.gz 219424 BLAKE2B 38d1821c59cbb743c50655e9426d77f76e77dda614a711b7d2185ed7f4caa853383ba85ecf05237da403061d002527c38a5c6e06cf5e6d482ac76bac49a0db56 SHA512 7920de37a3df67b743e91fb317bd0cba746d2343dfb77036398fc124d00eede7b9ade5dd2af5f26d65f1f24006608a29fca55d5be8a00557caaa31acd0b274d4 EBUILD git-1.11.0.ebuild 1230 BLAKE2B 47014a85314446ac871835aa7d4488da3ada0d0bb7d784010027d8ce4e15d4939a14dafed0355f9c3cb77bd3f9f7630e66e7f0f6760ff052243dd3fdc1444879 SHA512 efdfdf7a4a140bbce25b34502d9fec75883e200733bb51bddcc25f29ca4d803fab4ae88a1d9c341dc89ee7b16807fbb38a5fc5582437636b77288cd851d3a86d EBUILD git-1.12.0.ebuild 1252 BLAKE2B 8cecfda11f8006929f7b8254415ce8226183e29843f20cefab00efdd23aa670799d2ae38f3221c92f375b0f377d39920ba92366ec0e4a407774fc63ef885c13c SHA512 d87fac3a7d4cc86b2604c877f8bfc55d32d3d7259883ec3ffe7489957f202e8020d6ad9c21e3b87c569a9ecf9ac396ad3326725eff121cf44581d2ceb27f810c +EBUILD git-1.13.0-r1.ebuild 1311 BLAKE2B c59850828f991c0ebab56f87d442bc2a4a6a45ecfc9d48a542b18c6340ae176c2d514080a0ae275196bfdd4d69892f163e04def4f69ec5bf3b20ec49740248fd SHA512 0edd92d9cde77118fd7ff25e1b0c4bf9b02b6436bf0f4d096c089ceae2d19a038d5200858ac96f7ebef56123d303f6da28524b7a438732ca1a6e3f57e3167b5f EBUILD git-1.13.0.ebuild 1253 BLAKE2B b2cce84a1bf3642d5d47d02279744a5def2466a69d6535c6e66be3606f89fef20d50551fbb6094d66373d71bf322f7f3d6d181d07f83d2e13adcf07ec37a1441 SHA512 cae2bda168b842100340760544edbd20eaf94b160c27f5c710c68c17799ae52bbdb967f10f474df559a3ba56c9fc19199b139b0cd59789e07baff493cb2fdcbb MISC metadata.xml 343 BLAKE2B bc9a79524aa9216ddb3624e81f61f8ecaf988538693155f5b8de7289effc0613a5d102b55b4c9c9eccc50d8556b0c4fdcec1e9a9cdab67d28753008204c9af2d SHA512 d599ff9d1df8510ff8603e9030a65c294bef3ee93f0e5a438300a8bb5c0ffe3c4a9bdd7ec41fd5effa27b4b7e1c978faefe95dceedc270b6a995bb928f2d70be diff --git a/dev-ruby/git/git-1.13.0-r1.ebuild b/dev-ruby/git/git-1.13.0-r1.ebuild new file mode 100644 index 000000000000..d9cbcab1b2db --- /dev/null +++ b/dev-ruby/git/git-1.13.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="git.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for using Git in Ruby" +HOMEPAGE="https://github.com/schacon/ruby-git" +SRC_URI="https://github.com/schacon/ruby-git/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-git-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +DEPEND+="test? ( >=dev-vcs/git-1.6.0.0 app-arch/tar )" +RDEPEND+=">=dev-vcs/git-1.6.0.0" + +ruby_add_rdepend ">=dev-ruby/addressable-2.8:0 >=dev-ruby/rchardet-1.8:1" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitar dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + # Don't use hardcoded /tmp directory. + sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die + + sed -i -e 's/__dir__/"."/' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's/1.12.0/'${PV}'/' lib/git/version.rb || die +} + +each_ruby_test() { + git config --global user.email "git@example.com" || die + git config --global user.name "GitExample" || die + ${RUBY} -Ilib:.:test -e 'Dir["tests/**/test_*.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest index 24c3b3890e3a..3a6a7f403199 100644 --- a/dev-ruby/maxitest/Manifest +++ b/dev-ruby/maxitest/Manifest @@ -1,5 +1,7 @@ DIST maxitest-3.7.0.tar.gz 62716 BLAKE2B 9919702c3b6c701edf6a5de8c1054547edaeeda518a7b7bae3f419cba9f92f535ec7870ece080fb472d7635243afec4aeed4a27fd839874aa40d63d6ce4ecab8 SHA512 4843f9d405a40177622e9892d1e5fffe297ae03cfef68b73ce3ee966cc3a36e126a9f5a5018b898465f5ad40f8d4fc1e6bf53f5c76b376efeff669b57dd1e8aa DIST maxitest-4.3.0.tar.gz 62596 BLAKE2B ddfa98aa4b4e1e0c85100ed6b703e8b76f5a251913e34de03f8cacdc0eb3a60014945786c1f60d81163d8c690f1cf37689fdc05b15a53b63b08247842f736176 SHA512 b81cc37bbd1ed5c149c4d541591fcec46e1e1fc74fc20205cf33745de4fad7fc302e8120b79d17e39412d7133b8d57fee064e1a36380efbde9bdd22f7bbc05b7 +DIST maxitest-4.4.0.tar.gz 62749 BLAKE2B 0545da95ff3bf6c61a330f041b7944f7ef7dfdb00267d28273b8a0bf8914647a0c34e32a826acc89fe2f2d9a1ac2cc610ca968cef273a6a6e7d64db68c6583cf SHA512 37b6a8c9a992fd54c605c0b26a490ddfd8b06e00e9686a41e6170d81c047b6b255ad337f315d8c5d4176e8acba19e2a51061a402bba7dd3d528e14d20e2d24c4 EBUILD maxitest-3.7.0.ebuild 1436 BLAKE2B 3483d6389f9f8cd9d9c325819c1dc467cc125883ce30c6d1a6745f3c25405ea76484b291dec61defacefdcc3c22d680b9434fc153da41ad940da2123b87f22d2 SHA512 57ddf480278da7ce06e60c75bf45dfe3f1aaa86b511257c153c8d3915065cf296f96cd5b68ba34250405fb64d4bb1d3c8879c890ddc2b0906c2a781af01e39fd EBUILD maxitest-4.3.0.ebuild 1533 BLAKE2B d3e69c8609541f7aa2a3640716ef84029122c03f8b243de0065f696c37e6d4be3e241c9d9511c54e623d6e5e57ce0f3b4088d2eea71c6c83989de1ae26d523e5 SHA512 efe38bfd39e043d13ca4ad47d52300dd10a3629df1041cfad14c3d4f81ab19f2b081de1ee5837c3a2960d28cfdce8fdb7e850d89ae7a870dcda92cacf0684354 +EBUILD maxitest-4.4.0.ebuild 1533 BLAKE2B 4430d62218e961e177be586387e6f8a98a85f5c1c798e053716c6f9e927f61ed7696a03b3e8f4f443294251664305a117889d141cbf3f423dffd902761961f8e SHA512 f8458f681790fbd2b9a4aeb9e73914bcdb780f722e2e44b23e6c448ce1e2cb999aa8b51a9302087214faf2f0165d356690eaad3aab8895e30f49f32fc9a7a48a MISC metadata.xml 333 BLAKE2B 4f6d2cdebd14923f2841e9ccf9313f2b478a3c47c26979cf90c03d8977b8ed77e08a1369fc374a47a84603d546ad46d7225eda21224f423bc52c4b0320e6d80c SHA512 6e9425f636821a231213a9dee84cec2dc3394a52ea4f5f8a69e0c1691ffdc8e46946dbc0b99147bbbe05211557646a6538b3dbbe716ec6a469b21040b1c8b3fd diff --git a/dev-ruby/maxitest/maxitest-4.4.0.ebuild b/dev-ruby/maxitest/maxitest-4.4.0.ebuild new file mode 100644 index 000000000000..b0ac344fdff3 --- /dev/null +++ b/dev-ruby/maxitest/maxitest-4.4.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Minitest + all the features you always wanted" +HOMEPAGE="https://github.com/grosser/maxitest" +SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "<dev-ruby/minitest-5.18:5" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + # Remove developer-only gems from the gemspec and avoid git issues + sed -i -e '/wwtd/ s:^:#:' \ + -e 's/git ls-files/find */' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/\(byebug\|bump\)/ s:^:#:' Gemfile || die + + sed -e '/shows short backtraces/askip "fails on ruby27"' \ + -e '/fails when not used/askip "fails with newer maxitest by design"' \ + -e '/shows version/askip "fails due to missing require for version"' \ + -i spec/maxitest_spec.rb || die +} + +each_ruby_prepare() { + # Use the correct target + sed -i -e '/sh/ s:ruby:'${RUBY}':' \ + -e '/sh/ s:mtest:'${RUBY}' -S mtest:' \ + spec/maxitest_spec.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" RSPEC_VERSION=3 ruby-ng_rspec spec +} diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest index c442a201fff6..633d68a59880 100644 --- a/dev-ruby/parser/Manifest +++ b/dev-ruby/parser/Manifest @@ -2,8 +2,10 @@ DIST parser-3.1.1.0.tar.gz 299759 BLAKE2B c4fdf278c1ae90529de414d9cda2770524f051 DIST parser-3.1.2.0.tar.gz 299753 BLAKE2B b5c991ab0834ed5e5b7107935500659828a6f804d9231462dc8a658346bab3959ac56b514045c25af4adb84af3f0cdd9615c9aafb2325ab24a04c0c5617ca732 SHA512 d8becf7e5b633c0a1ddfe8aac98c2f89d6b713cbabd2877a4eac36b0fd4935bd1a05990c100bcf58f04ad78218af0a5f79dbb83bf369708750c8834598286cfa DIST parser-3.1.2.1.tar.gz 299885 BLAKE2B 2fe56279be003825a25e6fdfc99dbb13b93dc167f7da3fe636da368bc10a6506afd7510bf3d7c55122321de1cd0bf46afce2ee0ff0a9d914e507c0333225e5ea SHA512 9bbaae6436f41668621fdb1f45dd2a30ea5485dca19b0024a19e8be0684c4a961e914040e3b53f725f06c98822392cfef87113332124272f895bb571e56cc961 DIST parser-3.1.3.0.tar.gz 301000 BLAKE2B 3b7984966643d983e8606ba4de13a08de9130aa58b5adebdc9cfb273e00e700086f99f8a678ccb6db1ac70dac2da429dbfa1b45661c4f9764b676beae5c64633 SHA512 23ef12043706ba810ade3ac94f376082d5b45db8b451634d469a26f834890e7a82a9669132df4654aef4cb7650f0e13d2f33aad489ebbbb76ab547cb9e64f498 +DIST parser-3.2.0.0.tar.gz 302043 BLAKE2B 8a02ca62560fc976fbe62d02ecf24713248a9f522e1cc9daa1deaa153d900628dce4f59c7791cc61652199358addca1432403a3f3849b0ef8f9495639282697d SHA512 58b9011c22af76f5eccf7035dd53da705ddc952c6185ebbb48c33c5486b5852ba8a543093f8c1f2a2c7aea8e78407c04a9dc49abf43edb27c460cf8b038338cf EBUILD parser-3.1.1.0.ebuild 975 BLAKE2B 842507f70b0ff18fe8a7b897eb61d56e4e070636344f14b5bd6c6206475ddb5105469f1d8f98a83aaa08da3c1b8a0aaa08c87ce6095772a2aed5914e7d33ab95 SHA512 8340d66160f7a497c17a02d0190c8b747dff4cbbf360a5f1734a0167999a4dc447820156c95feec70fb4a886cb47805fe054e5607b1c7247537a27af87021cf4 EBUILD parser-3.1.2.0.ebuild 975 BLAKE2B 842507f70b0ff18fe8a7b897eb61d56e4e070636344f14b5bd6c6206475ddb5105469f1d8f98a83aaa08da3c1b8a0aaa08c87ce6095772a2aed5914e7d33ab95 SHA512 8340d66160f7a497c17a02d0190c8b747dff4cbbf360a5f1734a0167999a4dc447820156c95feec70fb4a886cb47805fe054e5607b1c7247537a27af87021cf4 EBUILD parser-3.1.2.1.ebuild 968 BLAKE2B 28469c4d75e3e0041446dde769ec8e839a1e8776ca6ee15f86d08bdde0d5db2b1da6d4c18ccbf97a32c47608eb836072ce4bc5884395c86368ae8309928cc730 SHA512 0947276f1a5cdb7a6723e789c318b7c60384945092c824bd5cb3a35f61d5f7202b12e418784d582414ecefeaa4fbccb2c51d82ee7f54e2121d964a4d3efd8c5e EBUILD parser-3.1.3.0.ebuild 968 BLAKE2B 28469c4d75e3e0041446dde769ec8e839a1e8776ca6ee15f86d08bdde0d5db2b1da6d4c18ccbf97a32c47608eb836072ce4bc5884395c86368ae8309928cc730 SHA512 0947276f1a5cdb7a6723e789c318b7c60384945092c824bd5cb3a35f61d5f7202b12e418784d582414ecefeaa4fbccb2c51d82ee7f54e2121d964a4d3efd8c5e +EBUILD parser-3.2.0.0.ebuild 968 BLAKE2B ec0ec0de84f58e73f8f4e563c1bfdd9a76d2fc8b7008f10afe9c9e9cd711c85a19b5eea68c21b6ea188c94943c2f3da20a593935292d304371fcf777efc4b302 SHA512 2ddc344496f74e376ce07942f17c43eade7e289acc5ef9e30f52a4ddf2685290c35cc29117baa8d87e11c4b8f00fa85fa669e70a4f3760ae09a13a611dbe417e MISC metadata.xml 344 BLAKE2B 00abcffb45cb3f1cbcd61458b7bcd8a4a81029fd58aba3f67a270c5ec37e8738f4d31b09f8b382987615acd4a8bd5ad335c54b60662a862f3828a1af360437df SHA512 4a28a0ed71d39d82fa69378ab26f4cf5844d01e58cc1805372df985a5ce25892f268a75db5a0dd3ca00bba3285a7cfb5447a1f261d79c7bcd41cd45b6cc68677 diff --git a/dev-ruby/parser/parser-3.2.0.0.ebuild b/dev-ruby/parser/parser-3.2.0.0.ebuild new file mode 100644 index 000000000000..1831dac09aaf --- /dev/null +++ b/dev-ruby/parser/parser-3.2.0.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}" + +RUBY_FAKEGEM_GEMSPEC="parser.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A production-ready Ruby parser written in pure Ruby" +HOMEPAGE="https://github.com/whitequark/parser" +SRC_URI="https://github.com/whitequark/parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~sparc" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5 + dev-ruby/racc ) + dev-ruby/cliver +" +ruby_add_rdepend "=dev-ruby/ast-2.4* >=dev-ruby/ast-2.4.1" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die +} + +each_ruby_compile() { + ${RUBY} -S rake generate || die +} diff --git a/dev-ruby/rack-protection/Manifest b/dev-ruby/rack-protection/Manifest index d5f8b125810e..60c802aaee3c 100644 --- a/dev-ruby/rack-protection/Manifest +++ b/dev-ruby/rack-protection/Manifest @@ -1,15 +1,11 @@ -DIST rack-protection-2.2.0.gem 17408 BLAKE2B d9d5d8e2473b6354dd61cfc338a05932a2c60aa12544399cb0b9b74c717d6fa48bdec638381582be0a13f845f0c69583275f412458a20198894b5eddc7b53358 SHA512 06d6c2026e3e93131a2405bbaa8a514ddde48607979828b9fc41309dbdfff2b7c8cac48a6981e76b5dda554f0cbdc7c6ff5f44b8925fce1cb9b7de0a16380ca4 -DIST rack-protection-2.2.1.gem 17408 BLAKE2B 21ecf95a27ab08b2e89369cfaffff43192c2ca5bb74afe7a91041e5fb9f2479a625ca2fcc59fc2f3eb208f17a3456dffd14095d25f8a0ed331972f6f987dace6 SHA512 595dc7ff7deb63130f966a12849750900319356f29948e9cca1e1aebe168bad77de624dd280a1b804ad6a2d44daedfcb352777ca724e9fde2a5de02ead472734 -DIST rack-protection-2.2.2.gem 17408 BLAKE2B d67384374afa29712742531bff0cca78be96f80dd316d4e5929cb2751152bc0d73f8ede4430aa50a2e114b872845f11ca8debe93eaa1a7a63e05daae697c2e7d SHA512 6bc7694daebcc2fb585b303aa059e82db94c142a82d0e951e0dd99388074449c989d41c3aa05882a150776e28d0394f78d0b063e564e7eda7aea14d496eef0fb DIST rack-protection-2.2.3.gem 17920 BLAKE2B 7a66cf4d5de68acd3ef4c7db2485657ce226e3101660f4f15bb3a8ab937785211055e49d676cf73cf52d4896e787d8f78a62099549a4ff846b5963c4247b5dd3 SHA512 ce41e1e61016090125557d8211b65b0fc9d545fac6c42f64fb3f48ac0fea56689e17acf7aca6cd82137ba7384c559ac47ac9995f57068f3f216ae61b7fe8953d DIST rack-protection-3.0.1.gem 20480 BLAKE2B 102fff6298dbbb766313687b6f3653c60d055c654922e108c0e5eab1364858adf83a800c66f0800ef8a48997884e4b0c16ad1a70c2d00d657fdbcdb929c18bbc SHA512 730cb4fa67e86ee79043e706c4a011f1f4fad8902d27ed25a14e03c7acf7644db9e8685bb6248d9511d32d55a1f13eb548cd9471958b69bf88c4c371fcc1a8df DIST rack-protection-3.0.2.gem 20480 BLAKE2B 95c951c6995ac4e69bb6aca85ff0c8a86793466db84e149ef6d287fb479fe49bc3708d0bc71ca656c4bb79b069d3b01139fab04756bc68051eda90db29f506a4 SHA512 54603e8ba22f1b359e5ffe82a3ee99a31a26e5dedd1e46edd4591ca416a1f241dc37ce2b6da25262a9cf9027b0e8687bd23c6dcbea0197131ca33088cbfd0280 DIST rack-protection-3.0.4.gem 20480 BLAKE2B a71d86a123cdf392632c3193cccf8fc5635ca076039eecc40fd0aa050624e909d63c578727ca1e4bf13736fb844b8d3114ce34a6729b57b600715cab7ec25c1f SHA512 b898c66dcac38219c43b1a6ce3a2952ca35e44f81b604f00dbff43938b5493df4c9a654ae221f01675f8f4b8aaf90f31b435a648f46f70789ac78a0c4a0c4f12 -EBUILD rack-protection-2.2.0.ebuild 732 BLAKE2B dd20f9b311166faf02058ca14b4e6f0c46d197a0b3c5e8c46375c89bdd889919945e2552eae32deadcd407bca3a2ab750ec9eb7bbd87017bf935bdea1641faf7 SHA512 4106892a5dee7c8c44e42e857b7d26d6ae4f702c2c7c5da901cb34953ce0b33d045a2a549239e1f202bc1bc88df7bd2068ceca207196f906e3c2bb0bd653ba6d -EBUILD rack-protection-2.2.1.ebuild 726 BLAKE2B 4083feb02c0beef7cf258771716e2a70bb6cbc296bc42d39f322f15dbf770303e817faab09cc4e55f06b71e428646676cee19804ee364aa9518fa41d01c50baa SHA512 e7faa9d7d47927db185ab474107800d9e6e6377e95d1caa6cf56ca26c5ca99fbae7473de4ad75c21e0f1cc35d2d452ed9e039713be0694affd6988edbe54669a -EBUILD rack-protection-2.2.2.ebuild 726 BLAKE2B 4083feb02c0beef7cf258771716e2a70bb6cbc296bc42d39f322f15dbf770303e817faab09cc4e55f06b71e428646676cee19804ee364aa9518fa41d01c50baa SHA512 e7faa9d7d47927db185ab474107800d9e6e6377e95d1caa6cf56ca26c5ca99fbae7473de4ad75c21e0f1cc35d2d452ed9e039713be0694affd6988edbe54669a +DIST rack-protection-3.0.5.gem 20480 BLAKE2B 1fa11760c6ddac58234ffe2e6d783c985e29b5e2bd10ea21b0782f7824b5930351c8e32c9401b6276ef028adcd8b25ca4458333d8008a554c413f54315ff8809 SHA512 4ed0ee9e8fe08532ff7f2905251af110f3fff0e419da5be50ae3e5a90906e43c39cf8edc219fcfe3e27a72591500c040afcc9552da875773375b170fb91aa9ff EBUILD rack-protection-2.2.3.ebuild 725 BLAKE2B b65a457ddc3984143c102230fc0128ef880babf7bf2af24c51ed7ae944596b72a7d1edd88474375540b9c8bba59f5961cbd65bafbdc82b1534c9c127ace7648e SHA512 211cb3298895eb77364f9283a65a2d11978632ec35d79ef786556dc5faec310f9c1cd0ed1ab310dacfc4a15fad2bd25cfbfc6c629be3ed04147513bae92863c2 EBUILD rack-protection-3.0.1.ebuild 726 BLAKE2B 4083feb02c0beef7cf258771716e2a70bb6cbc296bc42d39f322f15dbf770303e817faab09cc4e55f06b71e428646676cee19804ee364aa9518fa41d01c50baa SHA512 e7faa9d7d47927db185ab474107800d9e6e6377e95d1caa6cf56ca26c5ca99fbae7473de4ad75c21e0f1cc35d2d452ed9e039713be0694affd6988edbe54669a EBUILD rack-protection-3.0.2.ebuild 726 BLAKE2B 4083feb02c0beef7cf258771716e2a70bb6cbc296bc42d39f322f15dbf770303e817faab09cc4e55f06b71e428646676cee19804ee364aa9518fa41d01c50baa SHA512 e7faa9d7d47927db185ab474107800d9e6e6377e95d1caa6cf56ca26c5ca99fbae7473de4ad75c21e0f1cc35d2d452ed9e039713be0694affd6988edbe54669a EBUILD rack-protection-3.0.4.ebuild 726 BLAKE2B 4083feb02c0beef7cf258771716e2a70bb6cbc296bc42d39f322f15dbf770303e817faab09cc4e55f06b71e428646676cee19804ee364aa9518fa41d01c50baa SHA512 e7faa9d7d47927db185ab474107800d9e6e6377e95d1caa6cf56ca26c5ca99fbae7473de4ad75c21e0f1cc35d2d452ed9e039713be0694affd6988edbe54669a +EBUILD rack-protection-3.0.5.ebuild 726 BLAKE2B 71cbd0fac644be09c96229635395a1067c958033d98cb4aba5490ab2c507de10368285647e6759d5d412ceab978cd80e722a757fbfdf8089f8b8e76d5aaac6b1 SHA512 b6410e5f3cade65514ef4fed852337abda58c9aaff6b72f7ef47ec14347870dc9f1891cb81731f7c24257003d07fca472edb5c1b12343e935754abb25927c93d MISC metadata.xml 495 BLAKE2B f6dcdfdea078816191c90910089dd90c242b7aa90e41b07670f7bd024d24cdf4a19ab8486c2e82acd4da6bf26db2fc0dcd087b959d8e188d1be1a17ce6b98976 SHA512 bde612118e9e962e7dbd04340312b9556fa54d241831c0e754e10e65f0eccd4909b19622d4f393e684e688977ac34db30e7fa16848116fa39c5aac95f669f2ba diff --git a/dev-ruby/rack-protection/rack-protection-2.2.0.ebuild b/dev-ruby/rack-protection/rack-protection-2.2.0.ebuild deleted file mode 100644 index 13db1f3f6e1f..000000000000 --- a/dev-ruby/rack-protection/rack-protection-2.2.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -# 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://github.com/rkh/rack-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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_rdepend "dev-ruby/rack:*" - -# ruby_add_bdepend "test? ( dev-ruby/rack-test )" diff --git a/dev-ruby/rack-protection/rack-protection-2.2.2.ebuild b/dev-ruby/rack-protection/rack-protection-2.2.2.ebuild deleted file mode 100644 index d31bdbd997d7..000000000000 --- a/dev-ruby/rack-protection/rack-protection-2.2.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -# 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://github.com/rkh/rack-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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_rdepend "dev-ruby/rack:*" - -# ruby_add_bdepend "test? ( dev-ruby/rack-test )" diff --git a/dev-ruby/rack-protection/rack-protection-2.2.1.ebuild b/dev-ruby/rack-protection/rack-protection-3.0.5.ebuild index d31bdbd997d7..c1fe98e42fca 100644 --- a/dev-ruby/rack-protection/rack-protection-2.2.1.ebuild +++ b/dev-ruby/rack-protection/rack-protection-3.0.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-ruby/rack/Manifest b/dev-ruby/rack/Manifest index 4be750baf322..2481cd0798ac 100644 --- a/dev-ruby/rack/Manifest +++ b/dev-ruby/rack/Manifest @@ -1,5 +1,7 @@ DIST rack-2.2.4.tar.gz 278632 BLAKE2B 2d12a9c1e239590a4aedea5f3bb4c171b6032255658688a151e665aa1cb33dee17754c7b2736f8f1725c70b8344f5f6664cace8c4d4cb4e9f6f2ee1c7a3117c0 SHA512 aef54a06efce54d58e600829bbf550162bf68fe710b61b2b81022b2a8581819fb575e03992f493f11ed5f3391349f21cd142f6acc5b6017ec4c8e21cb17e4874 DIST rack-2.2.5.tar.gz 278648 BLAKE2B 8778364969506e8fdb152c5f88ab4b0b07c8764bf2cff9aee82ab6ca9958669038100816804215a09947a15b8ce06597c9204d4f2b34218178c14dfc8298ac48 SHA512 bc0e33d7bab700e2a5ad05aa1089d261b3f78a6c456ff14def57645df853915057ae9d42fb5ecd72989737a2882dcbdefe7af4939020efdde1ada38a4cf274e2 +DIST rack-3.0.3.tar.gz 786619 BLAKE2B 471c76e05dc52809e1cd95463ffe7fd2b9bbb0f0d97783d5cbea728cad1cf8272b7045f7329aec6efc9d3881c87b1e3a6e3eb376de015eb6e1188c37668531c1 SHA512 9b5860c62191df983a76aacc0c765d6275aff6d0d146fe0f2f1361e9ad6b76115ba0cbb94682bf9bdede8170e086b67018d362044099c91ea3dc015944d1b444 EBUILD rack-2.2.4.ebuild 1708 BLAKE2B 9db82605b298705172d939cc7acdcb07ea1f5a6439d6ce6f0964326d27f6376c2648381b6e808b4c0ed269f77c72a5b41c8f54dd153759899fa6cb27c58ed1df SHA512 69db8c6487db112df55989c59c7e6f09c16f8063de327658bd0d8646f3bddc84899e0828fb179903798d69eaa16cea8cde056b9ccf0363dc335eed959b585a39 EBUILD rack-2.2.5.ebuild 1679 BLAKE2B 6862e24b5a10c1b54443320e89296d276201b5d425956af323d7c05d7b93a6edd1f2bd665b2dca3a6b11fbf772fae311c3e17aea5c240edbde6d06057cdda984 SHA512 e4cebb1e7131734b5b9a47246bc5217916b83a58088605d106916ac183ebdca9626610c85fe0717bdc5232c8c647dc05db790d64db34aa1d45053b9747aecb0b +EBUILD rack-3.0.3.ebuild 1293 BLAKE2B a6c99f5219f0a4b4fc194667233ea0a10e4cf4dbc0bf6d6f54d6caaecd6d42e0481ee5f5c9c35febfa0a6887addb90944772c36285b66240a6c7627aa3ce2ceb SHA512 3c908011fe5682f09369588d333b4d844e3d50b9f58f734dc5bb4f436d4221df222368f8625835e798ce5f139a058e58cd94871aca2a1c2c2a3072f0572925f4 MISC metadata.xml 537 BLAKE2B 998152d25abdb228da5fc7b39719693fd0811ce6dc0d831cf90a5ecbb88e540d76dfb6cfddb3584748f46f6d66aa2d1bc73d492c9e810db1c0e44895108d5e17 SHA512 4670ef4b5b33270c48d212fa995b965305f558c5f670e7eccbe2e44f9ba8d1628c112de5a9305c2ad90adb6e2996cab6da385e5f473d850b287e92f7594e0d21 diff --git a/dev-ruby/rack/rack-3.0.3.ebuild b/dev-ruby/rack/rack-3.0.3.ebuild new file mode 100644 index 000000000000..7aee70d2e0f0 --- /dev/null +++ b/dev-ruby/rack/rack-3.0.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md SECURITY.md SPEC.rdoc UPGRADE-GUIDE.md" + +RUBY_FAKEGEM_GEMSPEC="rack.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A modular Ruby webserver interface" +HOMEPAGE="https://github.com/rack/rack" +SRC_URI="https://github.com/rack/rack/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/minitest-global_expectations + dev-ruby/webrick +)" + +# The gem has automagic dependencies over mongrel, ruby-openid, +# memcache-client, thin, mongrel and camping; not sure if we should +# make them dependencies at all. + +all_ruby_prepare() { + # The build system tries to generate the ChangeLog from git. Create + # an empty file to avoid a needless dependency on git. + touch ChangeLog || die + + sed -i -e "s:require_relative ':require './:" rack.gemspec || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest index 019d07f1cad9..ed5da88b9816 100644 --- a/dev-ruby/rbs/Manifest +++ b/dev-ruby/rbs/Manifest @@ -3,9 +3,11 @@ DIST rbs-2.3.2.tar.gz 977459 BLAKE2B d33984c03a962f4d72989b5b665e7e256f8928e86fa DIST rbs-2.5.1.tar.gz 983686 BLAKE2B d0feb4f173e2d1dd76d93309279fc75f9ed992ead2c144d69905e6acd139c709535ae29d78e85787f082821734a6448446e746791922e4322c55dc446a38ec06 SHA512 079778ad36db8f096e33d04a460b03d03c6b3616a2066e40a3aa06615d51265d8bfa7669a31463ce46bbcb16dc74ed8a24ba280b46c24f25b2327f5c8a8ae891 DIST rbs-2.8.0.tar.gz 1065757 BLAKE2B 136ba929d0b61c6b2625b49574ec45a28aa1de77a1a63d74bf5747ff4c88968ce28116472a97310e10846dec404dc2a4ccebb51c90f14f5713f3b1d21f18c9c6 SHA512 3a04026112bffef03a3e65c5d539ead7de353b4af279da6f4a7def854fe6c7f95d291663ab18bab678228ae4b26e87aec89fc1ed961ebc4cf83f38ef726ad407 DIST rbs-2.8.2.tar.gz 1069304 BLAKE2B a05cdd12767ed47cb90a64ab9803523dfa11a2295ebf2be4f9087918bc74ef75a46e3ec95a78c6c272e65b7d0485db0697edc8c4e586f7ae2b4608cde638969e SHA512 02666374fa8a93f421916f62b6a101e602c5dc8996169b1fd618618ab76afb11bba0891aac3f48f70af080f5d73ede264728f93799b3a330cae3a43b9cab1cb4 +DIST rbs-2.8.3.tar.gz 1069360 BLAKE2B 7151346fadcfdb2e246dbd32c440c4e5fbfe0f6dbed67a100460b451f87432a5811d63269b612949b720d0a3234818e46d1e1f614886e92e0b75cb5814c3e24f SHA512 4e6ec348945171868752ff62704e2a64ced4a11288a96c03e837e508df235c0cf85f99469952a7b052662ee7bc16e0942aaa2bc448381d95d5603fefdacf6839 EBUILD rbs-1.5.1.ebuild 1188 BLAKE2B 9c309c9befa8e76e809c4aae1dc2f2e574293bc1ad273eafca746328fa185f25d4c566ec590e634422f9d7617fa9a28af622f790e2c8e6cada2f75891de75a09 SHA512 3a896d5c0a9723c5009a9271d7125f052660a52a2ba450721133d7546b3c00d8f5697d28191c6bc4aa4db1558f09f5593972d7ec663d6b44d5235021c1f70248 EBUILD rbs-2.3.2.ebuild 1868 BLAKE2B b0b276a68cffceb3e6dbd12a5205043b155af78e945c1b191633a29415e39b650735cf46147ce777a9660e271580e3ff4afefbe92e99091908be00845566bbb1 SHA512 012929a95f0a0843d3037a4a696606686d9aac630b99e10dfee6ab283a71534ce0089c3bf9fe44565a1a21336b3d64b39b7584beef283c4dcdc62eeaf6776dc9 EBUILD rbs-2.5.1.ebuild 1868 BLAKE2B b0b276a68cffceb3e6dbd12a5205043b155af78e945c1b191633a29415e39b650735cf46147ce777a9660e271580e3ff4afefbe92e99091908be00845566bbb1 SHA512 012929a95f0a0843d3037a4a696606686d9aac630b99e10dfee6ab283a71534ce0089c3bf9fe44565a1a21336b3d64b39b7584beef283c4dcdc62eeaf6776dc9 EBUILD rbs-2.8.0.ebuild 1905 BLAKE2B ff1382678d9b03ed335d69f54dee98cc50d22d4fcf4b9af2d53f189956e7a8e6c026edf6b60832d5592889bfa4af594d953125e5f2de15632b869d991f452bc7 SHA512 f85ac1031e8a1fdd3a54730e71ac971592d66e06dd20d261fe6e2cea3c8cf3d4d838a3c08c49d8e71ee8c788124904fc96413e47a76e20a720ce5fe414315d1a EBUILD rbs-2.8.2.ebuild 1915 BLAKE2B 6c2d5bbe6a7ff05aff2f28f4a1b77a934f7932206107618eaf6bc7b226d5f1a6b699f6b870ab6edad75c1fb0f6aa82e59231e3e88ee4cb2f95d5f2924a39dd84 SHA512 2c7d9f08b3248d717054b2c762fdb98a8630249dc747e4e17b614ea758b00348a0e75d3886c19ec8dc23201dcfd79ea937fc035c5924a3d5e737f1722a5d631f +EBUILD rbs-2.8.3.ebuild 1915 BLAKE2B 7350ffd17c9b04a1581954e32cb858db1aae32eee91813311a05af1a4c23469444992686665ce810f453761fef2b57da907fd45b556ff602b3abadf9b9685f6e SHA512 075d6ab192e67e0b54646e9262383de55dac493f9f2e3522f9b0ba85b5508dc24a28a55e1e7f9b9ee3e59b2d7555fb679f23175ba80134a7cc7bff958642fed2 MISC metadata.xml 335 BLAKE2B 287ad52f77f7c62c6fa58fcdb9b1c1498cf39010ab26b6f98655beef9719ee5803844b1ab084788af70087e342a02806a8619a8dee472bf6d4d0b2ea54d2152f SHA512 75703ccbe3a15813f6fd3fca2489a9b39e586f59ff2cd89ec8d7a6293760a8789aed715565520f0f623746932bd756820eef960e45fea5f130d34cf4cd586cb5 diff --git a/dev-ruby/rbs/rbs-2.8.3.ebuild b/dev-ruby/rbs/rbs-2.8.3.ebuild new file mode 100644 index 000000000000..c90ff55f9e70 --- /dev/null +++ b/dev-ruby/rbs/rbs-2.8.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_EXTRAINSTALL="core schema sig stdlib" +RUBY_FAKEGEM_EXTENSIONS=(ext/rbs_extension/extconf.rb) + +RUBY_FAKEGEM_GEMSPEC="rbs.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="The language for type signatures for Ruby and standard library definitions" +HOMEPAGE="https://github.com/ruby/rbs" +SRC_URI="https://github.com/ruby/rbs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/rdoc dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # We compile the extension directly + sed -i -e '/extensiontask/I s:^:#:' Rakefile || die + + # Avoid JSON schema validation tests due to a large dependency stack + # that would be needed. + rm -f test/rbs/schema_test.rb || die + + # Avoid setup tests since they require a lot of development dependencies. + rm -f test/rbs/test/runtime_test_test.rb || die + + # Avoid tests requiring a network connection + rm -f test/rbs/collection/installer_test.rb test/rbs/collection/collections_test.rb \ + test/rbs/collection/config_test.rb test/rbs/collection/sources/git_test.rb || die + sed -i -e '/def test_collection_/aomit "Requires network"' test/rbs/cli_test.rb || die + sed -i -e '/def test_loading_from_rbs_collection/aomit "Requires network"' test/rbs/environment_loader_test.rb || die + + sed -i -e '/def test_paths/aomit "Different paths in Gentoo test environment"' test/rbs/cli_test.rb || die +} diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest index 46e80a766124..561a08899d3a 100644 --- a/dev-ruby/rdoc/Manifest +++ b/dev-ruby/rdoc/Manifest @@ -1,8 +1,10 @@ DIST rdoc-6.3.2.tar.gz 675963 BLAKE2B 1ac931ddf0af700f2460e415a6e8c505c9a3c0f2d65b5c25928285144181d925747dad0224f014abdc1680df9130df74ba82750a2cb1d02b042c0bcd63d22e6a SHA512 1bd8eaa6c1e5cc40492b1d6e461d831cfc05bf368c982f3266b63ea4984c10de40523f9e2106b1beebd96933a2006cb81c3daa26ee0196d99d1ed6da5b72a78f DIST rdoc-6.3.3.tar.gz 675961 BLAKE2B 200d57c4b104cb3ba894ef56fd72b4f6b2228dc2c5fd7a53035a7e03834e0e9aa283ee2b07dc7dbbfaf123bc9d96ef302f47a24b71a6d735872960ecd65d9cb3 SHA512 e4e4083fea67184c435b59866fc8e8c29c740d716f8be279d18a625c1eadddd41d449de30ddcc3af1aa0507320c0910800d5a0032540b626c5b2ea83d3b123f2 DIST rdoc-6.4.0.tar.gz 755741 BLAKE2B d2519dc0dac3fac32ef7cac8c87dba1a679f0b09dc5858e91899d6d28195cf584fe3eba802bafad400ae26c5ddcb65eaec32e101f9e047f80cecd1616a386ed3 SHA512 6c6a89245ac77abdeedee70327f97f8a9b8bb596c14848a95487ff19039864dd7a5c0f5b501fe2e7b187c671cfb205c1500359c7c203beb89211addaf3ac34f7 +DIST rdoc-6.5.0.tar.gz 762645 BLAKE2B cecade491f0d18b2c50ec710cb27a28b6cb946f321503e0508e8d4802e93033a78867346eb1d68ca56884ea0d68d51d6fdb92eb61fa63034a01332e8b572dbcf SHA512 10382e66ca778f85f236614fe071b2b0d598065d3aab8f5a89cb0839da7713b5e16a66e3f7a2bff2e2125d26a42f088a86c6d339dc36479a943bb7023c1cad0c EBUILD rdoc-6.3.2.ebuild 2678 BLAKE2B 7991b323a189f783222a27786c61f838ef3267413c65618b27d97f6557d911e720856e6d14ff611f8bbc4e2f3bd51364ccba0d1e7c6d598e7d1180e108a6f3dc SHA512 be3868aa87c2cf271f35fb7cae89d5b1db01636e3daa21921533cc9f925f0eadfc206381b24aef990f31ca12f27eee7e40d303e08c6e1d7fc102211a79e4e092 EBUILD rdoc-6.3.3-r1.ebuild 2690 BLAKE2B 4392b76c35e9b5f00eb95f2961125f37b587edd8e51290edb3d0ae08e5acea55e81c4c7bf4638cdf3ebe2c71cecb4b4a10b7f351d47137e1185cacd37e88d7aa SHA512 d03924a5e34ceb351d8152bfe8a87e12ababfdd35ba99afceb1c54014223f51df00ca761a478e14f8060f1a2128971f31033f7b717d100b3ae69e28b6ee21ecb EBUILD rdoc-6.3.3.ebuild 2679 BLAKE2B 91d2085a7603e1b16bacb35bd49e32652a11cf9c9dcd86221464fcc760e3a66493ed711f187231aaecc8ee3afb221ec12d99b590c3075299c40758df93f619b8 SHA512 58761d462049ab4d59c7f8d31b2066b6e8d020b6f843627b2dccbab071cbed1ea121bc55ad7e0638b7419982a0afb91b54afa5bc22125254ee2d5278813342ab EBUILD rdoc-6.4.0.ebuild 2750 BLAKE2B 3db539d7c8452e7522a4ee38e57913710d5fd6e43bdf48089a773b39099b4296d77db314826091a756855791ef3969b36ca2de64a56df8db254a16ef0f66edf2 SHA512 6c30ca796070161ce8f20198be2b61f67f365c211d01bfccd6efdbf794c84ed64571233c7bbfb4e8dea79aa034bf954cdc49b2ca8d3047be800d9dc041e73664 +EBUILD rdoc-6.5.0.ebuild 2752 BLAKE2B 18876ee4c05615fbf72724845438efcf61ddcf38b1fff70c98926e0b9f7d7ba210a263f4ce9740f60206ec6784f65f1899e0b7c63b41d7042ba6543e9d880679 SHA512 c1a50b1df2254004ca6b089ed8f3e97233e17dd6cf3434c04c95fbe1fe90431ca05d31212c707a6d12338254e5ea45b15a30a47f29b71d040c470ce59474a0a4 MISC metadata.xml 336 BLAKE2B b8daecb4713060cf3c1258c47a4e0ad25bc1930b094dd07ade2613c0700b56779ade45609d6b57db16a51d6df8de7039913bcab318bba0d85e0ac5bba9d09e12 SHA512 bb8c15dcf12c2ead3e96c0c615beb7d11de3d2b9e49d21faf024b66f39d3720e0e969319897eb640f2bfb89006896fa5b0d4c9668c51ea2c4aff05a23d56241f diff --git a/dev-ruby/rdoc/rdoc-6.5.0.ebuild b/dev-ruby/rdoc/rdoc-6.5.0.ebuild new file mode 100644 index 000000000000..a6dbbb09a981 --- /dev/null +++ b/dev-ruby/rdoc/rdoc-6.5.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_GEMSPEC="rdoc.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An extended version of the RDoc library from Ruby 1.8" +HOMEPAGE="https://github.com/ruby/rdoc/" +SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 Ruby-BSD )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="doc" + +RDEPEND+=">=app-eselect/eselect-ruby-20181225" + +ruby_add_rdepend " + >=dev-ruby/psych-4.0.0 +" + +ruby_add_bdepend " + >=dev-ruby/kpeg-1.1.0-r1 + >dev-ruby/racc-1.4.10 + dev-ruby/rake + test? ( + dev-ruby/bundler + >=dev-ruby/minitest-5.8:5 + )" + +all_ruby_prepare() { + # Other packages also have use for a nonexistent directory, bug 321059 + sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/rdoc/test_rdoc*.rb || die + + # Avoid unneeded dependency on bundler, bug 603696 + sed -i -e '/bundler/ s:^:#:' \ + -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \ + -e '/rubocop\/rake/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die + + # Skip rubygems tests since the rubygems test case code is no longer installed by rubygems. + sed -i -e '/^task/ s/, :rubygems_test//' Rakefile || die + + # Remove test that is depending on the locale, which we can't garantuee. + sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die + + # Remove test depending on FEATURES=userpriv, bug 361959 + sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die + + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + ruby -S exe/rdoc --force-output || die + rm -f doc/js/*.gz || die + fi +} + +each_ruby_compile() { + ${RUBY} -S rake generate || die +} + +all_ruby_install() { + all_fakegem_install + + for bin in rdoc ri; do + ruby_fakegem_binwrapper $bin /usr/bin/$bin-2 + + for version in $(ruby_get_use_implementations); do + version=`echo ${version} | cut -c 5-` + if use ruby_targets_ruby${version}; then + ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version} + sed -i -e "1s/env ruby/ruby${version}/" \ + "${ED}/usr/bin/${bin}${version}" || die + fi + done + done +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi +} diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest index 3d4019d7aea4..0266a18b06e0 100644 --- a/dev-ruby/rspec-expectations/Manifest +++ b/dev-ruby/rspec-expectations/Manifest @@ -5,6 +5,7 @@ DIST rspec-expectations-3.11.0-git.tgz 214878 BLAKE2B f830a0a31fb0e7cd6639e711e4 DIST rspec-expectations-3.11.1-git.tgz 217396 BLAKE2B b9660b22f0b23a5436d98ffe2b21b58c947765ab5cf7d245bf265faead46a5326fc403ad55ee2fcd72d96c8c29fc996715ecc74c9521ec4ca34daa9d5bc0f819 SHA512 1941056eb2f2205f583f335993e25030b433cb0463992d74d5c568c7bbab4313fc6e7e14ada5147064b14d6da49326e3c3cb342408cfe9b38d350c9470e5cdf9 DIST rspec-expectations-3.12.0-git.tgz 217524 BLAKE2B f9638e2e5c83020818b2de4c06074b7d70f02655a50d598ecfcd8c79e1abb2ec351c5b7aed1ec0ea84fde140fc1a04349a6f2edbffda7cb697135ac0b5788b0c SHA512 51a80b5d45e8ca61a829f2130c60433999c6d5c60343d25f737bdb9d6864e89a156b29b549250f7c4248d5ba7a0cef11eb28e55d3023274051eb11f2d0361c83 DIST rspec-expectations-3.12.1-git.tgz 218331 BLAKE2B 9a8604bef9d0118fc3ce5c56f3c53597bf5f4a2eb6a85977fb73ba43e585fc430c3a658ed6ca5b2b9c7fce7e11add81303734bac4bafc8331b221eef8eca4a8a SHA512 a0412cbf55d6cc3c0671abb3cb64bbc9473496aeb8adaa0fa5ae35f0036635adf5f894db0a9150002e7a69cffd1bf2b0c952672890197559be5c54bd2b508b64 +DIST rspec-expectations-3.12.2-git.tgz 218501 BLAKE2B 9b4dffb018d11c6d2bea399a7c1c3ebea157f83231d50e641998e0cb77e85e65c097a5d21e6989ce4c123df00137146b409fa2af102691867195fe42f1e11735 SHA512 6695959bcb185654e7ae96eaf112263ab49cf89f32781ab2b445e11e5d04b070295c9fa051ed6f4925b7cce78fb233490ad12618ac8f54d24a328ae3a6788859 EBUILD rspec-expectations-2.99.2.ebuild 1638 BLAKE2B a15ce1cfc2d48f2820daad095ca70e8969245eb04cbd69e1ab89a2482dcd53bb1968618396ae9ae3e7eb1ab6c8ea7aab663c4a91ccac49ea9cd7e28d6357cd3d SHA512 cc77361f64c0caa032c4ff553412f30994d8922623c5608e9cee4a682e8b08ee4d791b4738f716bd81ac567d98699791a779d138888eb3934c8dfdbabeb49984 EBUILD rspec-expectations-3.10.1.ebuild 1311 BLAKE2B 9dfb52e62ff11b037678e39e986602c9a9d9982b1f230f126d060e5d4fd53a77e942d8c63f7a466fdabf3d2a66fcbbe21a75609643d0874b7712efa5d46df7b3 SHA512 3f82f0e97cb560ebc7d5df647dcef05ef70126f108da01dbe2d6b47bc1a54dbd19d503e9670883f28a7ff51488a69abee0eba2001223bd4e46a2c29216c87afc EBUILD rspec-expectations-3.10.2.ebuild 1318 BLAKE2B 728632075a61aae02e2b7457e48af0acd9eb2cd4160e211cf2b612d7b12619856f024d9c177360f700d4fcb32f1ae569b49e71531c778537ea5cc08146086747 SHA512 d46ff515a45bf7f501383296d8191d7ba07b149dfc2a10209ef9161ca79f1ad57577603fffb907779b1073b6c8f5a24a1cec5dbf13f225b7736172eba1c20a22 @@ -12,4 +13,5 @@ EBUILD rspec-expectations-3.11.0.ebuild 1325 BLAKE2B 3ca7f8d244ab7207be1b5ed91a9 EBUILD rspec-expectations-3.11.1.ebuild 1318 BLAKE2B 8a9a06d6ffda7519a16064b7fb822aeaeaeaf0ce8a2062938b56e3c9c8f19ea26d84a9d3ade86e1fe7c89ce93928b521e07ac73fb3a5e6fb3a32e527e6df075b SHA512 cb4fd3c2fc3c162c96122b495aa6521062b1b85efb37cd622a1384e1e1d4148914937c2baa812c37a5308896fcd6ef320e2303c2c2e32546e83954e5edda9880 EBUILD rspec-expectations-3.12.0.ebuild 1318 BLAKE2B 8a9a06d6ffda7519a16064b7fb822aeaeaeaf0ce8a2062938b56e3c9c8f19ea26d84a9d3ade86e1fe7c89ce93928b521e07ac73fb3a5e6fb3a32e527e6df075b SHA512 cb4fd3c2fc3c162c96122b495aa6521062b1b85efb37cd622a1384e1e1d4148914937c2baa812c37a5308896fcd6ef320e2303c2c2e32546e83954e5edda9880 EBUILD rspec-expectations-3.12.1.ebuild 1318 BLAKE2B 8a9a06d6ffda7519a16064b7fb822aeaeaeaf0ce8a2062938b56e3c9c8f19ea26d84a9d3ade86e1fe7c89ce93928b521e07ac73fb3a5e6fb3a32e527e6df075b SHA512 cb4fd3c2fc3c162c96122b495aa6521062b1b85efb37cd622a1384e1e1d4148914937c2baa812c37a5308896fcd6ef320e2303c2c2e32546e83954e5edda9880 +EBUILD rspec-expectations-3.12.2.ebuild 1318 BLAKE2B 80713ab20268b191458fb6484966e7e9d3680ca1e9c900b7da821caf6ec14fd444c3318694416e2732ada0c4642b9ac383ab9fccc6d606f6f8619925d6e80076 SHA512 c0c52585417b6a8f6bc0eb0e17b72c9ed8321c368b8a00cd0869f335c486436220bd474a5b2d84a93347e98284af6a4eff7f58a74ef5420abcd0960fded38b8e MISC metadata.xml 351 BLAKE2B d819679f0a74e7885241c77f001e1522143ea052a1cd511d128c3321aa96d6060b98ef11c615165f631d4081f5757c7ed463de58f44acb6187d026ce86a2042c SHA512 1f43d7394a1fc32d2aae92b66a513af0572ee1ed4bed3d391b4774df97919113ec9ec9d0da68e26f1c5558d877e1c8fef01aca6b92ce6b70bc3b256ad70dade0 diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.12.2.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.12.2.ebuild new file mode 100644 index 000000000000..147583e75d53 --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.12.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1* + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + >=dev-ruby/rspec-support-3.5.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} diff --git a/dev-ruby/rspec-mocks/Manifest b/dev-ruby/rspec-mocks/Manifest index 8756d987c7ee..49e594af3379 100644 --- a/dev-ruby/rspec-mocks/Manifest +++ b/dev-ruby/rspec-mocks/Manifest @@ -6,6 +6,7 @@ DIST rspec-mocks-3.11.1-git.tgz 198650 BLAKE2B bdf06f0614bb7b6c4eb6a0ff0af84d4f6 DIST rspec-mocks-3.11.2-git.tgz 202347 BLAKE2B 7db89badf2cd3a9bdb590260dfced05cc72ccb7b2a8f600969f17c2df0523ee602f728aef257e88876f5c3b283645cf7f3243bd6de67c5bd26d3d74d0349593a SHA512 a1053cb9604b01de99f79b18fea2c4b3818d950e83da642a8b3aa9dbdb397429f51d95efa84a603770d4db94a25758c1cef15ce1ba77a4c952e9ef5f43a21e4d DIST rspec-mocks-3.12.0-git.tgz 202794 BLAKE2B 053c4b1504a369376cfef8411fd97304e56cd83be1b89296e4bf5b260af8ef89f8aff85a095bac5b8244b38020725ddd087d93774b49b422d37344b142a4badc SHA512 f292d4ab82e7da2badff596fba91a26499821565b13b4004571efdcd8b559cc4996c3d6e092c429b8ee2962d0898c79b54eec7fd6c7835d414e1ff0258bdd3f8 DIST rspec-mocks-3.12.1-git.tgz 203924 BLAKE2B d8b954046e2c4e7e4a949469733b44f4d71eef13642f4a65a25bc97322dacc75e6a32c07077b6dff6a71e66bae36469dd28bd641e9c5508bd9f333d30ff655e5 SHA512 983358f1acaaaeb12e77ff3d1863878382f9e0d413ac0f25d11e7f7f50251de17d3a9ad4ac25dae5568bdc4b9b0af716196ee409c035f9fd90b13d2ab769cd18 +DIST rspec-mocks-3.12.2-git.tgz 204751 BLAKE2B bcbb8d6df6b1bf3b58e43e72c25b792f91f00467520cb1b366883e8ad54b7a380b287ae9e6f453de78603423f099ed0d4b3759338f5a4a91ea9c42c16439c4eb SHA512 ae1cdafe53d7c3258bce4cd0bec10a9b91886f2b71736e028350ea212999b88b9fb2e3554f1db040bf8e66cfb2d0139c305aa219e01c8db998b75283da327d3a EBUILD rspec-mocks-2.99.2-r1.ebuild 1623 BLAKE2B fd1169cf4a9bdab0faac65b0cd738c31dfaeb59c5925eabd2999cf0a0c7cbf60033c9109414dd6504ff6e29c85bfe6a6fc41001ced2e5cd4eccfcedca86943a5 SHA512 5c4e6639691f811cb0b3658c1d6d0ebfc546ed486868e37dfa808c8a86041d1b0fd66f877505cc8ccee7129d9c0e586f63671391caec55f0b148e51ac4f7d5fd EBUILD rspec-mocks-3.10.2.ebuild 1442 BLAKE2B fec61c4afdf328f06e2c2a9d7e0f3644836376b9925dbf27a55e959956f9c049343a56e95e3272cf9d062d86d2914998309d6cd51a6f6db1b86352d90cd5adc8 SHA512 11f1f35d5b2d59292a42ad277b3676c5c34bfaa72e22bf5705150eeff1d94fc3688e5f9daaf2b11e327767d481102f1a1890329562c0a6e78bbae0146e9ed3e7 EBUILD rspec-mocks-3.10.3.ebuild 1442 BLAKE2B c980f6995e1c6e16b8c7ad463dc2a29ac19a2d9a0deae49a625d430f332ef3b1a49bf09cec4b46d80bb0a2f01abdfce478858f96731e5e771cc7430a025b83ea SHA512 a34266c160e0953251bac75dcf8ff18b19d2c42a49ab8844dea7033b22120563b29efe870755b1c2e8e4f099018c45011f77e2626775c8a1b1ee60d8351f1081 @@ -14,4 +15,5 @@ EBUILD rspec-mocks-3.11.1.ebuild 1458 BLAKE2B 56d68d0f345b15d6ae06307d4d0261d259 EBUILD rspec-mocks-3.11.2.ebuild 1451 BLAKE2B 1ad96337e55ec4f4f256c7ba81d625c0d27f11a3d602661ee9ca811e3809e00429a2ae9fb8aaefb0dbd9ab844acab23c6dd6a9c4df0829090ee82949858b2ad1 SHA512 5f51ab0781e583b17ad0975d9f2c10637a9c30067fed93a0a02d62634338b7c25ffdc5d2bd592a9e18d1ef050f797429ed9d959b236573348c33cab751a08f91 EBUILD rspec-mocks-3.12.0.ebuild 1452 BLAKE2B 33b7391074e25374e5485f960dcd08f8c9a329f4ddcc97f2ac7fc3632b754d3014c3cc6a89dc59459d9957cd74338b3eb6e4d8619b85c618a533e4d6d18962e0 SHA512 81097c356cb4c879c4ddf52f4f32de61ac2f5fbe489449536abf9334bf97aa89e46d388b627c3a6fb46b2c194e61d8e0b0a36cc43468bd5174b521aba9658879 EBUILD rspec-mocks-3.12.1.ebuild 1452 BLAKE2B 33b7391074e25374e5485f960dcd08f8c9a329f4ddcc97f2ac7fc3632b754d3014c3cc6a89dc59459d9957cd74338b3eb6e4d8619b85c618a533e4d6d18962e0 SHA512 81097c356cb4c879c4ddf52f4f32de61ac2f5fbe489449536abf9334bf97aa89e46d388b627c3a6fb46b2c194e61d8e0b0a36cc43468bd5174b521aba9658879 +EBUILD rspec-mocks-3.12.2.ebuild 1452 BLAKE2B 16a1dea2a9f1190a7fd5a14ea16b4fa46b26df448ceb7824e0fb49e707dd5dde4d00660a12a576ba24be11c13c38bf3e43491dfdd5e1c4854ccebc3eacb9ed4f SHA512 4206a7d38d40a1918e2586595fb1e4df9bd7062711955f677bd839faec11dcc1613bf28a07c658e400221b51c73d9da12b970f127cbe4d87469e12267e8462e8 MISC metadata.xml 344 BLAKE2B 5b939c668a8c75c33348bff9e8a0fa6042702fb59cdfdc2c8b45db1d9d191950a63d6f9b1329e6a2717a097d7b001afecb9ebbd0fa08badaf95664d37b06eb17 SHA512 026e9a293c2f99d86a11f37267fddcf54dbdc33aec00f470a988d477d6e3198ccc478c03cca059be0a4e324b9f256719c99c7c81af97c75fd7cebab433d4b1a1 diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.12.2.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.12.2.ebuild new file mode 100644 index 000000000000..078bb0e70328 --- /dev/null +++ b/dev-ruby/rspec-mocks/rspec-mocks-3.12.2.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="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +#RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-mocks.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-mocks" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}* + >=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-core-3.12.0:3 + >=dev-ruby/rspec-expectations-2.99.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die + + sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index 3f1fa734ef0d..042694761e31 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -11,6 +11,7 @@ DIST rubygems-3.2.33.tar.gz 12131881 BLAKE2B 6ec9321d808df2ee1bbde7f9889471bb7db DIST rubygems-3.3.26.tar.gz 12995476 BLAKE2B c06400d263f64ee988781b49628eebde2b78b5c3cdf3796fe5e1ce5891cb0b41b5e50313293afc72c9b278ab00415b91a862f4245107c63e8eedb9904a5d33e2 SHA512 5aad9f6f0f7187d7d3f2a77ceb50b4b293290dc2e83fb55654c8fdf8e222568d40ef0c64d603ae2ff0db39e7a39ee89ec3c48bb102d434637145863881851086 DIST rubygems-3.3.8.tar.gz 12928096 BLAKE2B f09f7da32db03b9240515cbc114b94fdec0e7d9da6c4ac1ca297f76989be154da3dd6dbf4701e295d01dac957fbd4429ea39eee3ee66bc4fb6d4e6194ccec96a SHA512 bc5719204ac81d9a70df0c8affd99c6e45835f3aa140c9d262d34bee879a7b932a0b5069453e949054e9f3feeab7d376f1a02e1aeaed167b30bf59fe57d0af40 DIST rubygems-3.4.1.tar.gz 12999634 BLAKE2B 019364e3abd3b12f2a37b08a8d32546cd002c47653a4cdd4e06d8605010dcfcbf3f82f2d375c6bd51a8f1b462b624cefb85932c075b965d5038c26d6079de261 SHA512 2183f7d6ab914c47c02b53cafa6f39845986e4b38713d320402b98f0f0926dbbd957ef11c00b4fbe8f6c9985a1a5d9f551b2df9d47f00c389026e373dbd6f6ed +DIST rubygems-3.4.3.tar.gz 15002575 BLAKE2B be8dfb7233754e0ef9147eab1c64d363c38de5a6c296087a193b801c9fa1a12d2a21d7b3b01360f53a30caa6815b3bcdf3d14ecd19ac19dfd2e88115526b5a97 SHA512 7f3907b6ab8f001bd856c2b25b71c5ec32b21b2b5fa16ba369e3108c44698712ac3f5ace430554a4b15dc0adef2d87fa41bffa03dcd01f524fe8bbd80de9807b EBUILD rubygems-3.1.6.ebuild 2833 BLAKE2B fc86fe558e68ec8c97d11ecf54d71267cf4858b945e4da004eae6138409b6050245958a2177e539dc29a442cdfc9140fa6d319612b90d9dc5cdfd186d9d237f0 SHA512 492eba6a302e5b96cf37c113c6d17f5278383df97d8419e2856d53e7058aa055b70753c14caed7f47a3bd87871f3f54d76fbd97332a35448095235a760169c6c EBUILD rubygems-3.2.14.ebuild 3148 BLAKE2B 725418cf75abd437994e7ca0819c0444b402fd4fc4e7a0e34abd4dd91a45f53fe887bc53527a148b3cc6e939c830884b64c98bac4c0d3214e6eb427349f63e2e SHA512 62c24f631f6b42f40fd2686c34dded757c1fb65698ed659b36a85dc688c0a4850b2f5e4cfa2e9efd042636f55013a0725ff162dbd3cbf6631c1fc3c8d7917092 EBUILD rubygems-3.2.22.ebuild 3141 BLAKE2B 0e7944a328814a6aa50867212e7a2b114d596185ad4bd0664ffb474d9ec7ca8646dc0d5ddb8b2af978d0c2bccb1a55706bb8309799f7e80f33573c5877d34206 SHA512 54153f7998221a53b54e0e51ba4ee6e70187ac4746a6451c5eb0c269b4c43f21c7323d8437dd68d28e39fe258bd550b4c44d62cf5a1bca0b46c4ff2e5ee19dc9 @@ -18,4 +19,5 @@ EBUILD rubygems-3.2.33.ebuild 3313 BLAKE2B 7df80679eca565fe40e90d303ae628aff4ca6 EBUILD rubygems-3.3.26.ebuild 3451 BLAKE2B ac53dc2b46dfdb0f0c629362ecc355ee317071a4970f6eaf7fbc92657466a6c0f3f8ae72bc485ac87e8274108388f3f612bec47fa3cbc439088a722f5d0ba983 SHA512 b9a28984e2e82c2f118602165d07540beb34814e03273942c6fb1f257e011b09a3136feb11cfbf7aa89138073b53a10d36b38d1abf0a66c40923cd93db877eb1 EBUILD rubygems-3.3.8.ebuild 3327 BLAKE2B 0d9f66367e4b5c96a5fab1b00a17588f44df93523c72eaeef6efa74bb91b8aaeef0322e5f01fe11d56eaefbe1a2b1a35e8fc98a553954838c1403e2a049ca4c3 SHA512 af42c7a1e19d4ed119ffe538e3500eefa404caee98c7b02b4bf2b03692948572a91396f6a4a28e420e686a2e57bb7fcdd03df24c16389c529eda29446eef7d94 EBUILD rubygems-3.4.1.ebuild 3451 BLAKE2B ac53dc2b46dfdb0f0c629362ecc355ee317071a4970f6eaf7fbc92657466a6c0f3f8ae72bc485ac87e8274108388f3f612bec47fa3cbc439088a722f5d0ba983 SHA512 b9a28984e2e82c2f118602165d07540beb34814e03273942c6fb1f257e011b09a3136feb11cfbf7aa89138073b53a10d36b38d1abf0a66c40923cd93db877eb1 +EBUILD rubygems-3.4.3.ebuild 3451 BLAKE2B daabfa111abbf40b32058b4910342954ac722be1b53f8c78228618047d2b083267d19cfe724cfe1af34c462e3f3ac89366a2ccd02e81fa3cba295b466b8698f8 SHA512 16bec7cdfd929c48564e1a9d660fa81677e0585edc8c7aad546a12d21c322883dc2974269674f16abd568540896b5081181f01d9ca5ac55452330f293eb23940 MISC metadata.xml 432 BLAKE2B c63e6f07840e2764fda3c1270275351adef92a243292b67181cc06a0fdbb76ee02e64069149c082d33d75f9407ced54156423b023fc1eb34a800282f0aead9ca SHA512 67ce708fa9f5532770b83481d4b33bb1e21be994dd7c5342c4abcd084b5cbfe544ee692e25a468e99e22174fe685312a3f42bb80f01120fcfe138046fb0a54b8 diff --git a/dev-ruby/rubygems/rubygems-3.4.3.ebuild b/dev-ruby/rubygems/rubygems-3.4.3.ebuild new file mode 100644 index 000000000000..b1c1f69fed82 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.4.3.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="|| ( Ruby MIT )" + +SRC_URI="https://github.com/rubygems/rubygems/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( =dev-ruby/builder-3* )" + +ruby_add_depend "virtual/ruby-ssl" + +ruby_add_bdepend " + test? ( + dev-ruby/json + dev-ruby/minitest:5 + dev-ruby/rake + dev-ruby/rdoc + dev-ruby/webrick + )" + +all_ruby_prepare() { + # Remove unpackaged automatiek from Rakefile which stops it from working + sed -i -e '/automatiek/ s:^:#:' -e '/Automatiek/,/^end/ s:^:#:' Rakefile || die + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-5.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + sed -i -e '/test_initialize_\(path_with_defaults\|regexp_path_separator\)/aomit "gentoo"' test/rubygems/test_gem_path_support.rb || die + # Avoid test that won't work as json is also installed as plain ruby code + sed -i -e '/test_realworld_\(\|upgraded_\)default_gem/aomit "gentoo"' test/rubygems/test_require.rb || die + + # Avoid test that requires additional utility scripts + rm -f test/test_changelog_generator.rb || die + + # Avoid tests that require a network connection (for crates.io) + rm -f test/rubygems/test_gem_ext_cargo_builder.rb || die + + # Update manifest after changing files to avoid a test failure + if use test; then + rake update_manifest || die + fi +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') +} + +all_ruby_install() { + dodoc CHANGELOG.md README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(25|26|...)" + ewarn +} diff --git a/dev-ruby/sinatra/Manifest b/dev-ruby/sinatra/Manifest index 186a4edba4e1..253a43b58017 100644 --- a/dev-ruby/sinatra/Manifest +++ b/dev-ruby/sinatra/Manifest @@ -1,11 +1,9 @@ -DIST sinatra-2.2.0.tar.gz 513752 BLAKE2B e407b9241cab27e326c0a2d4d83593e292de902b6ed19a12f17b0cd114230b0d10f1ffaa8f8b8237d17b547c7e012c57456af357019b228f3d7a88847220cf33 SHA512 be9432a8efa93578accc836cd0fecca128e56989d8596f1b3d33d2d956e90acd80244b98473fff2adae13ed4a1e933c41e73c80755a6f3418a65cdf33c011145 -DIST sinatra-2.2.2.tar.gz 513056 BLAKE2B 80904850ce577131ecc6c28917772cda6ab606ff1b4a71b733cde98d56e2906bb0dc5b65c83465e65686571e8752ec7935d89734e7d2e45c544fe14a2c8046d4 SHA512 e69a36738a7c1095968a343113ddba414ff685e941a8b55575e4b2ffa5a8e7394d874966d5532643cdfec997ac4c825c293185f6688c715006e37159eedd2be8 DIST sinatra-2.2.3.tar.gz 513333 BLAKE2B 925b3188cb3f63d58a1078845bf58c6684e176527f29bdb0507e2185613b35930345ef1143319b3bd53170846cc67c8e8ce92b036e39ad03fee0f4f361a2aeaf SHA512 666b7a7fec67b4976ec10a704f1e98f9e815cad887ecaaf5bdee6cb0b5f4e29d99ef806865bc5b8e61d2aedea5b343c14f342d03515f0f6c68de3dc905fe77a1 DIST sinatra-3.0.2.tar.gz 265824 BLAKE2B 87739d8863dd9959b8c3530b19a3f52de31636fcdd77fe1558930749498c73ec4cf0ddf998a9f6029c46842656059f8bd76d1781beb277608ccf265577561447 SHA512 57094e00ca8280401ed76f5c52dded82d42a4a81290a9a990f464ac43abbf350e8325b8f60505bfd005b6c7d92283a3f7a9345c0ccbf227530a8c3cb93c0af38 DIST sinatra-3.0.4.tar.gz 266263 BLAKE2B d338fde60ab57f08d5df8afe240b1ed5cb1cde351b3f57b9700a7019e317cc16fc1a41148c1a75e97ff22844e8555b8fc1723c9d12818406fe28d1399fba9506 SHA512 b0581806261df57d8aa392b920a8998ecec311b1f82ab5ac7093c77ba5044eb9f5029a4d7266db05aa791ab30397fa304295a964b3ec3b58a2c0d13e3abb6328 -EBUILD sinatra-2.2.0-r1.ebuild 1005 BLAKE2B dda13c02308ce841d04b6267592523a417d2ff3043124ba024a591097e3a3436d4f30f1adf0237d4495471c1b9b406f3fadf792710a6e42a590f8b21284ff51b SHA512 aed0a377a5b9145344506ef2175ec1d6fec265f347f82ac960baad954366c325d501fb3f4ef167bf81e09079d99dc68c1686e9479b5d76abee800b32e51393fa -EBUILD sinatra-2.2.2.ebuild 1006 BLAKE2B 02051754d7ceead4327c603836d52b6d4344e9c1ab4d3ae6fc3a7dc2ded7a2ee8540702aaca19f3eb388e064bfa990637776e400b068f1ee0702fc5917da5eb3 SHA512 2552c3e63d0b62838d631551b2a135822df89c2ec6758a34ec058989f47925525cf0c3a984f777166404449c0ec09e16b4cd4d5672a1d01d43769c6e486a483c +DIST sinatra-3.0.5.tar.gz 266205 BLAKE2B 16e0631ed49e62610c7bc1e43f03f21f57ee968b0f3ac98b599748e9572cc0bfc9121dc8731a0dcc9dd1bce04837373f93f198bff56c0de9f50932711b4040e8 SHA512 9ec41c3f0c4e4faaa181fddb2fe3262796a29e93fc07349422ca20dc845632c127c3e82e67f16ca19d2b2bcd43ad48fdca918d70b6747d8a2088ce1c84fd8eb2 EBUILD sinatra-2.2.3.ebuild 1005 BLAKE2B 5b6d14debe343babe32dc4985a05a41fcd5c956bc9f7438f2486d4bea48349af8cce4c5eb6d97783242d55ffcfe051fe6b9a01ee15c6afada090177d71d0fe57 SHA512 aca6222442954b05734e096d225e9e550449f1e597cb369e3e653bf3063400fece8a776dd11af6e7e37841c585f27d4f46f5de47f574a715f95bb2b780793863 EBUILD sinatra-3.0.2.ebuild 1032 BLAKE2B a318d2bb27f201493c9b1b07d741af8f97ad03c6bea074cfc99946f89fb8513770ef3f584beff328767723b954e4f657c5ae64541ebab365fe322e7bba0c78e5 SHA512 43124a035900095395901af2c0e1766987401eaba394e56c8e830214ff7fd3469f1b5f4bc3a1bd0cdc01a03889b6a57b2837aca1db43a5a8fd4dea42c12e480c EBUILD sinatra-3.0.4.ebuild 1032 BLAKE2B a318d2bb27f201493c9b1b07d741af8f97ad03c6bea074cfc99946f89fb8513770ef3f584beff328767723b954e4f657c5ae64541ebab365fe322e7bba0c78e5 SHA512 43124a035900095395901af2c0e1766987401eaba394e56c8e830214ff7fd3469f1b5f4bc3a1bd0cdc01a03889b6a57b2837aca1db43a5a8fd4dea42c12e480c -MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 +EBUILD sinatra-3.0.5.ebuild 1032 BLAKE2B e534db05a691a05197a5733c2ba4630eb463749e2436f08711e0eadaef7c0f85d90804eb803811d55d03aa63e4f7fde611b5a9d2cc6a0c159d6c5c2f4a99b4ec SHA512 a744d018502e8dfc1cec63bd3aa4575dbb2d45b1bec0df74ab729b03236941aa7fa7bfbcc49e329c7e54a88dd6c327b71f70432f89bcb46b57a3c6e6ab82f953 +MISC metadata.xml 393 BLAKE2B 730e333a7e2203f0219040e53c2ddd3a894af807a242e62df1fdb94a2eee0350c52348a55699c80d4674f0b6024875627f68e2061b740dced0e2ebd2155e5b38 SHA512 fd922f80dcd2c7c663506680f9b6d86f810c68d1c6f81480063d3c20aa561a972f0fe837dbc636848191092c7b599d7e330ffe296e41c0da6f46dba68d2cea7c diff --git a/dev-ruby/sinatra/metadata.xml b/dev-ruby/sinatra/metadata.xml index 658c72b1920d..a14add969f1a 100644 --- a/dev-ruby/sinatra/metadata.xml +++ b/dev-ruby/sinatra/metadata.xml @@ -1,8 +1,12 @@ <?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">sinatra/sinatra</remote-id> + <remote-id type="rubygems">sinatra</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-ruby/sinatra/sinatra-2.2.0-r1.ebuild b/dev-ruby/sinatra/sinatra-2.2.0-r1.ebuild deleted file mode 100644 index 6e3d3a72f8de..000000000000 --- a/dev-ruby/sinatra/sinatra-2.2.0-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30" - -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="http://www.sinatrarb.com/" -SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="2" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="" - -ruby_add_rdepend " - dev-ruby/mustermann:1 - dev-ruby/rack:2.2 - ~dev-ruby/rack-protection-${PV} - dev-ruby/tilt:2" -ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder <dev-ruby/activesupport-7 )" -ruby_add_bdepend "doc? ( dev-ruby/yard )" - -all_ruby_prepare() { - sed -i -e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' test/helper.rb || die -} diff --git a/dev-ruby/sinatra/sinatra-2.2.2.ebuild b/dev-ruby/sinatra/sinatra-3.0.5.ebuild index b196d368b135..affc012e8456 100644 --- a/dev-ruby/sinatra/sinatra-2.2.2.ebuild +++ b/dev-ruby/sinatra/sinatra-3.0.5.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30" +USE_RUBY="ruby27 ruby30 ruby31" RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test:core" @@ -17,13 +17,13 @@ HOMEPAGE="http://www.sinatrarb.com/" SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" -SLOT="2" +SLOT="$(ver_cut 1)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="" ruby_add_rdepend " - dev-ruby/mustermann:2 - dev-ruby/rack:2.2 + 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/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder <dev-ruby/activesupport-7 )" diff --git a/dev-ruby/sus/Manifest b/dev-ruby/sus/Manifest index c192a538fb79..89992026f502 100644 --- a/dev-ruby/sus/Manifest +++ b/dev-ruby/sus/Manifest @@ -3,9 +3,11 @@ DIST sus-0.14.0.tar.gz 24207 BLAKE2B 1132e6fdf7c842ec8835613b647c837a1f5ec46c197 DIST sus-0.15.0.tar.gz 25434 BLAKE2B 538ac7b81f7dcc74143e42a7b3fb5e12243b6a36228ac09cdf31549a9a666601d9e155fdd6ef079772b525e6993e07a12230ef87064d99b6ec5ddc643e9128cc SHA512 0110b08af0a94595764a9085e23d9d4b3ac1dec0b16e3c672b11520c7155d6b147890d53d25f00302812d22f95cb3ee7fc5563eae2476d8c99b7cc30aaadbc9e DIST sus-0.15.1.tar.gz 25680 BLAKE2B 4350023a6c2ae1c77687d0ebb66a31cd7a4d90cf955eabdca44be2282984aa3740e2f489844d7e30f448ba92cda6c949992cad1ed246c48db01c5b08ec058ad9 SHA512 f962f7f921144cca25faeb53be34a892501fdc1a2bd83dc64be7640232d1faa82b4d28c046af3440f7e142ea0fba525e1087b466952988e017ff469897dc01e4 DIST sus-0.15.2.tar.gz 25676 BLAKE2B 3cc99d849674b87c8ac919dc176d48cfc184de9ed302f33a40a3f171430e9cc0ad9624c29f95053e7a8bd0ab7b2741bd6a09c7a77707a9ef83a265b09a095b4d SHA512 0f2e0f3640cce798564c53ffb2cc93996eda28af3b49d4f0d89327be960ef68e8aee5b0e906cfbadca0582bf5b363633314fd7d2eabf7ebf4782fe2aed095394 +DIST sus-0.16.0.tar.gz 26123 BLAKE2B 829e2ec74e60eb41809d85e9f74e1c8697d7803c6f26dd5da18f705fb0b35f85d8efb976eb858e07647db2137a1e864181346b69d2dd054d81289a6bd43cca2c SHA512 cd787e63b202df8b501c5d71198b9cfa23085b7e6ad7d9d9a4d023e4fab3a6c103d89390293f9940d14c023ea224b33b5ec728b67988aee8279cf248e20547cf EBUILD sus-0.13.0.ebuild 814 BLAKE2B dca4143816b09ca42de7d48e1a8cf51f82ccf5406884a04090244221c869be29bb89c7986f896b4f0497e89d7a9e44f740dc66ac0ee58a04c6e6a5535b61eb47 SHA512 9e17bc2fdfc1f9e41f5d3775b211f538de8e48eef8075ca2ec1ff2d56be110bfa4c336b858ce6fde294f98f46cb447c7f80e70c96a1f7ba37c58cd393cfb1fb7 EBUILD sus-0.14.0.ebuild 830 BLAKE2B 639e9073fb91743afdafccdd6a19d5af17401bbedf50dcb7aa04be4726399b939eb3ba937d0fea18dd7275a7bbffa8008b29f775d35c1f9880a136b86aa8ebff SHA512 c25fad76b81b85f1c763316e9a7b98b22214e60c89f44f7ded4c6a7347c70ec41b24fba99ac2fe80c8fb6ac3ea686a5a1b85713287d8dc0d59a69639c42344d3 EBUILD sus-0.15.0.ebuild 830 BLAKE2B 639e9073fb91743afdafccdd6a19d5af17401bbedf50dcb7aa04be4726399b939eb3ba937d0fea18dd7275a7bbffa8008b29f775d35c1f9880a136b86aa8ebff SHA512 c25fad76b81b85f1c763316e9a7b98b22214e60c89f44f7ded4c6a7347c70ec41b24fba99ac2fe80c8fb6ac3ea686a5a1b85713287d8dc0d59a69639c42344d3 EBUILD sus-0.15.1.ebuild 830 BLAKE2B 639e9073fb91743afdafccdd6a19d5af17401bbedf50dcb7aa04be4726399b939eb3ba937d0fea18dd7275a7bbffa8008b29f775d35c1f9880a136b86aa8ebff SHA512 c25fad76b81b85f1c763316e9a7b98b22214e60c89f44f7ded4c6a7347c70ec41b24fba99ac2fe80c8fb6ac3ea686a5a1b85713287d8dc0d59a69639c42344d3 EBUILD sus-0.15.2.ebuild 830 BLAKE2B 639e9073fb91743afdafccdd6a19d5af17401bbedf50dcb7aa04be4726399b939eb3ba937d0fea18dd7275a7bbffa8008b29f775d35c1f9880a136b86aa8ebff SHA512 c25fad76b81b85f1c763316e9a7b98b22214e60c89f44f7ded4c6a7347c70ec41b24fba99ac2fe80c8fb6ac3ea686a5a1b85713287d8dc0d59a69639c42344d3 +EBUILD sus-0.16.0.ebuild 835 BLAKE2B 2662afb4c07112b2782efad38e34e82fec9692db383b0d054d188ada82dfe57df1f3f110d6c0ef5a72f186bc24453e30d4b03e089b43e135ab623f191b1f5c59 SHA512 d925b9384705f276d88607117da89d7fe9f149a68478c18ff4d68d771f21e9b4ff10b6e8cb451e485dcc128c97ffc72cf64bb384366c415c9e06480e74be0c26 MISC metadata.xml 339 BLAKE2B a89a738b1bc39d01b68a8ff2f6ea0b7edbb35c6c9cad01b7762e2ee4e99b00bd72b87752832fb2a09017836a648334aefaf3009d6912917e490c13557427f963 SHA512 bcc9d407a5fb5159fc2910fa0eab40d3654d78907a0b1812351adf85cf577d3cef53550ebcd86aa40ddc6c03714df97469615dccab9ec4388728ab1106cf6cd0 diff --git a/dev-ruby/sus/sus-0.16.0.ebuild b/dev-ruby/sus/sus-0.16.0.ebuild new file mode 100644 index 000000000000..46c6a8c0fd05 --- /dev/null +++ b/dev-ruby/sus/sus-0.16.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A fast and scalable test runner" +HOMEPAGE="https://github.com/ioquatix/sus" +SRC_URI="https://github.com/ioquatix/sus/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Remove the sus configuration which enabled coverage checks. + # Its dependency is not packaged. + rm -f config/sus.rb || die +} + +each_ruby_test() { + ${RUBY} bin/sus-parallel || die +} diff --git a/dev-ruby/unicode-display_width/Manifest b/dev-ruby/unicode-display_width/Manifest index 3820b8c84e8b..a57cb265f116 100644 --- a/dev-ruby/unicode-display_width/Manifest +++ b/dev-ruby/unicode-display_width/Manifest @@ -2,8 +2,10 @@ DIST unicode-display_width-1.7.0.tar.gz 10822 BLAKE2B c3db387b9d61ba4ea9d5559824 DIST unicode-display_width-2.1.0.tar.gz 11981 BLAKE2B b8e70183b1df9f17bd719e1193c3c2ade5d9186772e4246b618d882eda997a0c22ee0179778f7b8580e32ec89461453144d57d198075f0d400ea52f3679ff7dc SHA512 f8fb1375ba0e88a41633d4aca4628198c5ee55f318a7f0055c9178b39f55818ec892f6e455021cf5050dbd1d748a102b319b1d8b9921ed1ba54a1d106d7911aa DIST unicode-display_width-2.2.0.tar.gz 12077 BLAKE2B f7b26d41e3b70122ddccbfdd44d83550bdab7b59b6801881814f33e50544d9d68ad59f34b58d9e961aaf9e2c709dfc83da8040cb03667e1293958cb23cf987c2 SHA512 85b7b9ed1e82b7865f32ad61208013cf89bcc5df05ac59ca2315545b759ee8da968409cbe89e7e7f30b03e209e811584ece2e99d33ae35413f9b6c318fff7064 DIST unicode-display_width-2.3.0.tar.gz 12130 BLAKE2B 8a29aa0227e9bc63a8484d9a4f836dd4fccd3515206627e31f820cdef49167c406c67a3c9bae9c75b5e1c25675e1da02015f7eedc09ff413ffcd3e96704ae664 SHA512 82f52512f8338e310e501fd1892cbaf9c8e5b49a8bd191e9fafde72ca1ab5503ddfa81c3633b4ef6bc9e57d805f2792ddb5c6c63948022097feeb9bd7030beec +DIST unicode-display_width-2.4.2.tar.gz 13096 BLAKE2B 89f7f8ded131a6c049242ede8822475c2629e2377a6b06ca59b1264c1c18981039c95c0aea8a24c00488b8f5c48aed3cc1b5672785eb36bbcf3cee1af8c2cc53 SHA512 c0815c19821855fed2d3205a6cae2059e0338fb27148f55281c910b54d5b0be2d34ba4bf990ba1c328c454f7ec8dbc0c69427550f2d62d1ac4ce5174b53b8ff3 EBUILD unicode-display_width-1.7.0.ebuild 748 BLAKE2B 19c16dc0ff2b95b1ed42c0f54579b7dff9dd197169d6e5489e11cc1a9160a4873614e032a788f57f585b4a37c8c31febb23899b67f09e5d26b4cb814b6913556 SHA512 f4ccc3cdbc986402756c2014421359ee95b2c2ea6544b962da0340f42bbe0652cdd71340d732f215cebb2e6979b9f542949282f25e7b58efe55b4d41e02c168f EBUILD unicode-display_width-2.1.0.ebuild 808 BLAKE2B 845734eb0151a09f11c1461c870bb17d4f9df412e67a3700c778794776abb818a3a732f537b6c96d090bf770c2e8c2298e463e095c917a18f38b6e27c92196e2 SHA512 ed57f2930157d03c5dba412280c2ea5a5ff80334561b68d98780a396db8d3db96aef8bbbcf43f38002f87f3fec8968b4e5e9a6861b576dd90e9e2e7299afae71 EBUILD unicode-display_width-2.2.0.ebuild 808 BLAKE2B 845734eb0151a09f11c1461c870bb17d4f9df412e67a3700c778794776abb818a3a732f537b6c96d090bf770c2e8c2298e463e095c917a18f38b6e27c92196e2 SHA512 ed57f2930157d03c5dba412280c2ea5a5ff80334561b68d98780a396db8d3db96aef8bbbcf43f38002f87f3fec8968b4e5e9a6861b576dd90e9e2e7299afae71 EBUILD unicode-display_width-2.3.0.ebuild 801 BLAKE2B 3ca534298202ff608b79a774ee1d2a8de968adc822ce2914a2a0473586b01af75f1f3a74845920332abd3c817f81df9d81d54e13386d56f677998a1ed3f20b31 SHA512 cbc948df641120d366869ac56d5d9418049db55722f1756c5fca5ffeee4adf08ef41728c867fdeda83e6ec477d1f50a306a5a77ffd623a4109b00b3f11798ae8 -MISC metadata.xml 258 BLAKE2B 3c49249352f2cb11df010da6ecd8312a27047557ca5f2686837ad66933be9ea2627c40f91daedf8dcd9099c6cdc0dc2d2ba32aaf9d888c41fb60ee098e1c0c1e SHA512 ce517e35f3c0a2a9807ee68b0a8c84ca28db8dfabb41758cac71f9da22847fe20d259295f0681e38a52a24618450a0ca097939dc1022e3987bb0088762e48326 +EBUILD unicode-display_width-2.4.2.ebuild 801 BLAKE2B 97462f7cccc2fdeb37586f33103bdc0af9b55a0daeb28c3c85b33a12089c3438f95baa938eeac4cbacf5a31eabaf4cfcb03ae29d7a0504a5c610c3ad149cb9ec SHA512 caa9fd820610494f1952a46b49db276f5003b3b1a3c70245c4d72302fdb201dc7e0ee3ece89dfdf0b144ffd4cf94b0f307c5755fe07ed7d2dbf92467053ce2e0 +MISC metadata.xml 422 BLAKE2B 822ec564698366cc9ae3c5319faf86ab7e3408f7f48cb1fe7118a912469bfa75119d1a64fd01dab709cf6df99ef5a5f0300a60393b77ccce0081e321e32515fe SHA512 d7c6abeb16d32bca8afa485954bd4fea6e4212c1d9b8139346c2d072cb008884a5bb70a82653a2e678a5416930a5e01b65de92534e13195edf3b9449e70f3ae6 diff --git a/dev-ruby/unicode-display_width/metadata.xml b/dev-ruby/unicode-display_width/metadata.xml index 7a38fd1850ff..320aa7dd1242 100644 --- a/dev-ruby/unicode-display_width/metadata.xml +++ b/dev-ruby/unicode-display_width/metadata.xml @@ -5,4 +5,8 @@ <email>ruby@gentoo.org</email> <name>Gentoo Ruby Project</name> </maintainer> + <upstream> + <remote-id type="github">janlelis/unicode-display_width</remote-id> + <remote-id type="rubygems">unicode-display_width</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-ruby/unicode-display_width/unicode-display_width-2.4.2.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-2.4.2.ebuild new file mode 100644 index 000000000000..0be3be30a89d --- /dev/null +++ b/dev-ruby/unicode-display_width/unicode-display_width-2.4.2.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="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_GEMSPEC="unicode-display_width.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Adds String#display_width to get the display size using EastAsianWidth.txt" +HOMEPAGE="https://github.com/janlelis/unicode-display_width" +SRC_URI="https://github.com/janlelis/unicode-display_width/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm64" +SLOT="$(ver_cut 1)" +IUSE="" + +all_ruby_prepare() { + # Avoid experimental emoji support for now + sed -e '/\[emoji\]/,/^ end/ s:^:#:' \ + -e '/Config object based API/,/^end/ s:^:#:' \ + -i spec/display_width_spec.rb || die +} |