From ddcaaaec485fcf5238dfbabb6df62a11e95a1f26 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Jan 2024 12:57:12 +0000 Subject: gentoo auto-resync : 28:01:2024 - 12:57:11 --- dev-ruby/Manifest.gz | Bin 108909 -> 108910 bytes dev-ruby/capybara/Manifest | 2 + dev-ruby/capybara/capybara-3.40.0.ebuild | 61 ++++++++++++++++++++ dev-ruby/nokogiri/Manifest | 2 + dev-ruby/nokogiri/nokogiri-1.16.0.ebuild | 96 +++++++++++++++++++++++++++++++ 5 files changed, 161 insertions(+) create mode 100644 dev-ruby/capybara/capybara-3.40.0.ebuild create mode 100644 dev-ruby/nokogiri/nokogiri-1.16.0.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz index 1ae891654d8b..91f0dc14044b 100644 Binary files a/dev-ruby/Manifest.gz and b/dev-ruby/Manifest.gz differ diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index 47ef844b9ebb..b5609f078318 100644 --- a/dev-ruby/capybara/Manifest +++ b/dev-ruby/capybara/Manifest @@ -1,5 +1,7 @@ DIST capybara-3.39.0.gem 381952 BLAKE2B 2b70bfbf930258c2273bf0c6bddc70e455d1d717bd0ed79fc68459c6f40d47ef8149fec161dbaff08e6d8424aebbdf5160033169a6269408b368525218899e23 SHA512 0910ecef11a007d10e753887d9016bab4de74e2ddf2fa2c8b8fc32bfe7d71d64a8c0b72a0a606aa7b558922ab02b4368d1c42a0df78ecf3f68a5efc34edc8707 DIST capybara-3.39.2.gem 381952 BLAKE2B ff73035a1942e4e418d50356b977c68ea878a27082b3684b940b69df77bd97c1a628e2346673f9e42bf0592386e470b376ce5b35d673f6fe4e74547023348be1 SHA512 498fb3880014d3cff1ec6ed68542f68eb03ebfc86e8c681623ad3549ecf8297a0313abe9dd8db0a104cc0db2a2eec8c66bac4f2e5c0d29e0785237ddfe718c59 +DIST capybara-3.40.0.gem 384000 BLAKE2B 260e2e20be7cc08410035850d087934f0fbcc8b1d602416b8f1ca1ea2fb15708b606de2db002bb620bcc7c99afb83f162dd5ed1db2109f8a0b436f90258083d1 SHA512 91c3fd98bb32359a2e168c3a69efe56f4f4952be36b26961922fe6414888191ec0f79da4cfe2adb05f74a57be03254d14fa9296aa537f419c7081f58af67e0bd EBUILD capybara-3.39.0-r1.ebuild 1816 BLAKE2B a67f4e7790eb2079c8b2cfc8522490a4990ad962fc1acfc55585f39459d8f452425f746fd104dcb37c07a0f469c36885d5f542282c83d65ad98b86534dc7af6c SHA512 606cf539d1276e5e5b52bd4b0435eda4e878bab0119752ed40b319928944fc379839ae7613842fb93411e2b020f4f9b62777b2e353f4da5816cbd975d840125c EBUILD capybara-3.39.2.ebuild 1809 BLAKE2B d1585cb34390d066b313398f50091c21836e3661d8456139c32eb1e7662ad5de1f52bceeae32d35009ebe7f7adb501d0c5b0523abeeed23df8e450a83c7f0a2f SHA512 d0294c01065f7fd097e44c527ae5e8e4a2af9a2fd1dacc217415b6164631ab2da8539bf4e2a537a6c3a6f0aef71163ca5171dd28b6bc84fa04c76a6fe55595a5 +EBUILD capybara-3.40.0.ebuild 1810 BLAKE2B 54c034712d53a364af88c1ee5b6d8c35670eba1ce1850bbc45fb21ef8046feeef4b11cc537d6fb3d9c07f6854b12c034741dd1085d429ff9ee29dcf092dd498e SHA512 7537fbf176f49266fe0f561dbbb3a81aae8d4e9bbf6a8eac20e80c22c61fd705d30f66984e453d130693aafcea22987482a8b991847c0c12e969059bad0f54ea MISC metadata.xml 348 BLAKE2B b4194195a69c268721e6cd93da0b2c991fdff4528d4835e8a9717ca6b378a9b48930265f6312334d6ee59de19a7b683258a4767c7f436d2fc53a62b1fff600b5 SHA512 ef3fc6dfd16d2111ead7891ee86eca1f2252226a5e35a94182e3a052d5c63299e2e206e09f6f3062ca85b1a31c893a43232807216dd01ef30dd227fa94449c28 diff --git a/dev-ruby/capybara/capybara-3.40.0.ebuild b/dev-ruby/capybara/capybara-3.40.0.ebuild new file mode 100644 index 000000000000..a543648bcc15 --- /dev/null +++ b/dev-ruby/capybara/capybara-3.40.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +# Rake tasks are not distributed in the gem. +RUBY_FAKEGEM_TASK_TEST="" + +inherit virtualx ruby-fakegem + +DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications" +HOMEPAGE="https://github.com/teamcapybara/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="3" +IUSE="test" + +DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + >=dev-ruby/launchy-2.4.0 + >=dev-ruby/selenium-webdriver-4.8:4 + dev-ruby/sinatra:3 + www-servers/puma +)" + +ruby_add_rdepend " + dev-ruby/addressable + dev-ruby/matrix + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.11:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + dev-ruby/regexp_parser:2 + >=dev-ruby/xpath-3.2:3" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die + + # Avoid window-manager specific tests (sizes are specific for fluxbox) + sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die + + # Avoid spec that requires unpackaged geckodriver + #sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Avoid test dependency on puma server for now + sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Update spec to catch the right error code. This seems to have + # changed recently across ruby versions. + sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec +} diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest index 8876033fe809..6572edfa9c7b 100644 --- a/dev-ruby/nokogiri/Manifest +++ b/dev-ruby/nokogiri/Manifest @@ -1,7 +1,9 @@ DIST nokogiri-1.15.3-git.tgz 10767496 BLAKE2B d9d2abd3f57fd3f9e3e49e38de7559d5d9bad278166b4108d2edf4f90884256c01bf574cec8a15b6f30420c9f4d501707b710e3af0f32dc5cbcc01b4433c6662 SHA512 9084e97c81bca52c19cf2cd47dcf0d3377705ceda559399aa1cbf1e112845b2a796e34576f08a073377fb523a7a298254bda91563929535734700c31c473cb49 DIST nokogiri-1.15.4-git.tgz 10767816 BLAKE2B fe35809f62279ded261c655cc589fdb3447514f6525b62d591da58f91cc9dced34f5ac3e8bde180944ce23a67f56b2f93c90ac9cf69699e331dceee1ea259408 SHA512 f255a51053c55151c6df8937a979833571e2cbc8a25d032674d71d1303267ed4d3a1226d0995e54d9a152f237b31e7fe85e70fb976578902234eb5a2f4f3ce2b DIST nokogiri-1.15.5-git.tgz 10768080 BLAKE2B 25d24799c69a4271ea5283b264061c05f6907635ed55de196f76684d2db3c6c226e7f09f02f30de049b282c17cdea69154dec9a06813cb4f63adaac4876e160c SHA512 1df3f6bf4508a7c84fa22ce774cb878ca47154e69730f1cedb403fad270df42c580526ac03b47e73bf2267ad50d2999ed1341079b10043b450f51ea6b0565da7 +DIST nokogiri-1.16.0-git.tgz 11010821 BLAKE2B 5b82e28d7d1e7d74e857a997ea32ba406450588f398fa49590d318b194883b2a247b9389b3930583727a34df425034f3cefc4a5cb00f25945a02623872ac3ffa SHA512 0f6740ce69159f878844f2afdddafcc8c8f3bdabee68e5fcedb1526ae9cc48648c6ebda2a272ab1b8776fbde766bae97046802573908bd908cfb908288607e51 EBUILD nokogiri-1.15.3.ebuild 2702 BLAKE2B 8934088d9edfb342b53b74f5fcabf397cf9cdb050c5c8d5ebac1686a15070ae4c1d22d3320de67ac0d055d18384f177353ffa05683e0ba17663c1cba2ae2f9e7 SHA512 3add6c7af7cc8bee29064e8fed1cea2237b401381f6451f5b5938728df1f60046ea4e342cad334630a5e00ccc54fe39a31d8c59a8f10051a56c3219c83e62f9a EBUILD nokogiri-1.15.4.ebuild 2725 BLAKE2B fae2cf3841a75e8971fb765db24eb3ab2948df06405561a2365b7a5b37be950331fe5960d393892ed00ffb37c73045ec16949363ab3e5c331c0317906d49b706 SHA512 97f0a0fc75c85dc646cace0560ac02645f4f8fe19309645de2aec3c17f0d0363526ee1a927c688d4d74bf2f81e2db3560e740a162a1b0186b93e84f824edd974 EBUILD nokogiri-1.15.5.ebuild 2725 BLAKE2B 6591c0f404c0c06fa1e832b18dd5839871d0c9b82f3f7a010f37040b598685cbe5d638b2f71bbc0f2e06496919633e4715e0a5a0ba94bfffa94e069800061156 SHA512 7ade4f7015c07f15fad0ae776cb06e9acddf0f3b8e1e0288b614adca1ea03d7506fd8a9471b6a419d2e5e11ccb76274d6b5472332c1c772ed43b982aab677185 +EBUILD nokogiri-1.16.0.ebuild 2723 BLAKE2B 89add45ce1ff833b87f80ec7ba9540ddee2912df7eee3d22ab590af927e047922c6a8508e4111cbcee40e7adb885193c9690c28f10af30a381f4e113ab6be925 SHA512 80b9a3f11f831a3456196900f5314a690071f4197d28fffc05b5d46489839fafe76aba74f9cb81e4824f77c13b3909072b246a418d4441f7cd490753aca33880 MISC metadata.xml 349 BLAKE2B 824094b81182da6ed2c43f55f8697dbf614662e1e032ed62bcf8ec4ef8fb6e6a1bf346f90863a8cb7d6cfaf2696f0be70fd3027d6d01e583bba0c1334252447d SHA512 9ab17ab504279d8d1ea584f7a6f411fe778b89564016dc0d596ec7f714cf9ad80ed5e30c179ec6aa190bafe8a8b72bfdc5a964d213a8024783da246bbb817629 diff --git a/dev-ruby/nokogiri/nokogiri-1.16.0.ebuild b/dev-ruby/nokogiri/nokogiri-1.16.0.ebuild new file mode 100644 index 000000000000..0156ef303f1d --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.16.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md SECURITY.md" + +RUBY_FAKEGEM_GEMSPEC="nokogiri.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/nokogiri/extconf.rb) + +inherit ruby-fakegem multilib + +DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser" +HOMEPAGE="https://nokogiri.org/" +LICENSE="MIT" +SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + >=dev-libs/libxml2-2.12.3 + >=dev-libs/libxslt-1.1.39 + sys-libs/zlib + virtual/libiconv" +DEPEND="${DEPEND} + >=dev-libs/libxml2-2.12.3 + >=dev-libs/libxslt-1.1.39 + >=sys-libs/zlib-1.2.13 + virtual/libiconv" + +ruby_add_rdepend ">=dev-ruby/racc-1.4:0" + +ruby_add_bdepend " + dev-ruby/mini_portile2:2.8 + >=dev-ruby/rexical-1.0.7 + dev-ruby/rdoc + test? ( dev-ruby/minitest dev-ruby/rubyzip )" + +all_ruby_prepare() { + sed -i \ + -e '/tasks\/cross_compile/s:^:#:' \ + -e '/:test.*prerequisites/s:^:#:' \ + -e '/license/ s:^:#:' \ + Rakefile || die + # Remove the cross compilation options since they interfere with + # native building. + sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die + sed -i -e '/cross_config_options/d' Rakefile || die + + sed -e '/reporters/I s:^:#:' \ + -i test/helper.rb || die + + # There is no need for mini_portile2 to be a runtime dependency on Gentoo + sed -i -e '/mini_portile2/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ + ${RUBY} -Cext/${PN} extconf.rb \ + --with-zlib-include="${EPREFIX}"/usr/include \ + --with-zlib-lib="${EPREFIX}"/$(get_libdir) \ + --with-iconv-include="${EPREFIX}"/usr/include \ + --with-iconv-lib="${EPREFIX}"/$(get_libdir) \ + --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \ + --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \ + --with-xslt-dir="${EPREFIX}"/usr \ + --with-iconvlib=iconv \ + || die "extconf.rb failed" +} + +each_ruby_compile() { + if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then + ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed" + fi + + if ! [[ -f lib/nokogiri/css/parser.rb ]]; then + ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" + fi + + emake -Cext/${PN} \ + V=1 \ + CFLAGS="${CFLAGS} -fPIC" \ + archflag="${LDFLAGS}" || die "make extension failed" + cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} + +each_ruby_test() { + MT_NO_PLUGINS=1 \ + RUBY_MEMCHECK_RUNNING=true \ + ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die +} -- cgit v1.2.3