diff options
Diffstat (limited to 'dev-ruby')
34 files changed, 196 insertions, 279 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 51ac39e62ab0..8c258ee1562b 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/actionpack-action_caching/Manifest b/dev-ruby/actionpack-action_caching/Manifest index 2f939417d2d8..8a2712124859 100644 --- a/dev-ruby/actionpack-action_caching/Manifest +++ b/dev-ruby/actionpack-action_caching/Manifest @@ -1,4 +1,3 @@ DIST actionpack-action_caching-1.2.2.gem 16384 BLAKE2B dc41343b2645b9ca6ab2148f175c73dba8c54eef227720c8be06ff17e724338fd2edce6dac9939f379676cd759acd87d07b580cf8b53570a321adce1c009b02d SHA512 aff795fe47f6bf97875afdcc6d55ecf5769850985f3f989a95beb46e09989d70e6b05b3182b78029f98ab1545715a7877c1021dda5b4bdbf575a3a540623bbaa EBUILD actionpack-action_caching-1.2.2-r1.ebuild 827 BLAKE2B 19debb97bc07c1eeac3410f944eeecd04212c487d5463c8ee06ee630d7af352ca913c79867f50cfc4ea56dc9994b764da63485a206ac41179ae70ebf9da27902 SHA512 a43799afa0c8598813007730e906bde332a74404472888036b7ebd5daf1666a4f27d8828133ea7b3da7045e4ec356649739ee4afda8e179afe97b2c6b342dc38 -EBUILD actionpack-action_caching-1.2.2.ebuild 827 BLAKE2B c80aca8dd6fea1339536a74f42e0e84d2796484f733138cd940005737970b43515480b52aa8d3c4df4f6bbaff54c59644e74c649e719fecc2632775558bab847 SHA512 94dc8b3d19cd6894c4ab625720ee52021f46db1aaed91f945d4d00f917b701670aeeb48122c96e3943024f68d5610541ce87bac13af2c1d3c73fece298bd4a7c MISC metadata.xml 348 BLAKE2B caec430a233f193f8f82733848c4ad64a47e3450426df9730dd24012d5c5604a31ad808c3e3c6a85e20fd3e025885cb7d9d195f7ca98a113f6fe9b460033b120 SHA512 f7a1d5974be1e5e18fc15f4853042381ea59364038b76ef7cefece45493e1ee5f251bcaca8da81cf718fdfd1f10ec9f71155b5081c86a4b20a418d3a13ea9ec9 diff --git a/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild deleted file mode 100644 index 6b8ce913e124..000000000000 --- a/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_TASK_DOC="" - -inherit ruby-fakegem - -DESCRIPTION="Action caching for Action Pack (removed from core in Rails 4.0)" -HOMEPAGE="https://github.com/rails/actionpack-action_caching" -LICENSE="MIT" - -KEYWORDS="~amd64" -SLOT="0" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/actionpack-4.0.0:*" - -ruby_add_bdepend "test? ( >=dev-ruby/activerecord-4.0.0 - || ( dev-ruby/railties:6.1 ) - dev-ruby/mocha )" - -all_ruby_prepare() { - sed -i -e "/bundler/d" Rakefile test/abstract_unit.rb || die - sed -i -e "/git/d" ${PN}.gemspec || die - sed -i -e '1igem "activerecord", "<7"; gem "railties", "<7"' test/abstract_unit.rb || die -} - -each_ruby_test() { - ${RUBY} -Ilib:test test/caching_test.rb || die -} diff --git a/dev-ruby/actionpack-xml_parser/Manifest b/dev-ruby/actionpack-xml_parser/Manifest index 1c78d5b2853e..e41502b2e6cb 100644 --- a/dev-ruby/actionpack-xml_parser/Manifest +++ b/dev-ruby/actionpack-xml_parser/Manifest @@ -1,4 +1,3 @@ DIST actionpack-xml_parser-2.0.1.tar.gz 6494 BLAKE2B 271e1352085e7c75754253222c9f861f7ece9875102a0bb4c47e20311367fcc040c5680ad0406112f8e312c4a8ae1a3f9b6d33f3736db3614ca1c3584942f800 SHA512 a240e59178722025a0c967cfc2f63ca1ed8a2aff55ad913652f06018b712a7009eecd915f494dc4087de12ad5dbe5a0f3c7290fc530a2e475b39318520809112 -EBUILD actionpack-xml_parser-2.0.1-r2.ebuild 1059 BLAKE2B 438e7cdf73103b13123b42ee5dc1ce91f0982dfb4e7001e67ed4a9f76b053c08ea7dcdb5795226a6e7bfbffa5d3a2beb24477015544fea15bc67eccd66d5b34c SHA512 50bd0e88be6759401741a951b1ba00b0865f91ee7233d041c88f7abee0076d1c31e61eeacdd41d6563ae8626073b6e8e4d0b22a2674f5a3556ac1d5ec6056d3a EBUILD actionpack-xml_parser-2.0.1-r3.ebuild 1059 BLAKE2B 21d899ab0fedcea9d142a0cb29a6fd53c391037c00ca80136a40cabc934ac4995f0f2adb4dd9ec169f51ed9578a32123bc55fa47b80e60a62813e0dad73a03e6 SHA512 739d4a7e49f395648aca2c38c7f607a6520d4bf0b9c5c9627e799d68f25a59eb74c3cecb6b001662af0f0f10afc9aad3bb903fdd08352ece810e85d5c3b122e6 MISC metadata.xml 344 BLAKE2B 280da381c421db0e35576611d08935ada8f66db9d36db801a6c2a623d587b0a39f598decbfabf14867f19b96f5fcf414e01751617df4d1798216bcfb38656faf SHA512 be499fc209854fa43050f1d9d11126755974632c248cf5da733aaec553e7aa9ba7f544fad5e7c39b77f02513cbb5e390f7b1ec7153c3c677f0a18288525747da diff --git a/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1-r2.ebuild b/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1-r2.ebuild deleted file mode 100644 index 142cc9781dea..000000000000 --- a/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1-r2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_GEMSPEC="actionpack-xml_parser.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="XML parameters parser for Action Pack (removed from core in Rails 4.0)" -HOMEPAGE="https://github.com/rails/actionpack-xml_parser" -SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" - -KEYWORDS="~amd64" -SLOT="2" -IUSE="" - -ruby_add_rdepend " - || ( dev-ruby/actionpack:6.1 ) - || ( dev-ruby/railties:6.1 ) -" - -ruby_add_bdepend "test? ( =dev-ruby/railties-6* )" - -all_ruby_prepare() { - sed -i -e "/bundler/d" Rakefile test/helper.rb || die - sed -i -e '1igem "actionpack", "~>6.0"' test/helper.rb || die - - # Skip test that is not compatible with Rails 5.2 - sed -i -e '/occurring a parse error if parsing unsuccessful/askip "rails 5.2"' test/xml_params_parsing_test.rb || die -} - -each_ruby_test() { - MT_NO_PLUGINS=true ${RUBY} -Ilib:.:test -e "Dir['test/*_test.rb'].each{|f| require f}" || die -} diff --git a/dev-ruby/acts_as_list/Manifest b/dev-ruby/acts_as_list/Manifest index a7dc2601627d..eb4d1515af1d 100644 --- a/dev-ruby/acts_as_list/Manifest +++ b/dev-ruby/acts_as_list/Manifest @@ -1,5 +1,3 @@ -DIST acts_as_list-1.0.4.gem 40448 BLAKE2B ac0d9e29006c052b1f421fc734d19390942fcb1eb68d33ed67944bf9bcf1dc8b73c813a2ee8ae6b358f74e019bf36d200e6fe44e01391dff68041d5263b907b1 SHA512 45cc3a2ddc3bdf245819bfe62c39cea5e9b96bf63b3e817adae2acadcf7b51f47379ae9bf1c2c1cfd6a1dc70d7279f44e0a932c838fa93fa4a0c3b9dcbcd46ea DIST acts_as_list-1.1.0.gem 41984 BLAKE2B abeb0325795276294451b4cb86e20dab6871003c72679ce28f9326cd844234ad56457a03d9b9ecd81b8c143deeefc25dd15df88a38ebdd1324a953b2399465e7 SHA512 bdcaf07bc4ad3854d68c8d95e666e86c2500474ffa212c315b6b4abd321341ac782c0e301f2c859c12b80ecfdd1cc743ccf8a7bdbdb36e30fafcd98d4928a00a -EBUILD acts_as_list-1.0.4.ebuild 905 BLAKE2B 87aaed0b79f37ca049380f15e133c811741efb65d51a16512a8ff71043139b6ba69b1276ee4d895bafe6f8bf8b902eaf5501791a3f5e58638590e80cf82e5be7 SHA512 bf0af82c1ca30cfe0e473a68e92ab9056ed21a1833fc9adee8a912a97340ace545ec2a147fc54cd2fe6963617608406e0cffae4c2e47156d0b91fa8c2da605e0 EBUILD acts_as_list-1.1.0.ebuild 904 BLAKE2B 78a9fd1533080ecdeffa18579fbf9e7ba3ccff01ea7277a3f23fe24c7b64b7159830e8d1b10865e769f67eaac95d1de9efd833fa9e648f9afc9486f62b2848ed SHA512 492761a0a0204a1406c7005c8fadf10bbb36fc0fe159b4f4e91bebb0eda16f5d17c701fc2e35441c92a8da745682b3ae4408d377e535a298ef0208389e1db6f9 MISC metadata.xml 347 BLAKE2B 2d2ba105cf2f5b444977deadbfe99bc236c4a5a2ee227ebc72215161b9cd9dc0decb036f71205ced7560adffcb55c7bba220163d4a24b6113f8e54241615d7d3 SHA512 64a245beb42b2c7e87ba21faa689a45ea32b2222f675b0b3e72cf666bec981a74d62e60cd1090a304309bbc6d516cc4170b70dd71137bf0fa4b0e59211d60665 diff --git a/dev-ruby/acts_as_list/acts_as_list-1.0.4.ebuild b/dev-ruby/acts_as_list/acts_as_list-1.0.4.ebuild deleted file mode 100644 index 9c41a3ce04c6..000000000000 --- a/dev-ruby/acts_as_list/acts_as_list-1.0.4.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby27 ruby30 ruby31" - -inherit ruby-fakegem - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" -RUBY_FAKEGEM_EXTRAINSTALL="init.rb" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list" -HOMEPAGE="https://github.com/swanandp/acts_as_list" - -LICENSE="MIT" -SLOT="3" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/activerecord-4.2:*" - -ruby_add_bdepend " - test? ( - dev-ruby/mocha - dev-ruby/test-unit:2 - dev-ruby/timecop - dev-ruby/activerecord[sqlite] - )" - -all_ruby_prepare() { - rm Gemfile || die - sed -i -e '/[Bb]undler/d' Rakefile || die - sed -i -e '/bundler/,/^end/ s:^:#:' test/helper.rb || die - sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die - sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die -} diff --git a/dev-ruby/appraisal/Manifest b/dev-ruby/appraisal/Manifest index c8d6fbe4a658..806e2d5ca4ed 100644 --- a/dev-ruby/appraisal/Manifest +++ b/dev-ruby/appraisal/Manifest @@ -1,5 +1,3 @@ -DIST appraisal-2.4.1.gem 26112 BLAKE2B 47a9e91117889c52022446cd052cc0c08891d0932ab88a74f61914dd46c1e1bbe7d2a82a6afacd749b4eaf88516d80676582d9fb593d606b8da2e7888455a739 SHA512 8f2a55e2a8e497c11f6b5f2f25c565b91ed8b8bc67b68263cbfa364a3ffeb501440a7122a09885de70b8e465e38e293aa491aa7c838d58855fed0efc63f2c219 DIST appraisal-2.5.0.gem 26112 BLAKE2B b72a994167f332f91a94c8afdb611f9cf4ac573e741ed6fb509b8ecd0767422dbff9e61d062cafb8eb527180d0951821c8ddd9e097e391f464e18c905b34d447 SHA512 8ee9a4e60c25635577b00037816c61d10623045607ef051b6508a30b9d1b0885764275a7a688473e29d8dab0af9d188916217df9fb75667139a3acd9ed0db27d -EBUILD appraisal-2.4.1.ebuild 901 BLAKE2B 2281c5349663ece17e0b8794ebbdd6368c406f58941736104545aa8d4f3eeda7f8fc0ae6d009be626e525d7ae554febc1daafc973b891275b984e8190a6b0135 SHA512 ded189d821c88202ae368fea0be1d0f79aebb8cf9097ff72be0fa06acc15d1faccadeb0ccd1315e26cb3cf51d4e6de1acfed6b01650216e7d8808a630c8b3808 EBUILD appraisal-2.5.0.ebuild 894 BLAKE2B 5d347b2102d5790cc034b25abe1e039fe48d937c53e4948ea752e7753ab94ac23ee817756c2a27a2d45df6aa9480e24b34d5238af102bbbb14ec27a13d9690ce SHA512 7044587e101a48f119264c384d5dccf3f91368e7bd6423911a02ce29dd6fa903d7537cab5c209f8e46398c19f4fd17a24d838daed0cc388f7229b35d650ee59d MISC metadata.xml 388 BLAKE2B 84c39dd75dd321fb29a8c0511416fc7e153312e24d580e9ed2893e0025fb2f5422f0c3c913714642d2dd4f42af8ef6a6c03a584902a1f52c422cee344272f160 SHA512 99c6593407a5c95381254d2b69ea4633cd7425994f6898927691bcae4b58c2b0a322fa3ba2e616427f9572253b5250d232911798fbc4252e83d23a75598fb0c9 diff --git a/dev-ruby/appraisal/appraisal-2.4.1.ebuild b/dev-ruby/appraisal/appraisal-2.4.1.ebuild deleted file mode 100644 index 25ba44a62fa1..000000000000 --- a/dev-ruby/appraisal/appraisal-2.4.1.ebuild +++ /dev/null @@ -1,38 +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" - -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -inherit ruby-fakegem - -DESCRIPTION="Ruby library for testing your library against different versions of dependencies" -HOMEPAGE="https://github.com/thoughtbot/appraisal" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend " - dev-ruby/bundler - dev-ruby/rake - >=dev-ruby/thor-0.14.0 -" - -ruby_add_bdepend "test? ( - >=dev-ruby/activesupport-3.2.21 -)" - -all_ruby_prepare() { - sed -i -e '/thor/ s:^:#:' Gemfile || die - - # Skip the acceptance tests since they expect to install gems from - # the network and do not expect multiple ruby versions to be - # present. - rm -rf spec/acceptance || die - sed -i -e '/built_in/ s:^:#:' spec/appraisal/appraisal_file_spec.rb || die -} diff --git a/dev-ruby/asciidoctor/Manifest b/dev-ruby/asciidoctor/Manifest index 80d0737f351d..21e3ec057f4f 100644 --- a/dev-ruby/asciidoctor/Manifest +++ b/dev-ruby/asciidoctor/Manifest @@ -4,5 +4,5 @@ DIST asciidoctor-2.0.18.tar.gz 1690964 BLAKE2B 5e14371c7201f83529fa28a63b031599e DIST asciidoctor-2.0.20.tar.gz 1700888 BLAKE2B 0b09610cc4a642eacd608bfbe8054c9358aca908adba088a21deceb25374fa4796a53a619957c9974fcb576016ce6573c891b39a6c6d66aa73585cd637310ff0 SHA512 b6b730de8f83e36630dc6146b4c0e07a26b502b695e78e50fc87790391126d52ef0b6b02b82ecb225adff680c94305b4e31403cc067bdbf1740e2d759417f440 EBUILD asciidoctor-2.0.18-r1.ebuild 1300 BLAKE2B 3649660aa49c6e8f3bb7f7e1282e1dd6dd70b8e8a37eea824cb87235dfdc89a6a304e29f26f17138c79bf23912f407fd001f030b52c7a2ad9ac1e69a581d5006 SHA512 4e30c1f74a1ad7a785d445dab28231e757dcb3e112f3d60faab54ce0f2816f9ddc2946af6de1f4fb981eae14adbd171ae16743aedaf38ff209881c926f52a1a3 EBUILD asciidoctor-2.0.18.ebuild 1197 BLAKE2B c437f1b0f511902587d6b2a63ee4d70c0346589e68cb6f4fa4fbb1bc2cdfe5cd76059dcdec0e4546cd2e9032c9da97b529814642d239cc121b283c406550e27d SHA512 44238308ea5c18018d5909a6cd83def48d4a710e553373dd4b6f6b4f5ae229a10eb9888e4ccfb975393db718553b030808031149b8f5aa3f3857b45f7d53325b -EBUILD asciidoctor-2.0.20.ebuild 1206 BLAKE2B fdac164472369e543668252a63a9feba9751339ccb6cb294ca852bd4b5ea2861befd28be4507a8e24f14d14925111f3270c355c808f57a41029a86eace27772a SHA512 05f1bfdc2796b006e51a88c6d169958aeb2ab9db699e472884e168aae3791b29d44c27eeca47a372b6b1e89d146fa5e8f23ceae39cdf3905b336ac59a787ee00 +EBUILD asciidoctor-2.0.20.ebuild 1204 BLAKE2B 6b59c8fec2543f5ba086919a1d7012127c56203fd12f149d38d55a71567264da37224984a6ebc32adff72ba37c5c9012e2b8499269d39caa7e5ca99258c20d08 SHA512 6ed88f553be411fbe6c423882076ccf97d6431b311e2baa3e3250f31c68850aebea9ede62d21047a95257791eb9ebda294ae9c29d7ae58d2086a2788f3071572 MISC metadata.xml 350 BLAKE2B c70c7bdd08d3c12de9192349bb765e3f0a03e5124128b77d4e4cbd266ddc84d72aa4502751bbaaef2562c4d8b78a4ecc28bdf656ecb56c74168999c92dd294b1 SHA512 beaf7f42c6804df34ce8d1ec28e08bdb5dff9ed9ed023247a464e7531ab8fcc41563133cc2bdb6385d5527a78f5e4a6f11063b72c567a015b8517ea09cf5ca17 diff --git a/dev-ruby/asciidoctor/asciidoctor-2.0.20.ebuild b/dev-ruby/asciidoctor/asciidoctor-2.0.20.ebuild index 5d8f40ceb024..fc77ff89ab23 100644 --- a/dev-ruby/asciidoctor/asciidoctor-2.0.20.ebuild +++ b/dev-ruby/asciidoctor/asciidoctor-2.0.20.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~x86" IUSE="" ruby_add_bdepend "test? ( diff --git a/dev-ruby/chunky_png/Manifest b/dev-ruby/chunky_png/Manifest index ca45edf4eb8b..fb30a0dcbf6b 100644 --- a/dev-ruby/chunky_png/Manifest +++ b/dev-ruby/chunky_png/Manifest @@ -1,3 +1,5 @@ +AUX chunky_png-1.4.0-ruby32.patch 1203 BLAKE2B b54878ce596a0315af3f29f55bfb6be0520345d61d379ce3714df9b70f317a488e37f27b52a3dffbf6991f57c0a7168a395e3359ca5fae3c936b574fa8afef20 SHA512 93f2792ed822de4987a3ea2f1add859ec0688ff040a76813b34718193e5e0a3503c02c677bf5be24f602b1c83c3018ee847e7743ebe712fa7b7766503c652051 DIST chunky_png-1.4.0.gem 363008 BLAKE2B 3fc484985565f223127c43eb1d55137ee9b58fc5ab6f25256dd54efddb817a5ecf78b39754a042fd09b83493cbdfdf02d0b90d150ab90b084f01c9a98aba5a8e SHA512 1276ba527723af973ca00535baab0dd3be8185cfaa77efb28c3b1ef1e949312710a616ca55711923875e54cb9c92b38de71062d2ba68b2314c7b9ce7a9b50b11 +EBUILD chunky_png-1.4.0-r1.ebuild 787 BLAKE2B 8928524f3ae797a8e1d86bca428bada7c9ba93cb76ff462f8140b9c7d8f901910eb5a3ad604e24c2a004d95cda75573c7084fda481fc96a70c2a4c3f8b3415b1 SHA512 ac9fc9063f8b0517f1d109e3d183b967850e3d71d07bcbe9f04628a26bb883a9bdebc314f79a50a384007f258cbc5b8d4e911dda90eb6eaa371a77f194db77df EBUILD chunky_png-1.4.0.ebuild 839 BLAKE2B d40a0dbfac1a3ec868edb985923500d32b2f1f768e3901423b838cb5be43535d11b85a8e5167ae404d939b735657982c511e9c629ca65a428e718ccc3e42a949 SHA512 d13c4cb56954b733e2528894bc875c2ab698184553228d8b1208d7dae9ce17b528d174b460c5e862d3fd151103df422bee5f08de61d120ef24d7dc264080f41b MISC metadata.xml 331 BLAKE2B 78030accec1b3b4a9c5eabf988e8390ff8b29bcee78991a2c791e066b580185a2ec982ca3197e655a280ac4c6b1766e99b969c9d5264e7e24b0a84d3f162c09c SHA512 1b0a215b86d61a9cec307f008b7e154fa09e15b159c3d289a8842dd9ad5c2ba7c33ad28e8e2bc183d0ace9dff4776b4eaffbf0a708cdfb2bbb712bc8d69ea915 diff --git a/dev-ruby/chunky_png/chunky_png-1.4.0-r1.ebuild b/dev-ruby/chunky_png/chunky_png-1.4.0-r1.ebuild new file mode 100644 index 000000000000..baab3a035f56 --- /dev/null +++ b/dev-ruby/chunky_png/chunky_png-1.4.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" + +RUBY_FAKEGEM_EXTRADOC="BENCHMARKING.rdoc CHANGELOG.rdoc README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="chunky_png.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Pure Ruby library that can read and write PNG images" +HOMEPAGE="https://github.com/wvanbergen/chunky_png" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +PATCHES=( + "${FILESDIR}/${P}-ruby32.patch" +) + +all_ruby_prepare() { + sed -i -e '/[bB]undler/s:^:#:' {spec,benchmarks}/*.rb || die + rm Gemfile* || die + + # Avoid git dependency + sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/chunky_png/files/chunky_png-1.4.0-ruby32.patch b/dev-ruby/chunky_png/files/chunky_png-1.4.0-ruby32.patch new file mode 100644 index 000000000000..75d08c9fc88d --- /dev/null +++ b/dev-ruby/chunky_png/files/chunky_png-1.4.0-ruby32.patch @@ -0,0 +1,29 @@ +From 8e6f5934541833f15664398f90331f3724e40933 Mon Sep 17 00:00:00 2001 +From: Mamoru TASAKA <mtasaka@fedoraproject.org> +Date: Tue, 15 Nov 2022 23:22:20 +0900 +Subject: [PATCH] ruby3_2 fix: check if object responds to regex_match op + +Object#=~ is already deprecated since ruby2.6 and will be +removed from ruby3.2. As the result, Array no longer +respond to =~ from ruby3.2, for example. + +Check if the target object really respond to =~ . + +Closes #168 +--- + lib/chunky_png/vector.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/chunky_png/vector.rb b/lib/chunky_png/vector.rb +index 4ef965f..034104c 100644 +--- a/lib/chunky_png/vector.rb ++++ b/lib/chunky_png/vector.rb +@@ -166,7 +166,7 @@ def dimension + # @return [Array<ChunkyPNG::Point>] The list of points interpreted from the input array. + def self.multiple_from_array(source) + return [] if source.empty? +- if source.first.is_a?(Numeric) || source.first =~ /^\d+$/ ++ if source.first.is_a?(Numeric) || ( source.first.respond_to?(:=~) && source.first =~ /^\d+$/ ) + raise ArgumentError, "The points array is expected to have an even number of items!" if source.length % 2 != 0 + + points = [] diff --git a/dev-ruby/contracts/Manifest b/dev-ruby/contracts/Manifest index 5f3a36c56315..e016759ec5c0 100644 --- a/dev-ruby/contracts/Manifest +++ b/dev-ruby/contracts/Manifest @@ -1,5 +1,4 @@ AUX contracts-0.17-ruby32.patch 3364 BLAKE2B 14e94549b81de0cc30728cc227a3ed3432b771c7c9a6fd29ff8615ff865f8bb0beba87087504364e1c88c60f28c3b9f643c438bb0ebf06db3ce8ac684639ba9f SHA512 f15f448918eaa2d2e73ff7e88c137ba7751471d1dc100827f79092dec6846f18eee1bb81b8f1175d770e5c4d8e55a3d8ac9df377353f90926b943f6f0754ff59 DIST contracts-0.17.gem 58368 BLAKE2B 2bccd3a552268821b3c34a08fef3d6c0e43e27f8a0e56a2b7b0291d388142a2efb3686230d4daaea6e82c45be8d42f2ab61d1aa3d6a7f682bd7d99a0af7f179d SHA512 bce1417e7b505ec35b43917d53cbdb175995ff877da2a6122e08b3c7e537d557785987a0110006525dd079f09d574be3f5f4793154f99ac91c32f83662fa311b EBUILD contracts-0.17-r1.ebuild 911 BLAKE2B 98a6e8a645f0c17fc55645b1e550f1dc2622f3c977fb411edb1fe128bd1643fb0a5cbc27d0bc2f65f8e2ebd5dfa0f91e1946aa917e81109e73d1398aa7ff3ce0 SHA512 cb154e228cef2523c088aff877835c41eb7194fd3448b0e2be835a0409658729b59cfe93b7ea237dd3a05debce630f07e72c99305969c8f130b3ac82be68b8e1 -EBUILD contracts-0.17.ebuild 859 BLAKE2B f3325a2955d456e760d43c9dcb121fafb1a8be823ce3a753e3da425e64e6c604ff006edfa19ac89fd68e4ca347a19f718d108415978a28e60cb3215ecf91c312 SHA512 982ca2ff5584af6fb91e63aaefd471cfa58919ea79351f7942b4d61006c97fd49e663f273700897e44c9df8ac371ff0e400c77d649a446797e7e82807b3e0e6b MISC metadata.xml 353 BLAKE2B ec68a13b1faccc1cf044530138380700063502c1844fe5fd23c79717b15aaaebc7c0a65789b60c0bed1ebac36f87d4fbedf93374fe0fee300e5cb4fe81653838 SHA512 b03899010b43019e54ad01b3a160bd76cead6cb7e3cad3ab1ca0f1a63ce497ae7522530b01578de8d9de962061629d0453ae99154b4d97a90815df71b47f2466 diff --git a/dev-ruby/contracts/contracts-0.17.ebuild b/dev-ruby/contracts/contracts-0.17.ebuild deleted file mode 100644 index dfd63b733363..000000000000 --- a/dev-ruby/contracts/contracts-0.17.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.md TODO.markdown TUTORIAL.md" - -inherit ruby-fakegem - -DESCRIPTION="provides contracts for Ruby" -HOMEPAGE="https://github.com/egonSchiele/contracts.ruby" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="" - -each_ruby_test() { - # COLUMNS needed for: - # ./spec/contracts_spec.rb:654 # Contracts: Contracts to_s formatting in expected should wrap and pretty print for long return contracts - # ./spec/contracts_spec.rb:643 # Contracts: Contracts to_s formatting in expected should wrap and pretty print for long param contracts - local -x COLUMNS=80 - each_fakegem_test -} diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest index 94717bd76610..e87a9dedb8cc 100644 --- a/dev-ruby/facter/Manifest +++ b/dev-ruby/facter/Manifest @@ -9,6 +9,6 @@ DIST facter-4.4.3.tar.gz 493663 BLAKE2B 19f670e503b5ccf3d78b7fa72b0f3d25cef827ea EBUILD facter-3.14.24.ebuild 2157 BLAKE2B 88354a568b06d3fe457baa1b72167210c8c2e67c56edc34a09b50a45e808e29aa80afbc2b52e86d56863514741cf98dde3d2e075a0cf04ff1067516ee3a4db03 SHA512 5ee0773755213bdbbeebfc16483933126aa2fc0433a1f4fcd5a63d659a75a35cff278384619bfac731a71aea95e5019af55f9f30021facb247345e316bcf7427 EBUILD facter-4.4.1.ebuild 1298 BLAKE2B faa278e5811601fe8240e7b8476b1efd5f7ab99eb7f937998222bbcabdc90b1fdebadf93900bfd1885248704c81632948997447d32752caaff6825f536fea02c SHA512 31ab6d1d0aa92338b291ad55d2e6b9fa80d2c6bb624e537dffa191fd5f8791c19ea540f518d3dec0c954065d8645eeb971d8a3da61287d1d703d1a8b7a079b80 EBUILD facter-4.4.2.ebuild 1324 BLAKE2B 1dc07977e9fc5652ff31c4839aa5206d8b2e174cba08b67672b6c5d9553db3895c01e989f276069fe13e9e8a5e6e856f882769b3a6e0df4fde9528bd5f2aeb9b SHA512 fcc2f8ca96b71375de1074a45ce741afeab575b9d9c6606191198ba8e629eeffa327a93bab3977e942409df69e0c82887a77929933c474c616964a622d6e41fb -EBUILD facter-4.4.3-r1.ebuild 1551 BLAKE2B e6f3b48494b13379f40c103c9b28b2181760031ca23df4a532d01e694ff4a1c940bef5d6eca7d225059649474e44c86f526571f1795b069b0501d1f6ade338b3 SHA512 94ffb96d8cf3cc37f90aa1a53e191e0f171b5856d7b34eb064cf7e73474ec64427ebcfb6b08fc56ee2bf82d7226b54bab244f03d2d7fa93061362bdfca457863 +EBUILD facter-4.4.3-r1.ebuild 1543 BLAKE2B fa9bbb6b95b02ffbd0bae5e2f1984cb2957dedc9844c6b030655f9808d1ba7ede95f85222fe9eecbc3cff6adf9d84e6fba9aef279ef8f61676adf124be3c6081 SHA512 711e99625f8ab76c1d8576a9741363011a780820f0321f5a51833ddf978290cd01a72b1b839fa8790eb4ae48733c629cfccb83007060ef55f2e519e75c55dd0b EBUILD facter-4.4.3.ebuild 1324 BLAKE2B 1dc07977e9fc5652ff31c4839aa5206d8b2e174cba08b67672b6c5d9553db3895c01e989f276069fe13e9e8a5e6e856f882769b3a6e0df4fde9528bd5f2aeb9b SHA512 fcc2f8ca96b71375de1074a45ce741afeab575b9d9c6606191198ba8e629eeffa327a93bab3977e942409df69e0c82887a77929933c474c616964a622d6e41fb MISC metadata.xml 540 BLAKE2B 584d6db1a27bfa9383048929df3d6da07040cf507acc2aa58de7a4e9ba665079cac60b48b398bbb0510914acc03be1fd3468e5678e690f8d6fd03060e659dd4a SHA512 c1311ca348655bf9566889ec9edcd012a2d003f0b1122749caa9066cea2005d3fed7b7a0d1bca75281396e8e43cb6a2f611550572523dc011113424d642c2a2f diff --git a/dev-ruby/facter/facter-4.4.3-r1.ebuild b/dev-ruby/facter/facter-4.4.3-r1.ebuild index 1020d9528957..18070dbf7ff7 100644 --- a/dev-ruby/facter/facter-4.4.3-r1.ebuild +++ b/dev-ruby/facter/facter-4.4.3-r1.ebuild @@ -2,12 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_GEMSPEC="facter.gemspec" RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_RECIPE_DOC="yard" -inherit ruby-ng ruby-fakegem +inherit ruby-fakegem DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" diff --git a/dev-ruby/gettext_i18n_rails/Manifest b/dev-ruby/gettext_i18n_rails/Manifest index ea9eceaa0b0b..a832500e4777 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1,5 +1,3 @@ -DIST gettext_i18n_rails-1.11.0.tar.gz 21644 BLAKE2B 291ad5882cb3a5faa596752b02a5f2c26f5c748dad91d7eb444ca03d65e07920be1a74ac80d40a444a929d807f2b65785ffe644b386a9f8efeefbfdb015eba56 SHA512 6eb8e34690042dd7b9680012bec91181080eb65e1b85cd7de838a30899f4ecc55a3c7a9e5afa27f37ee53180a8ef29878ee996bf0a3c193196f41db8f8e57af1 DIST gettext_i18n_rails-1.12.0.tar.gz 21003 BLAKE2B 7bd7d290296ebc789fed23cb8c278a734273f5cae1e6958b29d825a1a088a845483d838e59148154c17e3dd25ba7696ed6b88e395d04057315b3953c716c293c SHA512 2934bb458df164881d3d8dbad44d98b34a6f4346331084dc03e47c0db79e2b4378b6f22d31686c6f4800805691ad95af9eac9773f7cb3b8abba2b665d3078670 -EBUILD gettext_i18n_rails-1.11.0.ebuild 1074 BLAKE2B 1f3ebcddc8fe6115e143e349232355d631e0ca5b2001325713068f3f9383769f749e1dfa02412ae8cb0dd83988c565fb9a59706a45e783c9220663071f2afdda SHA512 c0804833ad807b4658e3ccff59817372f58cc74243d335e6408a1fc92d7b72e2a0894a56b82078f997b357a7a72a783a737007c027c9e089b282f44e5b127e0a EBUILD gettext_i18n_rails-1.12.0.ebuild 1138 BLAKE2B 06b872cd7b9260d15b0bdaf60cd8690df2d545e660c75bd2b98967679d653f65c69735261353f5e9fcc89ed95be924cff38229e56642d7cb4a930040b8c4091e SHA512 fa93a46cb47714e0b526c90d782f1a5d307dfc999bbcd10f7b0955a676b10b00b59f4a6b248056d2e5ffa947ade80bd1637725d8c912d718fc23dce879ad23a2 MISC metadata.xml 353 BLAKE2B cfdd814918fa7d75f7e209c0efff8c8ecba9154a8977cab4d64412c2cd09a52553d5b25050c25535fc59c3dfc11255ab9fbff703536da85a7b0b7d29390cb7af SHA512 12b6cbce3229f093d824a6d1036a44ee7cbb7399dc29db9eeaac72797440d222f65bd1efafe097efb2aee9ddb2881df54bb93bb336d0c03441b2a396405d1967 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.11.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.11.0.ebuild deleted file mode 100644 index 0573377d24ec..000000000000 --- a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.11.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby30 ruby31" - -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/http/Manifest b/dev-ruby/http/Manifest index 1df48ef684a7..3469db05fc76 100644 --- a/dev-ruby/http/Manifest +++ b/dev-ruby/http/Manifest @@ -1,5 +1,5 @@ DIST http-4.4.1.gem 75776 BLAKE2B ab34a6a567842d52f9b7cbe3fc3fb8e4757f5cf1303deacdf2f2130a44e82fde64f0db561c3f8fc28100faea277a9c4a9352f95e6cb1359730b34e83a7b36d72 SHA512 6e43a8ae379d7c8a807a9a03c87bfb5ad1719f9838e26ac7a695220ee2bc50344accc2db268d30da175328fd5468b87ec8532d17ce42a5b74d6c2c4c281d1bc9 DIST http-5.1.1.gem 82944 BLAKE2B bd44ede401712ddd13b76f9e3266622aefd78f37a89c84217c7f8206214e9e2ee994fe375a6e7897315dd83853d4e8ab2c0c9c34a59fe47c1a0617f3c126fdab SHA512 a39d88297b6f2f0a51a22fe502d1f7883d44a3fa0af250e1a8142f093fb3865b02b797bc46780d9129f0c67e18f97cc551aa1dbd794b3b4cda6bdb5495fe95e3 EBUILD http-4.4.1-r1.ebuild 1655 BLAKE2B b4aab0ac50e5c6a92b9380b94da5750df06123a143844edfb81ec999fc48abea0ed79eb3634694629ef2391592ce8701cd56be906c4c65ff2764626ed14cbef1 SHA512 831d09d20dc6f96f26bb47e89bc814f4f5947e755920d788b8fab0254bb471648fc95bff0feea19b439063896b81bca2db75d8d387eeaf0b8088ec7239fb2cc4 -EBUILD http-5.1.1.ebuild 1728 BLAKE2B 10664ad0eece46a853630d98b9e06b29028c7a8e12174cbcb17644e6c76e574736070e172bcc9e0ff5081f1b82399e5c6b33f1c11853855c952eb8c72c02d932 SHA512 9f2de34056d67a04e1204425806f72326d888c50bcc912a42070c974a5cb992b9c6181fd2088b5b14f6902b0cd3b62d32fb21a803488928d209706eab08d8c32 +EBUILD http-5.1.1.ebuild 1728 BLAKE2B 44ddda84a519ab6e095954d2c4d69bbd8578f85a29b939d4555ce48d615857edd7446bdb7111dd886cc5f76d49368ec9031be2246d30246c5faedbbbb4ab284c SHA512 430bbf4d0caf9a9b13df27ddc99a198a6b68053caf34952b5f2a56132eba9d43e7067f7d128e6d00e5644cad8c6b73d75cdc2dd2ef13a1a9330cbef9efe1401f MISC metadata.xml 340 BLAKE2B 3f69f47d5faad39a2de9cce22c25a490645c3ca3b9bebca74e2c19bec16d5b05927e4d0a56a32d615c26d01513bd82ee09e13ab0b1b2fc9cd02f7e5723d8db34 SHA512 6cd51992e506d9df562267d357d7af6ff55aa2e9cfb8b1147b6544f12464a02c0c28b08bb5a4c00e3cb084b4f891f78b731c4bd1f8988f7d192d15986c5b2290 diff --git a/dev-ruby/http/http-5.1.1.ebuild b/dev-ruby/http/http-5.1.1.ebuild index a5ebf52589dd..7f619c9f3bc7 100644 --- a/dev-ruby/http/http-5.1.1.ebuild +++ b/dev-ruby/http/http-5.1.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" diff --git a/dev-ruby/io-event/Manifest b/dev-ruby/io-event/Manifest index 0d061248c202..8f037ebbbafc 100644 --- a/dev-ruby/io-event/Manifest +++ b/dev-ruby/io-event/Manifest @@ -1,8 +1,6 @@ -DIST io-event-1.1.6.tar.gz 34530 BLAKE2B 3b0e6e5ca781b61467daeb885ea22de639c2f3c68f96657c99e8257f0cb0028f8997e6aa0ab5c53b56e53a944c40944e701d57160faeb4273a5bc77ceb4c2dfc SHA512 65cc9a9de7037059a119f1ca6569414baacab234ac4e6ee91ac5c780ed789510d8691111890dbe19082867c5adbd50cc9a86e28b37460b8fb01ff53abde8d417 DIST io-event-1.1.7.tar.gz 35211 BLAKE2B d288ec902c4d775b49315d4eeda8bb0582b7444e7adc60846283fbffbe8ecec6e13c1bc7ce898c4aaf3e78d5eeee2602045f9bde561f6f50c797b7aecb3d7b01 SHA512 f61d0eb7203b4bd4b38d1f42a23c67d4ae04dbbb4c7018149d52db440d769131581347198f4a6da6e99aaa1ac526ad1c1cb9d56ecf48c1fc70fbf1b62fb161e7 DIST io-event-1.2.2.tar.gz 35405 BLAKE2B 9fb96c920524db8111b8d3650f2559df71e262f2f4cd32080a3e04f09da5df3d0f0a6777b1d37aba7848b9f7298d9fe5c5684c3211ff39b5178d452d10dede70 SHA512 6ebffd24eb40392496f488ee578f17fcc2e713d3b90cea20899c82e26a6d601b0670d21383d5e33345cad9a33ae43120e8c1d017bb7bd44ff95be2c17bab6712 DIST io-event-1.3.2.tar.gz 45587 BLAKE2B b4a6e03d6470e0e1fd214e8d4ec9c34b44590b949dd3c2206ace0d963a7eb5f0164d4ddddbe7524e3e050869e45fdccce391174342b6185e2a8c29aaa9e8c1fb SHA512 532dcaf2fb658f4770cc99a486adf1c2d853260c9f4b9bc9d411dc1a84f439881b96ba365523c7566f8a87cfb44a375642a92f327c9ea95803183dd552dabd7a -EBUILD io-event-1.1.6.ebuild 817 BLAKE2B 5a21ff0f222c7b45d0c5a1da046eeaf85faf3839fe6b498e9eaf6ea1e4f41980c7b90c85a102eab2897ad8d68201532af6f19e956d6998719f79a46746ffea92 SHA512 e58f9785de59d029bf6eb87dbc328352c7928eddccaead18b57af5ed7897dc7dd42b4ebc5bea39fad7f28d7990f4339ef6e9ac61e76a85e1564b10430ab708b5 EBUILD io-event-1.1.7.ebuild 865 BLAKE2B df61b349a4d656231e9471b272ba5b72911f0e2631caf95bcbc1d68706476ecd5ad797dd24b4f590a4e2b2072b237d9f0098ac097edf20584949ec1e91ba884f SHA512 64dec6d72ffd16e4aa8c538d512649434938cbdcc5bdb4fc4b68939f1aca15471e1be54996c3107b17cffb025aba59ab9e183bf69f58d5704870159bd1612bbf EBUILD io-event-1.2.2.ebuild 992 BLAKE2B ba1a508df70f4258e119355786979639d20158160f6636ae430f9b62ec01dbf52d68848df9221d8672475b51a66a994c9aa9fdac5b40d363b58dc48d57c45978 SHA512 3cb74b7e67a94fab22bb4bb8c6298ab4a3c599d782cc803d92c21c65b94754ba878dc5d2f994e493901286858ce10c67a4de450fb4eb2a04952ac1c269b9d7f5 EBUILD io-event-1.3.2.ebuild 985 BLAKE2B 33f1ce0167ede05a2d63832701db2537d6bfa835e0959515d8c49ba2ab504ce9dbc55d2be3d368f9d54925e59f1d4495ff3903ae74a23eeb62c933271d5525c4 SHA512 169059990dd6a0a30d1b8f22ecc6c4177226b186917ddabc01000ca96788e682f70f516394abe62e3cafaabeeafe3080bb7c8a80ab018cae1ea961e84aefc7bc diff --git a/dev-ruby/io-event/io-event-1.1.6.ebuild b/dev-ruby/io-event/io-event-1.1.6.ebuild deleted file mode 100644 index 1a7f76b6f182..000000000000 --- a/dev-ruby/io-event/io-event-1.1.6.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby30 ruby31" - -RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) -RUBY_FAKEGEM_EXTRADOC="readme.md" -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="An event loop" -HOMEPAGE="https://github.com/socketry/io-event" -SRC_URI="https://github.com/socketry/io-event/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~sparc" -IUSE="" - -ruby_add_bdepend "test? ( >=dev-ruby/sus-0.6:0 )" - -all_ruby_prepare() { - sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die - - # Avoid dependency on unpackaged covered package - rm -f config/sus.rb || die -} - -each_ruby_test() { - ${RUBY} -S sus-parallel || die -} diff --git a/dev-ruby/magic/Manifest b/dev-ruby/magic/Manifest index b32079f070b5..d23a07edccf4 100644 --- a/dev-ruby/magic/Manifest +++ b/dev-ruby/magic/Manifest @@ -1,3 +1,3 @@ DIST magic-0.2.9.tar.gz 11642 BLAKE2B 1208e40e1c95ebd8a31f71d860b68acf9663a165fa5f775459f874d79f41c51268a0f0be5d9f6ca416b85a838879d179ccbc10e40047cba1e330f891dbd6297c SHA512 5bc6d6e1b2646b12af7dad15273dc125db68be2d6e6c109484339c8f651349827a90ea81d8feb0441c5811567d85130cda35167e2dbb426842f952fc2ff8ea15 -EBUILD magic-0.2.9-r2.ebuild 816 BLAKE2B c6cf02879a3d016655e238410de464fb6e4959a843e80909f99cac9aa88c1c16ca14cfcb10b736a1f3eb529f26bf6cf0aebc01686bce0ad8e02a06501c5da94b SHA512 5e5d462f17a4877816c9d72d67232645aa1f803ca699f3e396f81ea5d2fc71d00f3456a3a5620840740ec58f31422de4dc405c48ded7e6f84bf73bc2da6ebe7d +EBUILD magic-0.2.9-r2.ebuild 912 BLAKE2B f6c254ba92276ded258cbd3c5f4f781f974fa78c86a200b932b4d8df62d871d54fb0cc77a389734a59a645868e3a2aa93ad54bfe4195d1af4ced23e8a27a076c SHA512 03031b5cafa1150ac726f5b554311c5630ea4ebbb15287686136950083514589c0e55aa8d750e97a1cba562ccdaec88348106843cbb1d5e1bce63417be532cef MISC metadata.xml 339 BLAKE2B beb4876fd388f0e612240b7c9ee67e85e3a7e5ac5d502497fa9d80ce15f4b6c7ad2a6847c5235368f903af9581f0ae045ef28a1347e04c02bd577895f7470968 SHA512 652d191bf38a440cf9a0e554489ead5dc3e59ad676939cffdfa527b9f968b01c532e7f96596824fa8e0151c0cb99b1895178588b56cc161e0cf2462dcb017a92 diff --git a/dev-ruby/magic/magic-0.2.9-r2.ebuild b/dev-ruby/magic/magic-0.2.9-r2.ebuild index 0640c4315f96..5cf28aa6c1e5 100644 --- a/dev-ruby/magic/magic-0.2.9-r2.ebuild +++ b/dev-ruby/magic/magic-0.2.9-r2.ebuild @@ -1,9 +1,9 @@ -# 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="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="README.rdoc" RUBY_FAKEGEM_GEMSPEC="magic.gemspec" @@ -28,6 +28,9 @@ ruby_add_rdepend "dev-ruby/ffi" all_ruby_prepare() { sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix File.exists? deprecation + sed -i -e 's/File.exists?/File.exist?/' lib/magic/database.rb || die } each_ruby_test() { diff --git a/dev-ruby/maildir/Manifest b/dev-ruby/maildir/Manifest index 318d2e2628fb..959132722d1a 100644 --- a/dev-ruby/maildir/Manifest +++ b/dev-ruby/maildir/Manifest @@ -1,3 +1,3 @@ DIST maildir-2.2.3.gem 15360 BLAKE2B 915abb1ee50a4151f22e0de4e92ff42d3f06b059478f6a4193866714e170cc88740a714bef54a530d3b85bf318c7f46dda6f42b48b7ceadf09c55eea31f5f5c2 SHA512 5dea021c49711f744429c6e5ea78bbb10e3aae1338f780107a1784f6ae8d3c598f9d17b8e0fa555dde4058041dbc7905d62f9d49375d6c4b822a7e88ca065a77 -EBUILD maildir-2.2.3-r1.ebuild 926 BLAKE2B bf4287c0b858f753d4262fa367aa7fd3d60be757f4f265dbefd014fa4fc7e19cbf25be9f0ee7a88c5ad8c8819652a2d3fe392ca270313e35efae02ef5be2963b SHA512 dfda54a35384a5ce35df6dcb9cad01f0be9ff969850e81e8023f0cb509aa317cb2d41e05ae87fb19a3e705957d31c92801aba282ac342d9f8d86104e2f9c46b6 +EBUILD maildir-2.2.3-r1.ebuild 856 BLAKE2B 6f832d4313ea692398465330a08364a37ca30e4c1c714e1086d6e4262dd362e7fac67b0dd5e0119125198c543a24989020f879c61626cc0047ed0bd691fd7230 SHA512 e1d3562b62cecd6febd399d8f400bb9815953446c5f6b53b78671f8a5c2218bbd19f864189d3276988d93183fbe9e300e7ed380bbf94d8a8e320d762eee5a4de MISC metadata.xml 342 BLAKE2B dd433dccf8efe7c9c0dbe73d2b5f9bfef1a3c074fd6b2a1109754492c3c9b701483abf3cde5188a4800e2489fa297774328154e158c10cbf938d8a68d9a3f998 SHA512 41d8024859cf511ec93f2e16cf09d1e87e46943d2435928ab9625d128091650495d5e89b2faa9b9bf477e629d0a2e11d182a0eac4f69265efa7bd328d20e6c57 diff --git a/dev-ruby/maildir/maildir-2.2.3-r1.ebuild b/dev-ruby/maildir/maildir-2.2.3-r1.ebuild index 64299a337221..dd920095148a 100644 --- a/dev-ruby/maildir/maildir-2.2.3-r1.ebuild +++ b/dev-ruby/maildir/maildir-2.2.3-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRAINSTALL="README.rdoc" @@ -19,11 +19,10 @@ SLOT="2" IUSE="test" ruby_add_bdepend " - test? ( >=dev-ruby/fakefs-0.3.2 dev-ruby/mail dev-ruby/shoulda-context dev-ruby/test-unit:2 )" + test? ( >=dev-ruby/fakefs-0.3.2 dev-ruby/mail dev-ruby/shoulda dev-ruby/test-unit:2 )" all_ruby_prepare() { sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die - sed -i -e 's/shoulda/shoulda-context/' test/helper.rb || die # Avoid tests that appear to need activesupport for .blank? support sed -i -e '/add and remove flags/,/^ end/ s:^:#:' test/test_message.rb || die diff --git a/dev-ruby/mechanize/Manifest b/dev-ruby/mechanize/Manifest index 5c48cb20e4b6..852fc8afb1b7 100644 --- a/dev-ruby/mechanize/Manifest +++ b/dev-ruby/mechanize/Manifest @@ -1,3 +1,5 @@ +AUX mechanize-2.9.1-libxml2-1.patch 2182 BLAKE2B 1b087ba7e2eac784bf3e0396b78d0160282da51a26a03b230c60ecf9c61663e24c60bc33feba391f5ed88ee422a3eff6556a32a9307bf5c190b6d32344684d5e SHA512 af7f4d96a631650b8029f2a2cd6518e166accbaacf45671ecaeb20e8b403199072cc8b7fadb222d7b9dffccfb19857e54180da7216ec89cbeae49718c7013798 +AUX mechanize-2.9.1-libxml2-2.patch 1443 BLAKE2B b993c60071ab9a32555417c12263eaee87ed238125d552c9b8c5d679796701714b0beddf8b6e8d44c979354235e1d56ff9d88c8f4a1aae018806c110eb916c01 SHA512 8721e6628e643544af79feea00aa51f7b165986c3770411c622f650c1ce218a3e6c7194bac66021427de6fa38f3979986acdaa6fe83c7da1a0af4aafd2af1129 DIST mechanize-2.9.1.gem 143872 BLAKE2B 0e5d9f8e2f6eadf8de1f252518646b58117e1151be595edb5827a69b1bc83ce063690fe41ea3ec38a66565d44cb46141e4a0b34c878308c69dbc1249304d6f0a SHA512 6525cf8ea31c36fb20f5d83bebdb647942f24ddee979a832343ea964de11e31421e4f68943c1b15c9bb519b9b11cda9ab2a1c10ceca412e1854b5b20dda7ac78 -EBUILD mechanize-2.9.1.ebuild 1081 BLAKE2B ca7af86fa0d6376189a4ce3979469054077d6af8d458ba3fa94ae832e81f543dfbf861f6330e315f54b0451469ab1473c97e5d53ab4726268f909192bb3e6a9c SHA512 81520bbe8272dfbc16952455c1064abbe1f74f6008654c7f991c406a10a7f1faa258f10db8f2c4c704c031d9d301c4a8c3290bc1efaae2556be74ff25a608e5e +EBUILD mechanize-2.9.1.ebuild 1173 BLAKE2B 0c7a82a8a939b4dca6b847d6cfb7704e4892b9c813b9ea3b1b9bbc7cc41e45fedf04d67ae0c41cb1f4adac289ce338631f3cae09bbd453f547472af237c9845c SHA512 298529e8cf6b93052e7e586282e671119e38df0428cdc63e9344c9c3554432fdc34d60e8cc3a71bbd7b21ab4c0eb4aa69a511813b45ee1d9eb0ca38ff294c69b MISC metadata.xml 350 BLAKE2B 021ec7067e4b814b603126e68d4985450e443ad8953b45a8a5c3f28168edd0439456d96de71f8964f5002035eda5eca61d36b3aa527d4aac4c9f946f4a0bf8cc SHA512 b0971ce005597330094359747a6825c89e76f6d4c3ffce0a02f3b4c4f17be3fb9d2472ac12e3f9630b61016414bd8ead74dd3a955cb99365aaa6a54d27430ea0 diff --git a/dev-ruby/mechanize/files/mechanize-2.9.1-libxml2-1.patch b/dev-ruby/mechanize/files/mechanize-2.9.1-libxml2-1.patch new file mode 100644 index 000000000000..e2b72f2d8adf --- /dev/null +++ b/dev-ruby/mechanize/files/mechanize-2.9.1-libxml2-1.patch @@ -0,0 +1,64 @@ +From 762df0c71705d1c054aca4abd95a638774a47242 Mon Sep 17 00:00:00 2001 +From: Mike Dalessio <mike.dalessio@gmail.com> +Date: Wed, 7 Jun 2023 10:30:37 -0400 +Subject: [PATCH] test: work around libxml2 encoding changes + +versions 2.11.0..2.11.4 do not recover from encoding errors. upcoming +release will change the encoding of the resulting doc as a result of +recovery changes in libxml2. + +See https://gitlab.gnome.org/GNOME/libxml2/-/issues/543 for more +context. +--- + test/test_mechanize_page_link.rb | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/test/test_mechanize_page_link.rb b/test/test_mechanize_page_link.rb +index 5e77dcc0..988328cc 100644 +--- a/test/test_mechanize_page_link.rb ++++ b/test/test_mechanize_page_link.rb +@@ -1,5 +1,7 @@ + # coding: utf-8 + ++puts "Nokogiri::VERSION_INFO: #{Nokogiri::VERSION_INFO}" ++ + require 'mechanize/test_case' + + class TestMechanizePageLink < Mechanize::TestCase +@@ -111,11 +113,15 @@ def test_encoding_charset_after_title + def test_encoding_charset_after_title_bad + skip_if_nkf_dependency + ++ # https://gitlab.gnome.org/GNOME/libxml2/-/issues/543 ++ skip if Nokogiri.uses_libxml?([">= 2.11.0", "<= 2.11.4"]) ++ expected_encoding = Nokogiri.uses_libxml?("< 2.11.0") ? 'UTF-8' : 'Shift_JIS' ++ + page = util_page UTF8 + + assert_equal false, page.encoding_error? + +- assert_equal 'UTF-8', page.encoding ++ assert_equal expected_encoding, page.encoding + end + + def test_encoding_charset_after_title_double_bad +@@ -131,6 +137,10 @@ def test_encoding_charset_after_title_double_bad + def test_encoding_charset_bad + skip_if_nkf_dependency + ++ # https://gitlab.gnome.org/GNOME/libxml2/-/issues/543 ++ skip if Nokogiri.uses_libxml?([">= 2.11.0", "<= 2.11.4"]) ++ expected_encoding = Nokogiri.uses_libxml?("< 2.11.0") ? 'UTF-8' : 'Shift_JIS' ++ + page = util_page "<title>#{UTF8_TITLE}</title>" + page.encodings.replace %w[ + UTF-8 +@@ -139,7 +149,7 @@ def test_encoding_charset_bad + + assert_equal false, page.encoding_error? + +- assert_equal 'UTF-8', page.encoding ++ assert_equal expected_encoding, page.encoding + end + + def test_encoding_meta_charset diff --git a/dev-ruby/mechanize/files/mechanize-2.9.1-libxml2-2.patch b/dev-ruby/mechanize/files/mechanize-2.9.1-libxml2-2.patch new file mode 100644 index 000000000000..3fcd8a270b16 --- /dev/null +++ b/dev-ruby/mechanize/files/mechanize-2.9.1-libxml2-2.patch @@ -0,0 +1,34 @@ +From 0ba09f46be6f1ce4adb94baca9867ed769f6535a Mon Sep 17 00:00:00 2001 +From: Mike Dalessio <mike.dalessio@gmail.com> +Date: Fri, 11 Aug 2023 09:29:06 -0400 +Subject: [PATCH] test: work around libxml2 encoding changes + +Related to 762df0c7, we're seeing the upstream fixes did not ship in +v2.11.5 so let's change the version test to assume it won't land until +v2.12.0. +--- + test/test_mechanize_page_link.rb | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/test/test_mechanize_page_link.rb b/test/test_mechanize_page_link.rb +index 988328cc..04294420 100644 +--- a/test/test_mechanize_page_link.rb ++++ b/test/test_mechanize_page_link.rb +@@ -114,7 +114,7 @@ def test_encoding_charset_after_title_bad + skip_if_nkf_dependency + + # https://gitlab.gnome.org/GNOME/libxml2/-/issues/543 +- skip if Nokogiri.uses_libxml?([">= 2.11.0", "<= 2.11.4"]) ++ skip if Nokogiri.uses_libxml?([">= 2.11.0", "< 2.12.0"]) + expected_encoding = Nokogiri.uses_libxml?("< 2.11.0") ? 'UTF-8' : 'Shift_JIS' + + page = util_page UTF8 +@@ -138,7 +138,7 @@ def test_encoding_charset_bad + skip_if_nkf_dependency + + # https://gitlab.gnome.org/GNOME/libxml2/-/issues/543 +- skip if Nokogiri.uses_libxml?([">= 2.11.0", "<= 2.11.4"]) ++ skip if Nokogiri.uses_libxml?([">= 2.11.0", "< 2.12.0"]) + expected_encoding = Nokogiri.uses_libxml?("< 2.11.0") ? 'UTF-8' : 'Shift_JIS' + + page = util_page "<title>#{UTF8_TITLE}</title>" diff --git a/dev-ruby/mechanize/mechanize-2.9.1.ebuild b/dev-ruby/mechanize/mechanize-2.9.1.ebuild index 0a58835b24b7..2c486d5111b9 100644 --- a/dev-ruby/mechanize/mechanize-2.9.1.ebuild +++ b/dev-ruby/mechanize/mechanize-2.9.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md EXAMPLES.rdoc GUIDE.rdoc README.md" @@ -17,6 +17,11 @@ SLOT="0" KEYWORDS="amd64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" +PATCHES=( + "${FILESDIR}/${P}-libxml2-1.patch" + "${FILESDIR}/${P}-libxml2-2.patch" +) + ruby_add_bdepend ">=dev-ruby/hoe-3.7 test? ( dev-ruby/minitest:5 )" diff --git a/dev-ruby/mysql2/Manifest b/dev-ruby/mysql2/Manifest index a7087d63ef0f..cf09f72deaaa 100644 --- a/dev-ruby/mysql2/Manifest +++ b/dev-ruby/mysql2/Manifest @@ -1,3 +1,3 @@ DIST mysql2-0.5.5.tar.gz 124769 BLAKE2B 698b18434691b2b7734c6fa314c931a38e973813a1912166838541f35c181813bff2db2c0967df72e8d9108b9ea71a030af09f39354a9c902674fab287b82331 SHA512 fa43e464bfd495d335c6f95b1897009813b7d6fbfeebe8d9c533c4f88c664a61a140227df73eb892c0314f76ebb5d0f2e06265284512dd35950bbab78d20e0fc -EBUILD mysql2-0.5.5.ebuild 3465 BLAKE2B 0d4ed6858b1085b7ed5a5d80ffb8831570e5ef93713ec41a9b32f4fbd4e22806f91e7691147580a485c39466618c8405228445a2708dd7ffbce652008f28e142 SHA512 8780a4ba58d98e113c46dc3c1e6a84d8a567157d00bea3ea343bc3930ae43a9e27a17db5e7d6b1ca64f795f6a79148dfc7b27345e09d43662f4d7cb08de48da2 +EBUILD mysql2-0.5.5.ebuild 3417 BLAKE2B 3987df93acd4c4cbbb15a6f4e9e4e5a77169855b50ac2b17a15b9c1251ce47ff47dd18b1e5cd3f4ed42047b0a31ce6aff9a26880af225c879c5cb3c36d79113e SHA512 fb96e6afc75a1fee0b410fef0c4e7c8b04973410056e742c6a8f04663655aef0608ba29921c3991773f027bcd0e5623133f012c4516ab246e0c03b760dd330a7 MISC metadata.xml 414 BLAKE2B 38309330df062150b84012dff2bacfaeccc80ad855697c841708611e167ed12f07ba7284dd4ec8d349cfe8c13c363d0c6949370ac1357057ec9efcd43b6236fe SHA512 8fa3177228145a7f3e1b2cb8d1124ad1ed3639112f17885d6464dd266858d0855ef2645954ea0238011597e3d3d99d9fcc02f6b900315c18f48386ffbe3b8ff3 diff --git a/dev-ruby/mysql2/mysql2-0.5.5.ebuild b/dev-ruby/mysql2/mysql2-0.5.5.ebuild index 5ec2338a5603..4d547f2ee9fa 100644 --- a/dev-ruby/mysql2/mysql2-0.5.5.ebuild +++ b/dev-ruby/mysql2/mysql2-0.5.5.ebuild @@ -57,13 +57,11 @@ each_ruby_configure() { each_ruby_test() { local -x USER=$(whoami) - if use mariadb ; then - local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}" - fi - einfo "Creating mysql test instance ..." mkdir -p "${T}"/mysql || die if use mariadb ; then + local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}" + mysql_install_db \ --no-defaults \ --auth-root-authentication-method=normal \ @@ -79,7 +77,6 @@ each_ruby_test() { fi einfo "Starting mysql test instance ..." - # TODO: random port mysqld \ --no-defaults \ --character-set-server=utf8 \ |