diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-18 00:01:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-18 00:01:42 +0100 |
commit | 075fd1f8cabc5879c6eb42127fb84c3058677fde (patch) | |
tree | 8b761e85416656264e041b1954427a58894b3333 /dev-ruby/faraday | |
parent | 6c9dc10e04cd513437e046ccca0e51a3d6d4dc7c (diff) |
gentoo auto-resync : 18:05:2024 - 00:01:41
Diffstat (limited to 'dev-ruby/faraday')
-rw-r--r-- | dev-ruby/faraday/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-1.10.3.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-1.4.3-r1.ebuild | 101 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-1.5.1.ebuild | 102 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-1.6.0.ebuild | 103 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-1.9.3.ebuild | 106 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-2.7.10.ebuild | 61 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-2.7.11.ebuild | 62 |
8 files changed, 2 insertions, 549 deletions
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest index 7755470a0460..4c17ca84ea5f 100644 --- a/dev-ruby/faraday/Manifest +++ b/dev-ruby/faraday/Manifest @@ -1,23 +1,11 @@ DIST faraday-1.10.3.tar.gz 835008 BLAKE2B 5b2cff7877cd1e73dc52830aed67988eb5ed33a5ea1378d995f9e48bb69b8d20163a9faa69d65c9c99fddaa79e80bacee04b15141859dd81678a374b592557d1 SHA512 58b288a4d44424075f447fea982618db76b47f30e9fad69e5300b757f819bcf3cd48502b35851d186e103839538be0e52b7c222076f1399c3491335c2fe5b2c8 DIST faraday-1.3.1.tar.gz 840638 BLAKE2B 284f7f612d3ab791a00ceab823be0246685fa38356bfeb6e01c12e81c7369c500719a6023dd929160ca598b41401b82cda0d8e9e363d0e7bdd91791742f8e68f SHA512 b89839e5d602911904ce009f52d011c124f84811e0676a3a524d22ea7084d99a971b6573dcde6d512bf933909cc461ef01cd82a8eeb9df581c56f17f31966b1b -DIST faraday-1.4.3.tar.gz 838150 BLAKE2B 324788f73e450d386655e805163ffd6299c6d11453a7b034f55b549d3d4edcf3d2936b732e1e13fe4c38286f09b8c1aec7aa5ca42e2c2d6bd2f841a7b412e822 SHA512 7a7c370715c912434fcca5bae11543d24ef0990d24a8ab069f1bebdb534b8d1a9bc90c9625574e34f0ad9c4543391b24ce134a103ddc40b152ebd65d958c5517 -DIST faraday-1.5.1.tar.gz 836117 BLAKE2B 1522aa2bea9652549ebd3442edf2b3cee253627ffbf1afe96313d76d147dda5203e336963ef427c63356e122fffd462fb287389baa6c473188924493aab5dda8 SHA512 f210f6841d4642e55b1d09cb5a21ef684d0c6ad0afb121f8a6af9eb42066d58bf49e22234adfaa06fc03efe0d61fe2d9150d4adc5fc90fa9d5145e19f2d35729 -DIST faraday-1.6.0.tar.gz 835517 BLAKE2B ab0c1002a44045571c1d517958200173d9e76d575386e1176cdcbd356f2f39bb067e96385ff8ccc7b776eb4c1260e4587b43b19e002e6cc9ddfecc7865d91117 SHA512 67d47d4548d35532cc93b74c736b64ce952af4084f5c6c5357fe719f27309f64db35d939f53f51da6283f2fc324600976d5b0aff8413147d958099d1d515f6e2 -DIST faraday-1.9.3.tar.gz 830654 BLAKE2B d032df2cd7018f3df3b4e6e2c06dd24f19e6a409d7fab10116f667812969ee0e5f67434f42ea0f9c68d66ae0f31cc5bca1ef347d0c7f941d21998a0be957ecaf SHA512 1d4efd600515b890c4c5e06e1fd9042eb67275fc2c43f0df70c717de32d99eb445cb595f8fa2bd081cfe8fecb84c7d2a23a6aa24f992ad1de4f703369a69928c -DIST faraday-2.7.10.tar.gz 833034 BLAKE2B dca3ef6a48aa4d14f1717344c5ec85b1e9caf7205eb7ae1be76a7a96bdee9fbef2d112c05f96f5625262d2783fc0e5e196343f67b371e480532c5e74f77b73eb SHA512 e1d2792f49df5679c16d3690a2475c56db9ae537bf53db4bb7cc256b41455d3db36d8d672eaf3f8a63fb2b04349d45dd4d32a2c194606fd795de51b1f79ead85 -DIST faraday-2.7.11.tar.gz 1029832 BLAKE2B fd5cc5a9fa0d8c40893600a89f71d906a9de0b800c9723d64e8dad5dac1bff4ec61ba2714347b38beeadafb42a29ed6fb217344ffdb122e137607ff140b6aed7 SHA512 eafbc0c88a94f03bfe659b10a86050d07e79c6c2fc81c16af9e2aad68bc5482748a4a41a0a7828b272a9e034cb77dab06e0a9a0e136a56c72b72ed97e5bad50c DIST faraday-2.7.12.tar.gz 1029923 BLAKE2B 267880c4d35284c1eb2f894e9c2803662cf5a901417b5a8c6934b8cef3fe842924d945b64b6617dcd017cbfdc3c9be19271c7c295e2c39518215aba3ab8304bb SHA512 e35aaa7096a77a3dc76aa0a2c262d6e83d894564474dd5b1414488615e54096e96fefa245d65804afa71fc22ef55748c18a32213ba6eaedb431246d5f8d382a1 DIST faraday-2.8.0.tar.gz 1030670 BLAKE2B b0dc09bb4b760e1e194276709f6d2fdc391af0422f2eeba1f07e8824bb02346dcbd05dd701cb5bfbdebd32ae77bb75914955061b43e85f5e47843b11d40e3b2b SHA512 14aa19b24996140467e74abf35129d60781eefaf97fcc3eea7f83f9dd8db17318fbc57d263e1564f94cd9cd1a03129cef210b50190491e4e094092196c72aa67 DIST faraday-2.8.1.tar.gz 1030720 BLAKE2B c52733fa00143882d43bf7e48dc6fd79621aad9b096f01eb0cc05bb0808bffff0c01282d3823d3b105554d953dc003d86f85c7ef9505a733214a4569764b45a6 SHA512 b2af1dbfcefb92969ae45138401c8cc9a8a1b10ca2bd93dc6aad66337aefbad4cf5700949fb821b93bdba46ec5c7c61b83dcc934b5797a5516c53aab50a287cb DIST faraday-2.9.0.tar.gz 1030759 BLAKE2B 450ca700ccf624115aaa6c5ffc873e926884ff27a520aecd890f7156f20f829a802cece461327205930dfc53d06fd837adb1bb989e9603f369f61606640acddf SHA512 f534cd0903bc5ee83a355b09c886dfdf593b842fc85863877c9e0217ba797b027acce6d36674579053ac24e180d71afe4d879cb52cadd1da803b609f2da407c3 -EBUILD faraday-1.10.3.ebuild 3583 BLAKE2B aefea354329079a0b37f21f7df53f3a2e2b4a791e389535f53bc39eee0aa672bf64964f7b692d8d3ce84c78d707f20f511ffb0ded428c7cbbce80003863543ba SHA512 086e5b9cc3c182d05c55d0b087de09906ef1e5caa00f74b253b31938e74147cf4d81880f6a0630e40a167d117fab6bdbf7b281d1cc3f452ed73300a5750a7ae6 +EBUILD faraday-1.10.3.ebuild 3582 BLAKE2B 2933da54571fa46d5e2ed87b51d1ff340b5d9a54c12a1b68e333d8a7e380539ccdb0b31884fd77c3b3476ef4086d024257aee8dc26556bacbedc85ddc73d2184 SHA512 2272070a510a50aa9ec35f2667b7fbbd2e5d3deadcfe4905a92265312935b861760527cae02d16e35fb8dcd39052042b863634d2bdd51168283f046c0109f078 EBUILD faraday-1.3.1.ebuild 2439 BLAKE2B e41538c7de42c191107c94bca876198576c6fd1a7c43af9bdb23cb7e2cf7b71d799d92ad33f786736b65a4f5ba7c88bd66021c2f70254259998819aed1b3ba45 SHA512 8af16340781f5627079e7861ff4fa38d5cc55b42d3ef73e65f1e4698322632d4e55df60745d3cddea64b5659a0460816059bb834ae58f7b13ad48df715b73e8a -EBUILD faraday-1.4.3-r1.ebuild 3144 BLAKE2B 66e0eded86553994b3f4a05037b52ae5397af883dafaf82025ebc72bdc0d786068e3a151b76526d67972c0870eec80d22951ab2f067c0bcdbbd4f2e9789ba10b SHA512 3e40b08029d3f67e850ba4c80bee7c01c68b9112f8aa38d021fe6192537519bad7cfbb503dd97a1d40bf109019a9daeb8978202856bdfccbefcf01f3f129bdc6 -EBUILD faraday-1.5.1.ebuild 3176 BLAKE2B eae9cd559e40af58dafe6e1da4f7fc0db8a3f59351c94b0fe940d6070a690b7889a97d65d4104de28aca5bb89fdefd80ef5bdcba3b00a3c7a609e182b502c981 SHA512 4597dd0314def80ad3d809a53160bfe56913563166e5b3841ff47ddaf44017ca1159d8069ef873baa7e988a029cc1a172cfff135db7e91aa2596c69c48d70b90 -EBUILD faraday-1.6.0.ebuild 3209 BLAKE2B 99980ad67388ecc92f3f2a8b6373b0e3ef27fc90bf9a4f85659994b2ecbd62a3d5cece94c239c80c1ecc942b26d774c117aff2aa8b24addcd60619da4b6abeef SHA512 8886c6827a3e0cdf9816a710f16046822d410282e93912f53db20d01a550101a87558010af66fccfb175178b74be98f6965d191a49ad5c9f9a57c355d8aa6517 -EBUILD faraday-1.9.3.ebuild 3283 BLAKE2B 248e1a9eed892cb0858c92962daf954dbb3b46c0f4459f09243cbfc3a55ff685688ac82cd6dfbf7ab70eef62ab1b640e432df1d4ef9514a6575ba65e3d7d3534 SHA512 65711fa587fe4d8c76db2315154954fbe8f148d67f9063f144e995dd545f83e11b17b98e5b2a61282fd6930bd541a3dccf64a7542735b0956f4ff0c899c132ab -EBUILD faraday-2.7.10.ebuild 1526 BLAKE2B 6c6cea52e6dfdadb2071dcb32b3259d3d0fbecf2ac350b5730610b742662e74154b7c388fdf116c617f1068a6f29a1ae15adcb777f8a02a908d0452717a11e29 SHA512 7945a49dc179a42102f29d3be5e714a6bcbe18f0f94d943895aab2363a6abfc1e5b3a95465528082804d7522f8a0fb16156b45d9619167c8542be24bdfee5f6c -EBUILD faraday-2.7.11.ebuild 1537 BLAKE2B a1b0065e58330c1238a64351d97c46adefe7cd30b82da6569c0c6b2b0fe410cc75a8a201390a6307c76108de323669f7580104537f409d7caa9dd33e7d7a4941 SHA512 061b30ca8fe0741e0fafef99337a78a903300c4a3b7fb494d350e01379b203cab2b1da4ab372aeb1b56bb812e30945aec33176067f53b096f82030b458566c60 EBUILD faraday-2.7.12.ebuild 1536 BLAKE2B 8491e7255c1121f0b93d748edbc65ccf39db0e083f578b6af31a9dd4967b9edc466d2b31665d37e3ba128f6b3614a20be73193e42f7dc7e88f05c9b04aba7b78 SHA512 48670519b37a047bfdf6cc15a0baf9745a7959de577d780ba1709c2e3d90d0c235583b20e16f0a27ba695027ea2f12a02f17168ca584d293c447c6f0f7a464cd EBUILD faraday-2.8.0.ebuild 1537 BLAKE2B a1b0065e58330c1238a64351d97c46adefe7cd30b82da6569c0c6b2b0fe410cc75a8a201390a6307c76108de323669f7580104537f409d7caa9dd33e7d7a4941 SHA512 061b30ca8fe0741e0fafef99337a78a903300c4a3b7fb494d350e01379b203cab2b1da4ab372aeb1b56bb812e30945aec33176067f53b096f82030b458566c60 EBUILD faraday-2.8.1.ebuild 1537 BLAKE2B a1b0065e58330c1238a64351d97c46adefe7cd30b82da6569c0c6b2b0fe410cc75a8a201390a6307c76108de323669f7580104537f409d7caa9dd33e7d7a4941 SHA512 061b30ca8fe0741e0fafef99337a78a903300c4a3b7fb494d350e01379b203cab2b1da4ab372aeb1b56bb812e30945aec33176067f53b096f82030b458566c60 diff --git a/dev-ruby/faraday/faraday-1.10.3.ebuild b/dev-ruby/faraday/faraday-1.10.3.ebuild index d4d70fb624d6..4c691621edb1 100644 --- a/dev-ruby/faraday/faraday-1.10.3.ebuild +++ b/dev-ruby/faraday/faraday-1.10.3.ebuild @@ -21,7 +21,7 @@ SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="MIT" SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86" DEPEND+=" test? ( sys-process/lsof )" diff --git a/dev-ruby/faraday/faraday-1.4.3-r1.ebuild b/dev-ruby/faraday/faraday-1.4.3-r1.ebuild deleted file mode 100644 index 27ea533aa079..000000000000 --- a/dev-ruby/faraday/faraday-1.4.3-r1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_RECIPE_DOC="none" - -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_EXTRAINSTALL="spec" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="HTTP/REST API client library with pluggable components" -HOMEPAGE="https://github.com/lostisland/faraday" -SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" - -DEPEND+=" test? ( sys-process/lsof )" - -ruby_add_rdepend " - dev-ruby/faraday-net_http_persistent:1 - dev-ruby/faraday-net_http:1 - >=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3 - dev-ruby/ruby2_keywords -" -ruby_add_bdepend "test? ( - >=dev-ruby/test-unit-2.4 - >=dev-ruby/connection_pool-2.2.2 - >=dev-ruby/patron-0.4.2 - dev-ruby/rack - >=dev-ruby/rack-test-0.6 - dev-ruby/webmock - )" - -all_ruby_prepare() { - # Remove bundler support. - rm Gemfile || die - sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die - sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die - # Avoid loading all lib files since some of them require unpackaged dependencies. - sed -e '/[Cc]overall/ s:^:#:' \ - -e '/lib\/\*\*/ s:^:#:' \ - -e '/simplecov/ s:^:#:' \ - -e '/SimpleCov/,/end/ s:^:#:' \ - -e '/pry/ s:^:#:' \ - -e '3igem "faraday-net_http", "~> 1.0"; gem "faraday-net_http_persistent", "~> 1.0"' \ - -i spec/spec_helper.rb || die - - sed -e '/git ls-files/ s:^:#:' \ - -e "s:_relative ': './:" \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid multipart tests that require an unpackaged dependency - # that appears to be no longer maintained. - rm -f spec/faraday/request/multipart_spec.rb || die - sed -e '/multipart_parser/ s:^:#:' \ - -i spec/support/helper_methods.rb || die - - # Remove specs for unpackaged adapters - rm -f spec/faraday/adapter/{em_http,em_synchrony,excon,httpclient}_spec.rb || die - - # Remove unpackaged adapters. These packages where part of earlier - # faraday versions but since we do not package their dependencies - # they never worked on a pure Gentoo install. We are taking this - # approach so we can add ruby32 compatibility to faraday:1 for - # those adapters that we do support. - sed -e '/require.*\(em_http\|em_synchrony\|excon\)/ s:^:#:' \ - -i lib/faraday.rb || die - sed -e '/\(em_http\|em_synchrony\|excon\)/ s:^:#:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Make this adapter optional since it comes with a long list of - # dependencies. - if ! has_version "dev-ruby/typhoeus:1" ; then - rm -f spec/faraday/adapter/typhoeus_spec.rb || die - fi - - # Avoid a spec that gets tripped up by recent rack encoding changes. - sed -e '/encodes rack compat/ s/it/xit/' -i spec/faraday/params_encoders/nested_spec.rb || die -} - -each_ruby_prepare() { - # Make sure the test scripts use the right ruby interpreter - sed -i -e 's:ruby:'${RUBY}':' script/* || die -} - -each_ruby_test() { - MT_NO_PLUGINS=true each_fakegem_test - - # Sleep some time to allow the sinatra test server to die - einfo "Waiting for test server to stop" - sleep 10 -} diff --git a/dev-ruby/faraday/faraday-1.5.1.ebuild b/dev-ruby/faraday/faraday-1.5.1.ebuild deleted file mode 100644 index d701aa7ece71..000000000000 --- a/dev-ruby/faraday/faraday-1.5.1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_RECIPE_DOC="none" - -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_EXTRAINSTALL="spec" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="HTTP/REST API client library with pluggable components" -HOMEPAGE="https://github.com/lostisland/faraday" -SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" - -DEPEND+=" test? ( sys-process/lsof )" - -ruby_add_rdepend " - dev-ruby/faraday-httpclient:1 - dev-ruby/faraday-net_http_persistent:1 - dev-ruby/faraday-net_http:1 - dev-ruby/faraday-patron:1 - >=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3 - dev-ruby/ruby2_keywords -" -ruby_add_bdepend "test? ( - >=dev-ruby/test-unit-2.4 - >=dev-ruby/connection_pool-2.2.2 - dev-ruby/rack - >=dev-ruby/rack-test-0.6 - dev-ruby/webmock - )" - -all_ruby_prepare() { - # Remove bundler support. - rm Gemfile || die - sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die - sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die - # Avoid loading all lib files since some of them require unpackaged dependencies. - sed -e '/[Cc]overall/ s:^:#:' \ - -e '/lib\/\*\*/ s:^:#:' \ - -e '/simplecov/ s:^:#:' \ - -e '/SimpleCov/,/end/ s:^:#:' \ - -e '/pry/ s:^:#:' \ - -e '3igem "faraday-net_http", "~> 1.0"; gem "faraday-net_http_persistent", "~> 1.0"' \ - -i spec/spec_helper.rb || die - - sed -e '/git ls-files/ s:^:#:' \ - -e "s:_relative ': './:" \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid multipart tests that require an unpackaged dependency - # that appears to be no longer maintained. - rm -f spec/faraday/request/multipart_spec.rb || die - sed -e '/multipart_parser/ s:^:#:' \ - -i spec/support/helper_methods.rb || die - - # Remove specs for unpackaged adapters - rm -f spec/faraday/adapter/{em_http,em_synchrony,excon,httpclient}_spec.rb || die - - # Remove unpackaged adapters. These packages where part of earlier - # faraday versions but since we do not package their dependencies - # they never worked on a pure Gentoo install. We are taking this - # approach so we can add ruby32 compatibility to faraday:1 for - # those adapters that we do support. - sed -e '/require.*\(em_http\|em_synchrony\|excon\)/ s:^:#:' \ - -i lib/faraday.rb || die - sed -e '/\(em_http\|em_synchrony\|excon\)/ s:^:#:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Make this adapter optional since it comes with a long list of - # dependencies. - if ! has_version "dev-ruby/typhoeus:1" ; then - rm -f spec/faraday/adapter/typhoeus_spec.rb || die - fi - - # Avoid a spec that gets tripped up by recent rack encoding changes. - sed -e '/encodes rack compat/ s/it/xit/' -i spec/faraday/params_encoders/nested_spec.rb || die -} - -each_ruby_prepare() { - # Make sure the test scripts use the right ruby interpreter - sed -i -e 's:ruby:'${RUBY}':' script/* || die -} - -each_ruby_test() { - MT_NO_PLUGINS=true each_fakegem_test - - # Sleep some time to allow the sinatra test server to die - einfo "Waiting for test server to stop" - sleep 10 -} diff --git a/dev-ruby/faraday/faraday-1.6.0.ebuild b/dev-ruby/faraday/faraday-1.6.0.ebuild deleted file mode 100644 index c8587b35631c..000000000000 --- a/dev-ruby/faraday/faraday-1.6.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_RECIPE_DOC="none" - -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_EXTRAINSTALL="spec" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="HTTP/REST API client library with pluggable components" -HOMEPAGE="https://github.com/lostisland/faraday" -SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" - -DEPEND+=" test? ( sys-process/lsof )" - -ruby_add_rdepend " - dev-ruby/faraday-httpclient:1 - dev-ruby/faraday-net_http_persistent:1 - dev-ruby/faraday-net_http:1 - dev-ruby/faraday-patron:1 - dev-ruby/faraday-rack:1 - >=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3 - >=dev-ruby/ruby2_keywords-0.0.4 -" -ruby_add_bdepend "test? ( - >=dev-ruby/test-unit-2.4 - >=dev-ruby/connection_pool-2.2.2 - dev-ruby/rack - >=dev-ruby/rack-test-0.6 - dev-ruby/webmock - )" - -all_ruby_prepare() { - # Remove bundler support. - rm Gemfile || die - sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die - sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die - # Avoid loading all lib files since some of them require unpackaged dependencies. - sed -e '/[Cc]overall/ s:^:#:' \ - -e '/lib\/\*\*/ s:^:#:' \ - -e '/simplecov/ s:^:#:' \ - -e '/SimpleCov/,/end/ s:^:#:' \ - -e '/pry/ s:^:#:' \ - -e '3igem "faraday-net_http", "~> 1.0"; gem "faraday-net_http_persistent", "~> 1.0"' \ - -i spec/spec_helper.rb || die - - sed -e '/git ls-files/ s:^:#:' \ - -e "s:_relative ': './:" \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid multipart tests that require an unpackaged dependency - # that appears to be no longer maintained. - rm -f spec/faraday/request/multipart_spec.rb || die - sed -e '/multipart_parser/ s:^:#:' \ - -i spec/support/helper_methods.rb || die - - # Remove specs for unpackaged adapters - rm -f spec/faraday/adapter/{em_http,em_synchrony,excon,httpclient}_spec.rb || die - - # Remove unpackaged adapters. These packages where part of earlier - # faraday versions but since we do not package their dependencies - # they never worked on a pure Gentoo install. We are taking this - # approach so we can add ruby32 compatibility to faraday:1 for - # those adapters that we do support. - sed -e '/require.*\(em_http\|em_synchrony\|excon\)/ s:^:#:' \ - -i lib/faraday.rb || die - sed -e '/\(em_http\|em_synchrony\|excon\)/ s:^:#:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Make this adapter optional since it comes with a long list of - # dependencies. - if ! has_version "dev-ruby/typhoeus:1" ; then - rm -f spec/faraday/adapter/typhoeus_spec.rb || die - fi - - # Avoid a spec that gets tripped up by recent rack encoding changes. - sed -e '/encodes rack compat/ s/it/xit/' -i spec/faraday/params_encoders/nested_spec.rb || die -} - -each_ruby_prepare() { - # Make sure the test scripts use the right ruby interpreter - sed -i -e 's:ruby:'${RUBY}':' script/* || die -} - -each_ruby_test() { - MT_NO_PLUGINS=true each_fakegem_test - - # Sleep some time to allow the sinatra test server to die - einfo "Waiting for test server to stop" - sleep 10 -} diff --git a/dev-ruby/faraday/faraday-1.9.3.ebuild b/dev-ruby/faraday/faraday-1.9.3.ebuild deleted file mode 100644 index a6b02c760bc9..000000000000 --- a/dev-ruby/faraday/faraday-1.9.3.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_RECIPE_DOC="none" - -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_EXTRAINSTALL="spec" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="HTTP/REST API client library with pluggable components" -HOMEPAGE="https://github.com/lostisland/faraday" -SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" - -DEPEND+=" test? ( sys-process/lsof )" - -ruby_add_rdepend " - dev-ruby/faraday-httpclient:1 - dev-ruby/faraday-multipart:1 - dev-ruby/faraday-net_http_persistent:1 - dev-ruby/faraday-net_http:1 - dev-ruby/faraday-patron:1 - dev-ruby/faraday-rack:1 - dev-ruby/faraday-retry:1 - >=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3 - >=dev-ruby/ruby2_keywords-0.0.4 -" -ruby_add_bdepend "test? ( - >=dev-ruby/test-unit-2.4 - >=dev-ruby/connection_pool-2.2.2 - dev-ruby/patron - dev-ruby/rack - >=dev-ruby/rack-test-0.6 - dev-ruby/webmock - )" - -all_ruby_prepare() { - # Remove bundler support. - rm Gemfile || die - sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die - sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die - # Avoid loading all lib files since some of them require unpackaged dependencies. - sed -e '/[Cc]overall/ s:^:#:' \ - -e '/lib\/\*\*/ s:^:#:' \ - -e '/simplecov/ s:^:#:' \ - -e '/SimpleCov/,/end/ s:^:#:' \ - -e '/pry/ s:^:#:' \ - -e '3igem "faraday-net_http", "~> 1.0"; gem "faraday-net_http_persistent", "~> 1.0"' \ - -i spec/spec_helper.rb || die - - sed -e '/git ls-files/ s:^:#:' \ - -e "s:_relative ': './:" \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid multipart tests that require an unpackaged dependency - # that appears to be no longer maintained. - rm -f spec/faraday/request/multipart_spec.rb || die - sed -e '/multipart_parser/ s:^:#:' \ - -i spec/support/helper_methods.rb || die - - # Remove specs for unpackaged adapters - rm -f spec/faraday/adapter/{em_http,em_synchrony,excon,httpclient}_spec.rb || die - - # Remove unpackaged adapters. These packages where part of earlier - # faraday versions but since we do not package their dependencies - # they never worked on a pure Gentoo install. We are taking this - # approach so we can add ruby32 compatibility to faraday:1 for - # those adapters that we do support. - sed -e '/require.*\(em_http\|em_synchrony\|excon\)/ s:^:#:' \ - -i lib/faraday.rb || die - sed -e '/\(em_http\|em_synchrony\|excon\)/ s:^:#:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Make this adapter optional since it comes with a long list of - # dependencies. - if ! has_version "dev-ruby/typhoeus:1" ; then - rm -f spec/faraday/adapter/typhoeus_spec.rb || die - fi - - # Avoid a spec that gets tripped up by recent rack encoding changes. - sed -e '/encodes rack compat/ s/it/xit/' -i spec/faraday/params_encoders/nested_spec.rb || die -} - -each_ruby_prepare() { - # Make sure the test scripts use the right ruby interpreter - sed -i -e 's:ruby:'${RUBY}':' script/* || die -} - -each_ruby_test() { - MT_NO_PLUGINS=true each_fakegem_test - - # Sleep some time to allow the sinatra test server to die - einfo "Waiting for test server to stop" - sleep 10 -} diff --git a/dev-ruby/faraday/faraday-2.7.10.ebuild b/dev-ruby/faraday/faraday-2.7.10.ebuild deleted file mode 100644 index 3b3e7542cba1..000000000000 --- a/dev-ruby/faraday/faraday-2.7.10.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_RECIPE_DOC="none" - -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_EXTRAINSTALL="spec" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="HTTP/REST API client library with pluggable components" -HOMEPAGE="https://github.com/lostisland/faraday" -SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86" -IUSE="" - -DEPEND+=" test? ( sys-process/lsof )" - -ruby_add_rdepend " - || ( =dev-ruby/faraday-net_http-3.0* dev-ruby/faraday-net_http:2 ) - >=dev-ruby/ruby2_keywords-0.0.4 -" -ruby_add_bdepend "test? ( - >=dev-ruby/test-unit-2.4 - >=dev-ruby/connection_pool-2.2.2 - dev-ruby/rack:2.2 - dev-ruby/webmock - )" - -all_ruby_prepare() { - # Remove bundler support. - rm Gemfile || die - sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die - # Avoid loading all lib files since some of them require unpackaged dependencies. - sed -e '/[Cc]overall/ s:^:#:' \ - -e '/lib\/\*\*/ s:^:#:' \ - -e '/simplecov/ s:^:#:' \ - -e '/SimpleCov/,/end/ s:^:#:' \ - -e '/pry/ s:^:#:' \ - -e '3igem "rack", "~> 2.2"' \ - -i spec/spec_helper.rb || die - - sed -e '/git ls-files/ s:^:#:' \ - -e "s:_relative ': './:" \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - MT_NO_PLUGINS=true each_fakegem_test -} diff --git a/dev-ruby/faraday/faraday-2.7.11.ebuild b/dev-ruby/faraday/faraday-2.7.11.ebuild deleted file mode 100644 index a1d63144ce57..000000000000 --- a/dev-ruby/faraday/faraday-2.7.11.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_RECIPE_DOC="none" - -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_EXTRAINSTALL="spec" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="HTTP/REST API client library with pluggable components" -HOMEPAGE="https://github.com/lostisland/faraday" -SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" -IUSE="" - -DEPEND+=" test? ( sys-process/lsof )" - -ruby_add_rdepend " - dev-ruby/base64 - || ( =dev-ruby/faraday-net_http-3.0* dev-ruby/faraday-net_http:2 ) - >=dev-ruby/ruby2_keywords-0.0.4 -" -ruby_add_bdepend "test? ( - >=dev-ruby/test-unit-2.4 - >=dev-ruby/connection_pool-2.2.2 - dev-ruby/rack:2.2 - dev-ruby/webmock - )" - -all_ruby_prepare() { - # Remove bundler support. - rm Gemfile || die - sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die - # Avoid loading all lib files since some of them require unpackaged dependencies. - sed -e '/[Cc]overall/ s:^:#:' \ - -e '/lib\/\*\*/ s:^:#:' \ - -e '/simplecov/ s:^:#:' \ - -e '/SimpleCov/,/end/ s:^:#:' \ - -e '/pry/ s:^:#:' \ - -e '3igem "rack", "~> 2.2"' \ - -i spec/spec_helper.rb || die - - sed -e '/git ls-files/ s:^:#:' \ - -e "s:_relative ': './:" \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - MT_NO_PLUGINS=true each_fakegem_test -} |