From d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Jan 2021 18:03:51 +0000 Subject: gentoo resync : 29.01.2021 --- dev-ruby/Manifest.gz | Bin 109103 -> 109117 bytes dev-ruby/ast/Manifest | 2 + dev-ruby/ast/ast-2.4.2.ebuild | 33 +++++++ dev-ruby/bacon/Manifest | 1 + dev-ruby/bacon/bacon-1.2.0-r3.ebuild | 20 ++++ dev-ruby/bundler/Manifest | 8 +- dev-ruby/bundler/bundler-2.2.0.ebuild | 32 ------ dev-ruby/bundler/bundler-2.2.3.ebuild | 32 ------ dev-ruby/bundler/bundler-2.2.4.ebuild | 30 ------ dev-ruby/bundler/bundler-2.2.7.ebuild | 30 ++++++ dev-ruby/capybara/Manifest | 6 +- dev-ruby/capybara/capybara-3.31.0.ebuild | 60 ------------ dev-ruby/capybara/capybara-3.35.0.ebuild | 60 ++++++++++++ dev-ruby/capybara/capybara-3.35.1.ebuild | 60 ++++++++++++ dev-ruby/creole/Manifest | 1 + dev-ruby/creole/creole-0.5.0-r1.ebuild | 30 ++++++ dev-ruby/deep_merge/Manifest | 2 +- dev-ruby/deep_merge/deep_merge-1.2.1.ebuild | 4 +- dev-ruby/heredoc_unindent/Manifest | 1 + .../heredoc_unindent-1.2.0-r1.ebuild | 27 ++++++ dev-ruby/jbuilder/Manifest | 2 + dev-ruby/jbuilder/jbuilder-2.11.0.ebuild | 30 ++++++ dev-ruby/mini_mime/Manifest | 2 +- dev-ruby/mini_mime/mini_mime-1.0.2.ebuild | 2 +- dev-ruby/rack-attack/Manifest | 2 + dev-ruby/rack-attack/rack-attack-6.4.0.ebuild | 40 ++++++++ dev-ruby/redcarpet/Manifest | 4 +- dev-ruby/redcarpet/redcarpet-3.4.0.ebuild | 41 -------- dev-ruby/redcarpet/redcarpet-3.5.1.ebuild | 2 +- dev-ruby/ruby-ole/Manifest | 2 +- dev-ruby/ruby-ole/ruby-ole-1.2.12.2.ebuild | 4 +- dev-ruby/rubygems/Manifest | 4 + dev-ruby/rubygems/rubygems-3.1.6.ebuild | 103 ++++++++++++++++++++ dev-ruby/rubygems/rubygems-3.2.7.ebuild | 107 +++++++++++++++++++++ 34 files changed, 569 insertions(+), 215 deletions(-) create mode 100644 dev-ruby/ast/ast-2.4.2.ebuild create mode 100644 dev-ruby/bacon/bacon-1.2.0-r3.ebuild delete mode 100644 dev-ruby/bundler/bundler-2.2.0.ebuild delete mode 100644 dev-ruby/bundler/bundler-2.2.3.ebuild delete mode 100644 dev-ruby/bundler/bundler-2.2.4.ebuild create mode 100644 dev-ruby/bundler/bundler-2.2.7.ebuild delete mode 100644 dev-ruby/capybara/capybara-3.31.0.ebuild create mode 100644 dev-ruby/capybara/capybara-3.35.0.ebuild create mode 100644 dev-ruby/capybara/capybara-3.35.1.ebuild create mode 100644 dev-ruby/creole/creole-0.5.0-r1.ebuild create mode 100644 dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0-r1.ebuild create mode 100644 dev-ruby/jbuilder/jbuilder-2.11.0.ebuild create mode 100644 dev-ruby/rack-attack/rack-attack-6.4.0.ebuild delete mode 100644 dev-ruby/redcarpet/redcarpet-3.4.0.ebuild create mode 100644 dev-ruby/rubygems/rubygems-3.1.6.ebuild create mode 100644 dev-ruby/rubygems/rubygems-3.2.7.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz index f8164595a0f1..fe3701eaeb26 100644 Binary files a/dev-ruby/Manifest.gz and b/dev-ruby/Manifest.gz differ diff --git a/dev-ruby/ast/Manifest b/dev-ruby/ast/Manifest index 75c86cc2cc84..e2a86a7d4732 100644 --- a/dev-ruby/ast/Manifest +++ b/dev-ruby/ast/Manifest @@ -1,5 +1,7 @@ DIST ast-2.4.0.gem 15360 BLAKE2B 1d68fa8137bf2a158e8b2e0f30d3d803791db7fcb397133681cd2ffb57badebe6f9afd792a7cf3907dc1fa3e3a617fbb0331c85c69e36a46ca49962f30be9979 SHA512 60a0b00103ed57c71907155ee7966127985021e51c1d829e2149c87066504e76fdb955f9717bb19b5627d5b8c44f0d6a165e208900ede2355a47970ee9664b72 DIST ast-2.4.1.tar.gz 11046 BLAKE2B ef2bf6e9ac6af90c2cc8844d372fd97ddef3d85f846711f1348534a58e0824b92bc7533a36eb737ff436fe79ccedf2169bd01bd740bf7cbbba89f1062bfc9f0d SHA512 270cd84c034fb017e9bb7637443b51e9ba453e467d39093e1212521372ea9ec1c27c1a71f3cc99ff58b8ce6a762b5363e1238fd98efd3bc794449641e53b0bc2 +DIST ast-2.4.2.tar.gz 11547 BLAKE2B 2745d0e7b3bea2a2a750aa36f634def78d354ea91a3b795adb84d955e95aa1302ed0a7a4e9df0961b02318b4a70ee7f3e7f509232977c4501cf4d54f8f91f8e9 SHA512 7499625d21b2edd67df4ee9248ccfaf46b77d1d161a8aa70e15f59d055abaf2b988de01c5a078bebcf0f1c0e40858cc51200327e6b6f0bea6cdbbb58c6e3f755 EBUILD ast-2.4.0.ebuild 700 BLAKE2B 280295df5f97ff52291e786a795d10233a625dda7567a8b200b660bf9441c3c8914a2a394cf4804d7842c7625bec7de97a3bbac7d5132099464e4424de07ec33 SHA512 38fef6a13e2601c8b63b9021cc70c7c7f21149c087ec219c07b31ac99c47b319b5a54c7b5514f201900efde908aecf3cd07a23c6738c62a42fc38e36b2c3748e EBUILD ast-2.4.1.ebuild 786 BLAKE2B ae449bfcf00d5a8526b2b1f869628f443a5c724503a03f94c2aba7aacdb86efb2dc87f07059399e1b77960581571f8fd08cb64c3f79c68328e54a0fd0e76b745 SHA512 ce318046e14eee5528c9e4cddba426094e886eb3803669282f6d56713e7d1c2f1ddf300c552134adc4469035d934e06b73fe33542a4af0a9c1e464a522d23fe9 +EBUILD ast-2.4.2.ebuild 786 BLAKE2B 7fd61e3c89ff357dddabb6131c7e4733465d998b00cac3a319b70b63d7a7c9f3cba895438d80f02873f5d2259313d7b84234422038f6428d4c908d259520554f SHA512 b9e7a48c25b5e2ccc5f9defe2580b155404a9c9cb33f03fca022a2d4c9ea662d6ed0eb6a2509f7089ae05fe9eb5971a4d6129e4cc91e2b12489efba33b4fe65d MISC metadata.xml 340 BLAKE2B 30aec3a2478894cc3d10da2ff828e275c0400061f0fcf123131501a55ca56355e9af3fd0d53bf5edbbd4e5953a426fd68ba1b912771f66bedd9a2c61c335ca58 SHA512 cb57a981e9698ea62d17dbb519c215e420d9fbc791ef3d98394202909beacfaae2bc425332febaae18d9966b3586e82c52f60cd442f9cdb9b4f2abc25ba7b86e diff --git a/dev-ruby/ast/ast-2.4.2.ebuild b/dev-ruby/ast/ast-2.4.2.ebuild new file mode 100644 index 000000000000..479d20450b76 --- /dev/null +++ b/dev-ruby/ast/ast-2.4.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="ast.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A library for working with abstract syntax trees" +HOMEPAGE="https://github.com/whitequark/ast" +SRC_URI="https://github.com/whitequark/ast/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/bacon )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e "/git ls/d" ${PN}.gemspec || die + sed -i -e "/simplecov/,+11d" -e "/colored_output/d" test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -S bacon -Itest -a || die +} diff --git a/dev-ruby/bacon/Manifest b/dev-ruby/bacon/Manifest index e655ded44af4..3465616699f3 100644 --- a/dev-ruby/bacon/Manifest +++ b/dev-ruby/bacon/Manifest @@ -1,3 +1,4 @@ DIST bacon-1.2.0.gem 18432 BLAKE2B 7b5870a4cb2b4340eb16dfde4649049def3f19e9a3202a6040c26fe0b3ad82b04e14d47380f9d08d1a8640e38244e7ca89f897a12b382cbb2cf368e414d5af41 SHA512 ce7a9171be67b872c8a95dbf93a45fd79574796c694769e9c87a35257e85eff98187c8ee76429124ab475e90fc619eebd30e672f3dcd4f8280e139ecc469f907 EBUILD bacon-1.2.0-r2.ebuild 593 BLAKE2B 9eaa1b4e121ea5cb99f2ee9e9a438d363ad7dd42fa038923903d1004de1f8937d8a4728d6a300b48a2978cd9707c68cec80e26e3f74c559200eef13279671240 SHA512 f83656348ef02c4e04965c21e9e1cc56011c4b995debe4bb1b8983458326d6f987d192e5f98aba3b4fec7b706ce1aa2205c11fc409d3655bf10a3c70ced6fb7f +EBUILD bacon-1.2.0-r3.ebuild 600 BLAKE2B 63804925003212ff655c5f2b9457a3bb9983de93fbb9e11cbd0212aaa1e0251296709c43576ce10b2b2ef76cbc78dd264ccc00e0c347e48c563416f7edfba078 SHA512 c158e01f8417c1a9cdbd0ebc579be302dd6c733fa436399ff0a2c5a0c4684c76dcad7e47bb67debc1c517f89b72c089321dad246b393dde1c4e4e09a9f50e21a MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 diff --git a/dev-ruby/bacon/bacon-1.2.0-r3.ebuild b/dev-ruby/bacon/bacon-1.2.0-r3.ebuild new file mode 100644 index 000000000000..63566790858a --- /dev/null +++ b/dev-ruby/bacon/bacon-1.2.0-r3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Small RSpec clone weighing less than 350 LoC" +HOMEPAGE="http://chneukirchen.org/repos/bacon" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rdoc )" diff --git a/dev-ruby/bundler/Manifest b/dev-ruby/bundler/Manifest index a3db8ede4b72..9d80ceeef241 100644 --- a/dev-ruby/bundler/Manifest +++ b/dev-ruby/bundler/Manifest @@ -1,13 +1,9 @@ DIST bundler-2.1.4.gem 396800 BLAKE2B f770bd63255df09a20160369dc64e8923e996fb5ea4c11ee763d9a88e5fba142277ccd677861e3c0494b99a36261d5e7bdfb9c40c2abb76322061542f95b8505 SHA512 6c870061a78e17d97a9219433c7ef8fbf1112de17d0e0f3d8b6db1a518318528e3803184278412aabe65008e93f451ffa59465062856918ef488f9438399eff6 -DIST bundler-2.2.0.gem 400896 BLAKE2B a9d67d052bc6b7b8c09a6dbc249e348209a6a02bb3a43f9dbef29c3dce651974a4c9bde200085632cc7f4fb0957aae42a7cbaae28c8cab91986dacf1f52f1deb SHA512 bbee12a30362d1dfd8a7de4258d6623d08df91a38ba1e869f9a5878871d8fd145221f8eaa99fcb72e0c1404c9c31df37a5a1dbf4a94610cb3381566cc6c45516 -DIST bundler-2.2.3.gem 401408 BLAKE2B 7162444956c65d6684a299c7ce15f64a178dab40867315241eaa3cfcb51b6973a004980abef359c911de06ce2051e5ca98e68e3df388963f40378a6f5fabda62 SHA512 da1f1dfae51cdf3dd6792fc66c33389c113579b8a723fb204ae3b315dcd1d45aed65524469336934d7276be53b026952c944457e326c97b20d4c423dd44321ef -DIST bundler-2.2.4.gem 386048 BLAKE2B 7a2cec046b75ff371df9b563a81f48c8a2a3782f75ec4868869b4b2fda5e117b6cd38daf6a566ec1201fe7a5f6b8b2c4dbe0cc552d2a63bcb4e5e9f53c710046 SHA512 f3c988278746896da276e5af5cf046c5910962c2022fc8d37ab00db1a81a69d77a1fd21fabd8a1d086891d18bfb4ac321dbb60f830b139aa7c3192ea879b4cf8 DIST bundler-2.2.5.gem 386560 BLAKE2B 070f52338e9424e571ae40c01ba559158fd9938910be4d5b1d4c8990cdaac4f6a2cb7d2a554a2e7bbb35b18a31e9d1dba5c4e711556294496ac6978ae63a94f0 SHA512 d985168531ad7415841535a496717faff2cbdcff04c8b701c0e29533f3fe5c87cb5815e6b219ab1d536c29c8c8d80b051f4f05aeb2b6fe279dc12404bf824742 DIST bundler-2.2.6.gem 386560 BLAKE2B e1e3f50425839bbb13360fc986f98588aa09643b6fb5b8c13911b5680ef0ae2ca0b19f71ffa99234f6f6a39ca6467564f25ac26874c67b493e028f086e89c211 SHA512 58e80bb313c132125e2b601113e6e262d00f768ca75adbacbff2e98cdcd83e40aa68a8f92aa56e477c66cd396687ad6d9f54f4df9366fd6b51424b6ff5429504 +DIST bundler-2.2.7.gem 386560 BLAKE2B 30d2f113f30cf4cff2d85ce06b36b947fd2d3cc0b1f03f1a0eae023babaa43820249f6b727095c5590e96adfd9914922454dbf0a2a42b8d8a6b0c75adcc5c04b SHA512 bd2fe4d7ad10fa98004514a93e2e5634bf0ca16a41410d01ed78e320d53923c6690c4564b70e5efcaf21636ef860ef56c425ce0a8e4b240fd97e05efae48c089 EBUILD bundler-2.1.4.ebuild 929 BLAKE2B a79ad4ac2dd54ceb6163218b366b45bdaaa8e5b927e232ec6a7cfff0aca675b0b994065c837778619ccf27938d5971990fe3e6357adcfad721910b24a0b4a436 SHA512 c1b5d4cb99131409fd72849a5090366c4ab180ebfbfd9c0416304e0eba18fc502ec51c56120a1545369309c9ebc16b2b4b109760aeb3a1123a2851d85357c91c -EBUILD bundler-2.2.0.ebuild 931 BLAKE2B 45ea33bc46297106a0cf1cbf84426c45e4b7699126bec073a7312c3b4e7a9cc968c9b008ea0635b2c3fdabc57856b4b7e23285e4bbf65305d5752e685f007c1f SHA512 bf4c48c4944bd02dcbe255a8f23a2df6bd24ceb8ccabbb1bcc8ab8bb36fb656ac2672e570261178576e57fdd75a764ef195f67e7bd1c81d91fbb5046d51044f7 -EBUILD bundler-2.2.3.ebuild 938 BLAKE2B be710cc6084c21afe9b6826249b64d8d3f051cf7e23f104e21b6c79204eb5f56eb9ed8f2ef0d39372ff8cdf010f183bdb1698e6956a249a255bff8297076fbb9 SHA512 453daf930f02fe82539a9f9b7277b93ef1def4512743d2bc16ce56ba738dfdf56ad531427b1ed13c85659dcb8560a96f65e5742087ee0a2eef59aff930449f81 -EBUILD bundler-2.2.4.ebuild 905 BLAKE2B a16b0446efa247f2d3e6530db4fd5b933321488357783cb9317e40868b3cdb6b701eccedbe4103644c4974492de3d8f3c75477f9842ed85c38611ab2e0d51727 SHA512 3e46e8408b4b609e4e9972330aad5b8d7f2743f7900837d9e178d5a4e02ed020df4447fb5181a23beda91674c208725484ab5404077ce60f591fab094e123feb EBUILD bundler-2.2.5.ebuild 905 BLAKE2B a16b0446efa247f2d3e6530db4fd5b933321488357783cb9317e40868b3cdb6b701eccedbe4103644c4974492de3d8f3c75477f9842ed85c38611ab2e0d51727 SHA512 3e46e8408b4b609e4e9972330aad5b8d7f2743f7900837d9e178d5a4e02ed020df4447fb5181a23beda91674c208725484ab5404077ce60f591fab094e123feb EBUILD bundler-2.2.6.ebuild 905 BLAKE2B a16b0446efa247f2d3e6530db4fd5b933321488357783cb9317e40868b3cdb6b701eccedbe4103644c4974492de3d8f3c75477f9842ed85c38611ab2e0d51727 SHA512 3e46e8408b4b609e4e9972330aad5b8d7f2743f7900837d9e178d5a4e02ed020df4447fb5181a23beda91674c208725484ab5404077ce60f591fab094e123feb +EBUILD bundler-2.2.7.ebuild 905 BLAKE2B a16b0446efa247f2d3e6530db4fd5b933321488357783cb9317e40868b3cdb6b701eccedbe4103644c4974492de3d8f3c75477f9842ed85c38611ab2e0d51727 SHA512 3e46e8408b4b609e4e9972330aad5b8d7f2743f7900837d9e178d5a4e02ed020df4447fb5181a23beda91674c208725484ab5404077ce60f591fab094e123feb MISC metadata.xml 342 BLAKE2B 9247517894a366c8b67564e015ff966b22eb3df924ec8438d9886ee854d922e376a274e1dcb455e23451febbb1bf4d8f60023e6b7763cd42772749de1bab372c SHA512 2eb67c3eb94b1d7dfe3e3c818588e6a8b15b375e2e4497afbed91dd0ac28b261cc53e2c04a7f713db710c90566ffea60a0d27acc56893010f9f1b31a6f34cb3e diff --git a/dev-ruby/bundler/bundler-2.2.0.ebuild b/dev-ruby/bundler/bundler-2.2.0.ebuild deleted file mode 100644 index ab24df09b499..000000000000 --- a/dev-ruby/bundler/bundler-2.2.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27" - -# 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" - -RUBY_FAKEGEM_EXTRAINSTALL="man" - -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 ~ppc ~ppc64 ~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 !=dev-ruby/launchy-2.4.0 - >=dev-ruby/selenium-webdriver-3.5:3 - dev-ruby/sinatra:2 - www-servers/puma -)" - -ruby_add_rdepend " - dev-ruby/addressable - >=dev-ruby/mini_mime-0.1.3 - >=dev-ruby/nokogiri-1.8:0 - >=dev-ruby/rack-1.6.0:* - >=dev-ruby/rack-test-0.6.3:* - >=dev-ruby/regexp_parser-1.5:1 - >=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 accross 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/capybara/capybara-3.35.0.ebuild b/dev-ruby/capybara/capybara-3.35.0.ebuild new file mode 100644 index 000000000000..101193fb0c58 --- /dev/null +++ b/dev-ruby/capybara/capybara-3.35.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~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-3.5:3 + dev-ruby/sinatra:2 + www-servers/puma +)" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/regexp_parser-1.5:1 + >=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 accross 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/capybara/capybara-3.35.1.ebuild b/dev-ruby/capybara/capybara-3.35.1.ebuild new file mode 100644 index 000000000000..101193fb0c58 --- /dev/null +++ b/dev-ruby/capybara/capybara-3.35.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~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-3.5:3 + dev-ruby/sinatra:2 + www-servers/puma +)" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/regexp_parser-1.5:1 + >=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 accross 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/creole/Manifest b/dev-ruby/creole/Manifest index e58862bbe486..4a7f769b31fb 100644 --- a/dev-ruby/creole/Manifest +++ b/dev-ruby/creole/Manifest @@ -1,3 +1,4 @@ DIST creole-0.5.0.tar.gz 10664 BLAKE2B cf284a80fc43d24dd9e232055b78b9f76e5ee7c44dc86fb3311cc191503d38cd31e6e8f7f6290c451860da3e2dc5646c5baaefa79fa5df9165d2eb867c5dc8ef SHA512 80f82018637f2c33c71cc57e65b6bf372fb508c890269c3a04cf171b549115f3cb09daf7fa29935824780b886c1077db20a6e7dd38af35d715529683d965bc07 +EBUILD creole-0.5.0-r1.ebuild 756 BLAKE2B a946dcc62122174b1c3e40c0e9024f0a8d6deb3e73c5741542c0c2d55b7d298c9ae168014f60392708e70d2557985425acce974de49b68d4d2e3d955b571f596 SHA512 fc985127ff55d94748e1de8438ad915e8c98a36944d820e04a64fa65e5db4538530d688d57a39be50e166a21bb021917591e166cd101581f8a931fadfeed88d7 EBUILD creole-0.5.0.ebuild 577 BLAKE2B c8bb73e242f1361a98139e18b26917c17c5fd5123f36c3bc3f34a878f9fe29197bba7a7d1bde1c1675e05ff1d68c495a42db0afc45af9fa253c84cb37024a506 SHA512 43b261a3b38a70400c9b87b688c66dcbd573d3e519e359ad542e3bdfdac85f9b9413a7a334411ad911339b24eca6b5229793c93fd8a1f8f4b4f8c766e51814ef MISC metadata.xml 338 BLAKE2B b27bf155a557e48a837a45dc8c85c2ace64f36c9651e47f68753e09997fbb4dca4c3228216ebce8a892aa8cb5fec8a1efa8c2a580f9ad161bb260d56a2197eb6 SHA512 b7f1e902044861ba85037e2e970797fcc9c71cec97521dab3ff08fa246203f11cb0f0e237e570d7309881332f4bf6fe966f3ecd9a1f8bc4af5dcc998864640c7 diff --git a/dev-ruby/creole/creole-0.5.0-r1.ebuild b/dev-ruby/creole/creole-0.5.0-r1.ebuild new file mode 100644 index 000000000000..87c7dc48ceae --- /dev/null +++ b/dev-ruby/creole/creole-0.5.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.creole" + +RUBY_FAKEGEM_GEMSPEC="creole.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Creole-to-HTML converter for Creole, the lightweight markup language" +HOMEPAGE="https://github.com/minad/creole" +SRC_URI="https://github.com/minad/creole/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bacon )" + +all_ruby_prepare() { + sed -e 's/git ls-files --/echo/' \ + -e 's/git ls-files/find -print/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/deep_merge/Manifest b/dev-ruby/deep_merge/Manifest index 78423664fb6c..f08097bff19b 100644 --- a/dev-ruby/deep_merge/Manifest +++ b/dev-ruby/deep_merge/Manifest @@ -1,3 +1,3 @@ DIST deep_merge-1.2.1.gem 14336 BLAKE2B c122eddaf63fd885f82b292ea7d1f2b6a9a9dd50731e77b856fd02284634a699b7897a12c1856732c77b4d8ffc9f6efe06f792f42d53236a521279bff13b6dce SHA512 ef93e0c4c6a8f389338ea30b2b53271f089b0b8275adf6fc74e7d15a2faf32d62a1b297af9d31c42cb5d816066428c8407a82d874fad14d64384098fc3c5c70c -EBUILD deep_merge-1.2.1.ebuild 540 BLAKE2B d34d9b81472b524ec91cf9010be9eb4c60d09b5ff437685fa9167a479030e52fcfd7f99fb5b5e5974d9f558353a1dff1625349f5329201ebe699d2c826bb0648 SHA512 f276fb0d85c9c95ec1d85f22b9d5de88a5af89dbf18269461cd241bb2526775aa9fed7b7378f52c384cb0c53f4b44200f557c80dd24c89dcc4afb7e9ea3a055f +EBUILD deep_merge-1.2.1.ebuild 540 BLAKE2B a7e1839562227995f2642f3881abaa44e54c52bebfd609ab51345ec369160763907942018491cb42776a5209c9d88eaac41908f3392e2143bb1f57584ff026ec SHA512 831392a167cc6945435a4504a61ca7e0314ffd112bd65984632e8dad6ff6ecfd58c2ffd37f41f6c1c7fb5b88feebdd6f0688310094533f2f1d77e786143fa3f9 MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 diff --git a/dev-ruby/deep_merge/deep_merge-1.2.1.ebuild b/dev-ruby/deep_merge/deep_merge-1.2.1.ebuild index a2568d2d99db..6c08756662fa 100644 --- a/dev-ruby/deep_merge/deep_merge-1.2.1.ebuild +++ b/dev-ruby/deep_merge/deep_merge-1.2.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" +USE_RUBY="ruby25 ruby26 ruby27 ruby30" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" diff --git a/dev-ruby/heredoc_unindent/Manifest b/dev-ruby/heredoc_unindent/Manifest index c3c0eb81d902..53be3c5f626c 100644 --- a/dev-ruby/heredoc_unindent/Manifest +++ b/dev-ruby/heredoc_unindent/Manifest @@ -1,3 +1,4 @@ DIST heredoc_unindent-1.2.0.gem 10240 BLAKE2B 2d29e85e03b4da87277e82ad3c7f85f8c4f4063651a5e1aa9931ae257c8e3416b6feb6403ee158b2fb6bd4bb0b6fcf00a09bf688b3ba3acc76b5000639a7c248 SHA512 a975ffdc2ae3716a7fb90145270df03d6f3d45d42d3fca3125044a2b960a9c8ffc74a7fb0e315b6021cb6ce535b08207a40351573ed89c27fe0c8e196ea02c76 +EBUILD heredoc_unindent-1.2.0-r1.ebuild 771 BLAKE2B 403429bbeaa625ccd1bfd8d1d0b70185b3e262a759ed28a24b58ae1f0e1c54be6bdbfc9b2a768304e5377c41c1c943d669c69b2aa0f339b32328cd76a56f55fd SHA512 66f9c242255b748247f04e547f3d0141dff8e8998f73e6442b2611f8935eb11f23869aae38190034dc0ddcb991471931ed400963a333a8385ae14ac1bd50b4e8 EBUILD heredoc_unindent-1.2.0.ebuild 800 BLAKE2B b63b7487ac61219ac5acbf03f5a15a038f6654c546f819875746e2b4adb78857dc795b38bf0e5da67a1cb29abdf1e0146659e28484a271d070045600a25fadef SHA512 f1ec2cee4df88367d3b7cf2917f569edc9161af43a51006a43ec6e1aef4dd402ed09789a8fecef1281173e7cdd21fc50bfd489e8f07d728d1a41c7f0ea2538fb MISC metadata.xml 355 BLAKE2B d6f3b21bb4e87e3eba58668a666a27da2fba665c0c96595b438564fca3fc691be1f8a5335175295617a18b3a77ec0966db5d9304de89859af6bdafc301379739 SHA512 bf551d4c3b25ce65b832a8d23fa0d333a79fff8b0681e975cb237367f0470fde3ee8a37f3df81d292915ece3a0bea6246de190880889d0f739870e106ec36978 diff --git a/dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0-r1.ebuild b/dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0-r1.ebuild new file mode 100644 index 000000000000..c34fd046a74d --- /dev/null +++ b/dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" +DESCRIPTION="Removes leading whitespace from Ruby heredocs" +HOMEPAGE="https://github.com/adrianomitre/heredoc_unindent" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '1igem "test-unit"' test/test_heredoc_unindent.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/jbuilder/Manifest b/dev-ruby/jbuilder/Manifest index 87789a0f27b6..bc0aeca1bcfc 100644 --- a/dev-ruby/jbuilder/Manifest +++ b/dev-ruby/jbuilder/Manifest @@ -1,5 +1,7 @@ DIST jbuilder-2.10.0.gem 28160 BLAKE2B c277a59d53f30132ebe88d6afda5c221d74a399b01cedf6a4863f29e94d329137669942957a21ae9c5c192177dc9e78b6d66d9b5a29c7d4667a0432556c6b28c SHA512 a429422d65ed3eec55f46597f73a97b267fe7d6c7554ec6a6d60e1e1c0a9306b81f7283524602a30af11a141f7cd466a0f7b0a804172bd4008787462f0fa4ffc DIST jbuilder-2.10.1.gem 28160 BLAKE2B 07bde14ee6a75b5e1cec8ee1fead688c613e76713d32d419433b0f7163a9622bcc48e4b36333eb06960a9a566784d7f31843d71259226539fe569cd178315d55 SHA512 340e9d9cff969294e22a3eea57001e69402cd47b791660a1468702e046edfe4a3cc4f8fe18b87ba63e13352d020cd8fd78fcc070a287bb8da108c531f4dc22a5 +DIST jbuilder-2.11.0.gem 29184 BLAKE2B a1a98df2d81e3d894f82a9862229b0c1f2885f3874084a9a7b1b2d8aecaf48db6777051789d3006448a22d7bbf9e7cd51b8fdf32f8f582551b4fd861d92acf32 SHA512 e76d83a39ae11f4aab5863f87630ff36fff8ef7dc0231da058b0033e80088816b33f0d061859f516ffbb1d965b26e384b233f2c0ebc6d75aa96acb411826c16c EBUILD jbuilder-2.10.0.ebuild 614 BLAKE2B 4cc2fe888b7be708ede6be6de5e9c92e7ba6fa2545f14c73efa5b718dfdad2747e8d726adee41b27961de6f81e8832388c4421003944af48556195f5bbf8a856 SHA512 2d4a6439dd2e6fc4ff9c7e9f024c1491b32d5a6d3e3d7ef70fbb270d120cd4550364762d6d3c66c65875c7cad43221af1ef16f5a089402658f2f27f27f64cf6e EBUILD jbuilder-2.10.1.ebuild 644 BLAKE2B 89850b0a764f25a24d1680206aeb4b6bd1ac7a531fb6d46245790ca5c640185802f05d6f2076dd957523ca22a1ae39d8729191e6f8df88a2c338836b5be6aefb SHA512 db7d0a374a0af947ff8a57873e177e883cdf279eb6c114dc5298316417d52d05b69b16a0f42254887d45ee0ac58ec4aa3560fd6885a60adc117084981e6a5c55 +EBUILD jbuilder-2.11.0.ebuild 644 BLAKE2B ff34c4bfebc0a3a8e80c940bb4ee13a7ad1813c6a9940cba2e797ac528df8479db6b1d4caacef1fc6190930de8a2a34e0fe00d6f33b92a85251ad37fd0406351 SHA512 d8a390abd926c804ea13a4f78b2caf1880b64d771791b02fb88b0ba563c86044ce107b7e6ce8abdde08663278ae4c87c08a48f232a1245ec9742f35151f969b9 MISC metadata.xml 326 BLAKE2B 205ea196c26e50f19fae65cb1b0cbb295b08406f3fcd6bb51162f52c48aef883b05aeea5092100e53f00ce2dc5f8c5f5a0c32c810af822b6b4ea0d95730e1ad3 SHA512 935898503cbfde9f698968794d20797e973227e1441489359520aa0ec2966c7cfb8df8c9b64ae4738cb55393ae4d001f38eef28cf379fb9e7ba29feaa18cd37d diff --git a/dev-ruby/jbuilder/jbuilder-2.11.0.ebuild b/dev-ruby/jbuilder/jbuilder-2.11.0.ebuild new file mode 100644 index 000000000000..8010602aa4a9 --- /dev/null +++ b/dev-ruby/jbuilder/jbuilder-2.11.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="TRAVIS=true test" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Create JSON structures via a Builder-style DSL" +HOMEPAGE="https://github.com/rails/jbuilder" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-5.0.0:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/activemodel-5.0.0 + >=dev-ruby/railties-5.0.0 +)" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/mini_mime/Manifest b/dev-ruby/mini_mime/Manifest index dc84e13c7f53..5f99f92e64e2 100644 --- a/dev-ruby/mini_mime/Manifest +++ b/dev-ruby/mini_mime/Manifest @@ -1,5 +1,5 @@ DIST mini_mime-1.0.1.tar.gz 31329 BLAKE2B 970927c8bb2d00f2e0b71cbca9aa954f732eb9d46d2e9b35a6b042ade88aaea993b40023a189b4ce1515b2b476d123945b4ec2d3fef05d4444f3e1a0f492df65 SHA512 2002ed95fe49bf71a95987f35e25e9086a5365e6eff9f7cf8a33a742cbbbd31e5020fbcd0d35b31e7dc61c0e82390a03e5241f4e5a88e9f7d7a2d3020c0ea9ee DIST mini_mime-1.0.2.tar.gz 31971 BLAKE2B b2783f9376d5299ba77d1cab0326f706cc671a96aac58e8c65879f9180cf3f1f359eba1b8ed4028c775728d4d633d6e8cce06acee90cfe9b60cde2e53f9a2360 SHA512 644eefdc9277642b8b94ce8071826ec993f7da1a5bc8903bd17ece05a374f286014d05b5765ec5a5f7f0fa9252b56d3bdd03109a3702075f6e8ccb68a4cef98d EBUILD mini_mime-1.0.1.ebuild 1031 BLAKE2B 4f7f03979dfaaeb108ec9ca53b90857ea88c61b70a9c7248be27bf5da70863f553b146cc4191050f5598b0693c7328241acdb006da72dba5af0b2daeec7c2f12 SHA512 95b5bed74230855a4240c8759d2ebe50f6d155448a8f3dfe2238be365540edd116b152ba9e9d4ec95e9f24c740ae4676d4a9f3e0fc0c58830c43bc54c6536b95 -EBUILD mini_mime-1.0.2.ebuild 1077 BLAKE2B 6f6ec51242db5f9e14d6663b16421275b03cedbba2ceb04f0f3d545dda84d1f513e038f0d6ea57426296a386ac77a7bec7474075f2bacce834dc44b3dfda20cf SHA512 f6e479187e701a423759981b78bffca1739ee2646fc72fd775bdd4bc76d6cb88af7001d440ab3c5cd0d8e95333fe06d22a37ebfbdc4bd483c979d1f4463aba81 +EBUILD mini_mime-1.0.2.ebuild 1077 BLAKE2B e5350813078cead7f195cc419a44fe18c00423043ddd21b57943e02481b038ce7eb704e9aee5001f201ca7e3abf5d6f17c11e3bec344c197d19c8bde27d5c05c SHA512 97e4af23d1f278e58060e21e8e72f4df6039ae62ca24ef2e5349fa3f3200db539ec5f274be8120dd5d38a0b6d299ef5f6c46476c36e40e0de65e7ff3593b7682 MISC metadata.xml 345 BLAKE2B fc6de1be1e40f5e450d784f3e2e2be6f0339687cf728fd6b63bf6f4fd1927200f3a5262a2fca9bfa5a33310cfffdab9fbb817ea40072dfcecffc963b5193107e SHA512 bbffbfd689e60f39f73d5117f6327b250a917446edc6d0dc14cb43a5fbb00dbeaf6ebd92c090f3e7b2168dfc0c409c58be287acad9243a420bd5bbde64f80c43 diff --git a/dev-ruby/mini_mime/mini_mime-1.0.2.ebuild b/dev-ruby/mini_mime/mini_mime-1.0.2.ebuild index 6002d47e5e1b..4c8e30b4ec07 100644 --- a/dev-ruby/mini_mime/mini_mime-1.0.2.ebuild +++ b/dev-ruby/mini_mime/mini_mime-1.0.2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" +USE_RUBY="ruby25 ruby26 ruby27 ruby30" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest index 49819d8fb554..8efdbcef5ce6 100644 --- a/dev-ruby/rack-attack/Manifest +++ b/dev-ruby/rack-attack/Manifest @@ -1,3 +1,5 @@ DIST rack-attack-6.3.1.gem 25088 BLAKE2B 97a6f36ad3571508f68b33090644db8fb21f6eb43f8ae16b0107dd3e0e1b8b728b6eaa43959dfa8b9781672147673b750c215c9ed01366de90175ba063d5d2b5 SHA512 e6c3fbc5a09cc3d15d06b450baf911b84dd412de7b1a9d0f67661da2106d1474ea2f7c2ec6a7cf5bbd9756642be519e618134c5c7888c41f44270afc4f8aff4a +DIST rack-attack-6.4.0.gem 25088 BLAKE2B 97f54f8d411d279731bf85ea5c43b875bdfe8f9eb32991b5c10b65cc6fd747b6b518b47da29bfccff9a037c9295f2c09b7b0c721bd24d42eaf0bda1012fc56b1 SHA512 f7d86521b65ecc92544c0f0d0af01e1de2e95d1087c732bd2e2c6aa944835bb5618bb35ca4bc60c42061627b5e8b5b030701238f42d61cd851d6b21ddb709e36 EBUILD rack-attack-6.3.1.ebuild 1084 BLAKE2B 17031cde8c30de43e22459fa5e09deab1e9bc0e094683a57dea720d2e2e99924c8fcb515e170f4ca55c93d9dcf36555c411cbf270ee64f744043e2081c9f45c6 SHA512 176b03af7f8c41f9c7b13db8ed1e0642d411e65510c1df033169e3698dfcec256d6676ba94f99e8c69bf0b09f316197ba19cd7f7d441f3a1fee8a17fc2dcc62a +EBUILD rack-attack-6.4.0.ebuild 1077 BLAKE2B 367dfde08481b4dd3d724e948c45505c4065cfed4cb3bd790a0320adcd54315ef975bf90088d0e67978a88264ea7abe7e9850f25f4aee7bffb5e9e774d6c802d SHA512 0fbb7492040a75d83ee7486d0b40d5669b8479cf1e648299789801418e76f5eb743038ba339410558ea665b8f7a8f3b519e8c60705eaaf0738e180c6b31050dd MISC metadata.xml 349 BLAKE2B 5e0852caf34767613f144f3a6680223198c6cad55b7ea30d0778d788ce2293a2586bf0edc698dc0a5edc11d4e1d408576ce9d7c1eb3602e7fe7f10e2be33c1ba SHA512 9584ab20de3f1604d81e9be1baa8b4e355e5a43fba3a0cfc43a3d4f5e67df0d089a906b479b99150f76e54d07310d650ae96171d6ddeb8e3f00a446e2a95a795 diff --git a/dev-ruby/rack-attack/rack-attack-6.4.0.ebuild b/dev-ruby/rack-attack/rack-attack-6.4.0.ebuild new file mode 100644 index 000000000000..e716cede7381 --- /dev/null +++ b/dev-ruby/rack-attack/rack-attack-6.4.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +# Skip integration tests since they require additional unpackaged +# dependencies and running daemons. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for blocking & throttling abusive clients" +HOMEPAGE="https://github.com/kickstarter/rack-attack" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend "dev-ruby/rack:*" +ruby_add_bdepend "test? ( + dev-ruby/actionpack + dev-ruby/activesupport + dev-ruby/railties + dev-ruby/rack-test + dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|byebug\)/ s:^:#:' Rakefile spec/spec_helper.rb || die + sed -i -e '3igem "actionpack"' spec/spec_helper.rb || die + sed -i -e '/rubocop/I s:^:#:' Rakefile || die + + # Avoid specs requiring a live redis service + sed -i -e '/should delete rack attack key/askip "requires redis service"' spec/rack_attack_spec.rb || die +} diff --git a/dev-ruby/redcarpet/Manifest b/dev-ruby/redcarpet/Manifest index 326bcb2ac62a..35a077e753da 100644 --- a/dev-ruby/redcarpet/Manifest +++ b/dev-ruby/redcarpet/Manifest @@ -1,5 +1,3 @@ -DIST redcarpet-3.4.0.tar.gz 105525 BLAKE2B 38b28f400b7300ea49cebda9b4739193b54c322c1c20ecba50938893286ad87e44ba9e9da83eab8433af0790d76bc0db4189fc0b70a4438480fe784570809e1a SHA512 25ed1fd35ebf815f396ed819baec69aae366bafab3983a53d364b1ef0d3f18cecaa523953d12cb0e5b896c30ac86e000318f33c633047bd271362474b9b8f877 DIST redcarpet-3.5.1.tar.gz 106950 BLAKE2B 2f84e0dbadaa79827d9d244988b19161996e249e493208b20b6339f0eccf73160fe84d79f11a23419573693bbc9c1faae61e690ffe5ec133f8a0baddb69d92b5 SHA512 348ee8fc56b89bb1b9fe0b004cab08e9542f3806a885fb5fb0ff58c9a0fa704ad37611484e071951ad00d1d337988d5dae6d240cd65df890f8fe0865e242608d -EBUILD redcarpet-3.4.0.ebuild 1031 BLAKE2B 44ad77ce9fff4057c3eaf59bf83b3f30c3e37c870fe468cb2ff9f667485fcf063db72f436c60c1cd969228173161989c342e2ac26fd53ca90598d72a4df0f810 SHA512 4c01aef2e885a9a6eed7374b27e16b29b442b08677089c4b1520e445102f75512080fa9532a2969abb077b53d232efd649686da59b398efdcb27c693dfc4b73e -EBUILD redcarpet-3.5.1.ebuild 998 BLAKE2B a0c0facfc4d56f637b2a9a025c13886f0740b2391b76f8b215b19ae811f4ea81caf6ce17184220726b83934621e6af3f3c89f26ef3c6a7091f73518aeff8dc3e SHA512 ce6691134cb4a06aaf297cff5e25ac70b9a5865c852d7a30b4ac7c80235913ce6e5313004b140b12a14d83eeee8c4781468a9c71dedfe766c197a23f49f169aa +EBUILD redcarpet-3.5.1.ebuild 995 BLAKE2B 55c8243edaa2c80427755606c45fc22a1cba2afb159dea890c394a4d25d583959ae2e6f0edad1c7117e7dfaa6e10df422ca8c85ad6de10cba440c33cb589ac6c SHA512 8b2deccd17fdff59314044031e6057bd07785e07e05daa565af8059b6804d23e919e6cf45a10947a3837bbc2f279a7b67c1ed59720b232f0a8e1531c00312afa MISC metadata.xml 339 BLAKE2B 3f8aaf2e00581b0e8a62f7a035a0bb80208dd8b4a1541cf77a3550cfaa486e800662c9f251bf02ec3e9a326dfe62d254981f04808b35700130b055488025c79b SHA512 eb85f708675bd9dd3d132e73d14e52689a94279ffc754097a986ddc3224ee21a69e7e81f1bc391725f1d2f1d41f72f8553079a10ffde7c8eb55048b7c6f089d2 diff --git a/dev-ruby/redcarpet/redcarpet-3.4.0.ebuild b/dev-ruby/redcarpet/redcarpet-3.4.0.ebuild deleted file mode 100644 index 4f82bacf9d85..000000000000 --- a/dev-ruby/redcarpet/redcarpet-3.4.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc" -RUBY_FAKEGEM_TASK_TEST="test:unit" -inherit multilib ruby-fakegem - -SRC_URI="https://github.com/vmg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -DESCRIPTION="A Ruby wrapper for Upskirt" -HOMEPAGE="https://github.com/vmg/redcarpet" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 x86" -IUSE="" - -ruby_add_bdepend "test? ( dev-ruby/nokogiri )" - -all_ruby_prepare() { - sed -i -e '/bundler/d' -e 's/=> :compile//' Rakefile || die - - # Avoid unneeded dependency on rake-compiler - sed -i -e '/extensiontask/I s:^:#:' Rakefile || die -} - -each_ruby_prepare() { - sed -i -e "s#ruby#${RUBY}#" bin/redcarpet || die -} - -each_ruby_configure() { - ${RUBY} -Cext/redcarpet extconf.rb || die -} - -each_ruby_compile() { - emake V=1 -Cext/${PN} - cp ext/${PN}/*$(get_modname) lib || die -} diff --git a/dev-ruby/redcarpet/redcarpet-3.5.1.ebuild b/dev-ruby/redcarpet/redcarpet-3.5.1.ebuild index 28b95765d35a..bfdf19b954b7 100644 --- a/dev-ruby/redcarpet/redcarpet-3.5.1.ebuild +++ b/dev-ruby/redcarpet/redcarpet-3.5.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/vmg/redcarpet" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 x86" IUSE="" all_ruby_prepare() { diff --git a/dev-ruby/ruby-ole/Manifest b/dev-ruby/ruby-ole/Manifest index 703f1f1d938b..9d8953806f23 100644 --- a/dev-ruby/ruby-ole/Manifest +++ b/dev-ruby/ruby-ole/Manifest @@ -1,3 +1,3 @@ DIST ruby-ole-1.2.12.2.gem 56832 BLAKE2B 489dbaff30d5d293f5c04672c2e8dd2a6144f6b32fb22319c4691a351318f0aee8fd5d01106f3ef6abaab40e81cd86c8ba9d93ddb1e004240eb052ab6ce5675e SHA512 2c28336a827e42faed4183d79ae61d4dd2b888f3d13eb26fb2b7e967057127a01e184fb509c6e4718e7beebb7490ea2f7aa230f2c5e29efae49994fa92d604b7 -EBUILD ruby-ole-1.2.12.2.ebuild 711 BLAKE2B 2eb29c1cbff74df9dd2590076f62de6c4d31a3d3154834fd0f3a4f0d21bf2cdc0d6d60ed09c106fba79e459c5a319c835c21597b736b1069f019c75b4c611970 SHA512 0d3478bf307bb5b9fdb3018b281c2b7f093241ece727a3aff30b97bfdcf6104fd6c738f154a98f2d1cc96b28728a55ee258043c0fc2951259d6aac206381b398 +EBUILD ruby-ole-1.2.12.2.ebuild 711 BLAKE2B f3631132b18598908a32deef6ce4ecdca90e11443f7ba998ace5a3c1f48eb5a5826cdb076fa84fe02efe4b28a448e26a26066f0ff3c67a9a45557d716e55c782 SHA512 058f904629595c4428d9f8bb8ad7d9fb24db401037569f005318b3b39f29ee11233bdf618ff2018e91ce7d73465a8d0979005a5ee9554925fdb09c86e80509b1 MISC metadata.xml 456 BLAKE2B de4933df478ee7e4d75a1b6652a768a51cdae34e5f25c0f8df576624810b85dae2feebc9b4aaed3e2ba75c7c0c67f4c80e059d670e4fac13885dc6128aecb65d SHA512 113ec0860aa5c75896ae97762319c13b6b01f204427e566a2418f3a96fee0dee238565f530fc2c794dd4adad6e98dc9724a478dbd60fd9e08085131bd013b622 diff --git a/dev-ruby/ruby-ole/ruby-ole-1.2.12.2.ebuild b/dev-ruby/ruby-ole/ruby-ole-1.2.12.2.ebuild index 322e931f685e..9e225ad03568 100644 --- a/dev-ruby/ruby-ole/ruby-ole-1.2.12.2.ebuild +++ b/dev-ruby/ruby-ole/ruby-ole-1.2.12.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" +USE_RUBY="ruby25 ruby26 ruby27 ruby30" # Avoid the complexity of the "rake" recipe and run testrb-2 manually. RUBY_FAKEGEM_RECIPE_TEST=none diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index 9f7c2cc6fe8b..b00529c5f608 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -12,11 +12,13 @@ DIST rubygems-3.0.8.tgz 888058 BLAKE2B e5cf7985fb67f2d4647fffa7679241a8722d5b7c3 DIST rubygems-3.0.9.tgz 886153 BLAKE2B 942f641c7dec30d3dd2f0756d04b1b6b071f5d3b5a9481c406e51ab125fa9da0e4e1ebde79c6a663e8847125c1ed8657f6af69000cf0d7191360e7aab99ba508 SHA512 1a6d7b3b08024d95988e033c772bfb6b5ed8f94ff4ddb194280bd3a7530cc384cb90fd56d44b6d56760cffbb23c5a6ab5917737ca46ec85fe61e1ae79d7ba4ca DIST rubygems-3.1.4.tgz 997835 BLAKE2B 21b8060f28e2228b7400533fa1d9fa1ae8bcaff3ebf9354e64f7d70ae35366147805a6f169986c956766bf41f34ce458d30c326c2b6f996620b14761fdf224b3 SHA512 86bb42736ccf320929eb12c83b3ce55fe95053ce5b38434902604d8d61d78c3f3cd8f20858d0fed66c473ef9fd70d7cb596c077cd06506caeac3e62ee6812ad2 DIST rubygems-3.1.5.tgz 995812 BLAKE2B 43471515e4da8a6fe47a419f67f26efc9855334d44338eff9008cc0bc62e1477498f3e04044fa41d5f45ec0f132ca55dccb420f031b9e4945f3299c8618e2b94 SHA512 0eb2c4d18dc9304142d7d06badfd6bc1a72ba67c3b8a70f608dd127d0f7b016bc004af8dae67897685d43ddf87e468668bc89cec00b969da2f2dd67bee61a261 +DIST rubygems-3.1.6.tgz 996339 BLAKE2B 8dc242a64c6f934b876de841cb6ea86455d7754cbe3902620a10ac40bb97264c03c1002b45a5734d1882617d95e8b390873ed390d00fe7e54b6d8f11a301c2b3 SHA512 730381cf683cd57f7ea7889f63cf21abb699bf28d2a25fa63f510756ece285cb63e4208130c20fa7c0232d6093d869e5d99d5b5fdad9bc68be5e8ead21863d97 DIST rubygems-3.2.0.tgz 982282 BLAKE2B 2895cee1d2bc4e59073cc1e3e96a7958d079da5d7a7d2eed392e6bd2fac457a738518f30365d5601511998997f578b3ce9ed65c5e41cdc80138d0ebb07df3548 SHA512 a3d0b9a577a88d8fa27d3bbdfd4bb78e419549c579dc1add4f80e4abd017cc64c441eb7ad260705cbae672937c07fdc0c76f8751bd942fea5a97953f01052f28 DIST rubygems-3.2.3.tgz 984126 BLAKE2B 3a1447738333cc27be3bbc30080b2e39be7557d9dbd9949fea21b0e6ca7c4ef3f062b5a2cd4c8004150f9dc548fe3c8e2cb174854c2d4ed7115f377662673398 SHA512 2910739e3bf3fbfdb98e71bfe97d5761ff6a6910e72004af4c3c3c050df80160c704318c62501b7283086ca3c2342cc9c8bb2ed406d5c582cb0f9d989c841c32 DIST rubygems-3.2.4.tgz 982062 BLAKE2B d74479b4798ccaf03a8940a6f76dc8f5fa28226ce29062b48e725ea47033a4f0a8d5e36df96aec97cff0b0a4eef8beb8ff14e6ac4df4596f170111e89c26841d SHA512 18f4cc79eb3ed5a48b760a6b7a1b4283d8ff7c929f712152eab6a7a389dcc9a969ec77891ee518c033546cef6584865beef4f8f33ea06172eea3ce4e172c1531 DIST rubygems-3.2.5.tgz 982720 BLAKE2B 027343c37a9be7bc3ef1f12a2851ed1605ed5c0a55e9c23c5f42ebf92f101e2693da725ccc749ec7f48c507eb57e39d3ca91201e5f447779e373ff70d8a5273a SHA512 a12dcad3d1698fea790a4669a3183fb81958c97c702988e1ddda1f33ab953517950a38e382b366c6ecaaed3d7954190339a87c8dab77c5285ce74a858da55a39 DIST rubygems-3.2.6.tgz 984320 BLAKE2B 846202460722a9212df0958fca9bc8df9e3b0fb9aec3fbd0887f166ee5d25226d5325918ada816b5b166544e654d501a8db80ca2d9d7f1de42decddfb39f13d6 SHA512 b9303994bc2ef8a4e66f14f745f8ae493ee2725737cea6caf557f8943ac165a4934c865542c7080bf2d7b0c0be441d4e818ee8d42fdd9ae4419540943ed695ec +DIST rubygems-3.2.7.tgz 985071 BLAKE2B f8075429c42a53b648ddd11128c91789b214f04f048261fbb071c0ee1250241a06c0dc2ab4e608f2282a0fc9690a35df371c02f5d7f0b6397a631e4a2af36b2e SHA512 b01c9d78ac172981650aa94e26d9b07fb97e63a2d1cfbcb55462d6333c45ce16635491dcfa95a177ead429f22a5ec450ab049a7024e14e20466f5f60cf4c53b7 EBUILD rubygems-2.7.10.ebuild 4512 BLAKE2B bce66fda261d27daa57b853de1b1605003c6557de15e3471ae9d426f16990da292e19cd48f0dc29bc09c2652adf521b93fa6a059dd1a6967fac692bde4d084d2 SHA512 9cf064646d60eee8037ffde0a059af6d408cfec13cde5715f8f172012e3f9c402a46139781f7e99c18a80d1fc9f81fd7519b3f7c19bbade22adf7c277b11b949 EBUILD rubygems-2.7.11.ebuild 4521 BLAKE2B 8b28842aed8ac1c6387fe52b2639b5afc42c70c9f2222d9567068f173140ffcc51534899e0e0d0ac132e6a1e395126838e0a7b82a17c8ff5c09829a2fc02a017 SHA512 e9dc2072951259dfe568eead50b32aa6bd28515e66926a18568f85d330b05d2d900399ac3a506254fbca9f4dea49064a5d517e4e4de9e7c60929477ffb953d42 EBUILD rubygems-3.0.3.ebuild 4646 BLAKE2B 42f400a5286dea3ff7aa5f3739f7d259ba56bb147d8fdcc5644ec583d0ea98fc7337bc3e9def844a293d09a8bb9745184822b09f7d7c6dc71ec0689e3bf44166 SHA512 4d86e443da752f2422437e9426cbdd32cf32db2ddc7bc36a20f382c4756c9251c96e79e581b93ba2764bece593c95a0c79b7a1063c2c202aec4afd58f0840752 @@ -24,9 +26,11 @@ EBUILD rubygems-3.0.8.ebuild 2643 BLAKE2B 4ba7b0541dd7032553cbd858c6095bd495bcc5 EBUILD rubygems-3.0.9.ebuild 2643 BLAKE2B 4ba7b0541dd7032553cbd858c6095bd495bcc5db6a3c345caa850105aa8e0542313ea364998c540287596ff9f8d1bbd393de1831eb8a4e16cccf527116fe4522 SHA512 a0e4ec4805705249a211ec3164845090ac35a21b9a4b7b1b3643905c0f03870ad72ab0db9bd0beb7506388a887e6d41100b45c38b2a17d65f0006b54f588529a EBUILD rubygems-3.1.4.ebuild 2847 BLAKE2B 661f1e1035c989668cb24642cab1cc444af53595b77ace9e9977a502316deb71b5f5d61521b4480390d8fed1066ca3d0ccd920b21c98251020d50645235ee1b0 SHA512 30aeb16df265eb4e627600071b5057d1e831fa2af1a005db6da2c741385bc6646f4eeea809c0c879f068b7d48b61642f3e4abd50812cf170dbc787fa5c1da328 EBUILD rubygems-3.1.5.ebuild 2847 BLAKE2B 661f1e1035c989668cb24642cab1cc444af53595b77ace9e9977a502316deb71b5f5d61521b4480390d8fed1066ca3d0ccd920b21c98251020d50645235ee1b0 SHA512 30aeb16df265eb4e627600071b5057d1e831fa2af1a005db6da2c741385bc6646f4eeea809c0c879f068b7d48b61642f3e4abd50812cf170dbc787fa5c1da328 +EBUILD rubygems-3.1.6.ebuild 2847 BLAKE2B 661f1e1035c989668cb24642cab1cc444af53595b77ace9e9977a502316deb71b5f5d61521b4480390d8fed1066ca3d0ccd920b21c98251020d50645235ee1b0 SHA512 30aeb16df265eb4e627600071b5057d1e831fa2af1a005db6da2c741385bc6646f4eeea809c0c879f068b7d48b61642f3e4abd50812cf170dbc787fa5c1da328 EBUILD rubygems-3.2.0.ebuild 2862 BLAKE2B 596b1e5deeabbc17e332a4bae8fbfaab3aa8b9b305ed7b35f832deb1ffcff7d75730f3f62de7d7f8fe71eb4e1e8e24e934263d6dea15337456589769193805d3 SHA512 134ed46a51cd42e8b1ffd9a24ec82ce3770696294242a772e034bf5cbc0085a346aeaf619582f802caac893a5e1a76cb7eb82776d09c82eab022323a4ce690de EBUILD rubygems-3.2.3.ebuild 2991 BLAKE2B edeeff882bab641104a4084de04be99c8452de8f003268501cacc9db5a414d2ccef08265d9dc6a3d6600dd0a4a7d71da2b8fd26e41ccaeafe1b135e8b70c2298 SHA512 bbfddc97de271cb9fb950d8fb28cda6ff183f91a2cde3af220781bb22b2aa5ab5111314aa96970f9f7d995451f54da4a6b0f892036ca28e38b30bc9665d73982 EBUILD rubygems-3.2.4.ebuild 2992 BLAKE2B 798fa78b7d11faa943e9ee03c6d1c832355e06774e3ff94f3e99c902719b865b0d19f74fe021b93de032dc72fe6e9667c2b83c64af70555b9ea1723f00011e2e SHA512 b70c68ecdb8a12bf49631b97fc5decc31a57b8de1fb1685f0dd9892ffdadc769cf4bad93b67678af106e5b2132ba18421d955c9302576c4b58e2324770e298b9 EBUILD rubygems-3.2.5.ebuild 2992 BLAKE2B 798fa78b7d11faa943e9ee03c6d1c832355e06774e3ff94f3e99c902719b865b0d19f74fe021b93de032dc72fe6e9667c2b83c64af70555b9ea1723f00011e2e SHA512 b70c68ecdb8a12bf49631b97fc5decc31a57b8de1fb1685f0dd9892ffdadc769cf4bad93b67678af106e5b2132ba18421d955c9302576c4b58e2324770e298b9 EBUILD rubygems-3.2.6.ebuild 2992 BLAKE2B 798fa78b7d11faa943e9ee03c6d1c832355e06774e3ff94f3e99c902719b865b0d19f74fe021b93de032dc72fe6e9667c2b83c64af70555b9ea1723f00011e2e SHA512 b70c68ecdb8a12bf49631b97fc5decc31a57b8de1fb1685f0dd9892ffdadc769cf4bad93b67678af106e5b2132ba18421d955c9302576c4b58e2324770e298b9 +EBUILD rubygems-3.2.7.ebuild 2992 BLAKE2B 798fa78b7d11faa943e9ee03c6d1c832355e06774e3ff94f3e99c902719b865b0d19f74fe021b93de032dc72fe6e9667c2b83c64af70555b9ea1723f00011e2e SHA512 b70c68ecdb8a12bf49631b97fc5decc31a57b8de1fb1685f0dd9892ffdadc769cf4bad93b67678af106e5b2132ba18421d955c9302576c4b58e2324770e298b9 MISC metadata.xml 335 BLAKE2B c86eaf3d37fad025b8f6ca0b03e65b1b472716b4fda4ca4d08b415b29a63405d8e7b2684d309091c90411c5fe809e5129c6e0c0c4e7a982b4aa062ffdd0ca7fb SHA512 fd7bf880ad68fe5f1fe8eb79f9662af87831ed499517d5a97e22f18a4ddafc69d53118f020e15c3b8b171fe144bf6cb0ce799beaa6e4e4bdc01c984ab582388e diff --git a/dev-ruby/rubygems/rubygems-3.1.6.ebuild b/dev-ruby/rubygems/rubygems-3.1.6.ebuild new file mode 100644 index 000000000000..9601cea1f6a7 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.1.6.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~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 + )" + +all_ruby_prepare() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-4.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 + # Avoid test that won't work as json is also installed as plain ruby code + sed -i -e '/test_realworld_default_gem/askip "gentoo"' test/rubygems/test_require.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 History.txt 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/rubygems/rubygems-3.2.7.ebuild b/dev-ruby/rubygems/rubygems-3.2.7.ebuild new file mode 100644 index 000000000000..7b3fb4d23fdc --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.2.7.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~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() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-4.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 + # Avoid test that won't work as json is also installed as plain ruby code + sed -i -e '/test_realworld_\(\|upgraded_\)default_gem/askip "gentoo"' test/rubygems/test_require.rb || die + + # Avoid test that requires additional utility scripts + rm -f test/test_changelog_generator.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 +} -- cgit v1.2.3