diff options
Diffstat (limited to 'dev-ruby')
| -rw-r--r-- | dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-ruby/http-parser/http-parser-1.2.3.ebuild | 2 | ||||
| -rw-r--r-- | dev-ruby/http/http-4.4.1.ebuild | 4 | ||||
| -rw-r--r-- | dev-ruby/puppetdb-termini/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/puppetdb-termini/puppetdb-termini-6.12.0.ebuild | 28 | ||||
| -rw-r--r-- | dev-ruby/puppetdb-termini/puppetdb-termini-7.0.1.ebuild | 4 | ||||
| -rw-r--r-- | dev-ruby/sshkit/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/sshkit/sshkit-1.21.2.ebuild | 41 | ||||
| -rw-r--r-- | dev-ruby/webmock/Manifest | 2 | ||||
| -rw-r--r-- | dev-ruby/webmock/webmock-3.8.1.ebuild | 61 | ||||
| -rw-r--r-- | dev-ruby/webmock/webmock-3.8.2.ebuild | 61 |
11 files changed, 48 insertions, 159 deletions
diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild index 6a0a25889c58..6a2ac5d40c80 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/ffi/ffi/wiki" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~hppa ~sparc" +KEYWORDS="~amd64 ~arm ~hppa ~sparc" IUSE="" ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0" diff --git a/dev-ruby/http-parser/http-parser-1.2.3.ebuild b/dev-ruby/http-parser/http-parser-1.2.3.ebuild index e3227ecbebf8..24bab3203d7a 100644 --- a/dev-ruby/http-parser/http-parser-1.2.3.ebuild +++ b/dev-ruby/http-parser/http-parser-1.2.3.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/cotag/http-parser" LICENSE="MIT" SLOT="$(ver_cut 1)" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm" IUSE="" DEPEND+=" >=net-libs/http-parser-2.8.1" diff --git a/dev-ruby/http/http-4.4.1.ebuild b/dev-ruby/http/http-4.4.1.ebuild index 1b3a4d077041..b0471b97c35c 100644 --- a/dev-ruby/http/http-4.4.1.ebuild +++ b/dev-ruby/http/http-4.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/tarcieri/http" LICENSE="MIT" SLOT="4" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm" IUSE="" ruby_add_rdepend " diff --git a/dev-ruby/puppetdb-termini/Manifest b/dev-ruby/puppetdb-termini/Manifest index 6938e72acf6c..3f2cfb24ffa5 100644 --- a/dev-ruby/puppetdb-termini/Manifest +++ b/dev-ruby/puppetdb-termini/Manifest @@ -1,3 +1,2 @@ -DIST puppetdb-termini_6.12.0-1stretch_all.deb 21290 BLAKE2B 11bc0a316517190162e7e4e5a2ce05bc880ef8412bfcf5fb66ec68545bd7779e217d5d5e75ab79f24fc6b2f68e1a962262704efb8833fdce84288d060245b898 SHA512 a742825e9f9bacf5726814474b7812393d1a51c50fd710d771c10a9e23c874a465c6859fc17485b66a2c4114ac170f2f25c5ce1be6684ff18f5da31dc9ef0744 DIST puppetdb-termini_6.13.0-1stretch_all.deb 21296 BLAKE2B 6ef6f82047f293b854e1b0d6db2933e18bc922225d1bb7fe4a3d03d2dbe5da00cdb68e7e3ac35097f466ee21de5a7ed584606684a52c088a9e31abe9fe11d7cf SHA512 bbcf8d2ed996925ead0add6899b266ca9308b01cc12d0dfa6f61956e801a092abf5a01ae4647bf96778f9fe0fa95e17bfae0a3b30576346093651141c1982ebf DIST puppetdb-termini_7.0.1-1stretch_all.deb 21154 BLAKE2B 6b64de09d6b6c76395f79acda6322c4221cf58efb03442faee697736faa3fbfc0d3e4e0c0f318a3374a5b6b6844312a469656d3e31a5534f484c568d9d5e7fe1 SHA512 29b0e380d3e62bb714838c7e4dac0e296c69297bd4e4a4097ba006f846eb4166051d0c76195afb0a661e6e34726acbcc858e7897128f1bbe14b99a4ea44a9ff3 diff --git a/dev-ruby/puppetdb-termini/puppetdb-termini-6.12.0.ebuild b/dev-ruby/puppetdb-termini/puppetdb-termini-6.12.0.ebuild deleted file mode 100644 index 1e0834e4f20e..000000000000 --- a/dev-ruby/puppetdb-termini/puppetdb-termini-6.12.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -inherit unpacker - -DESCRIPTION="Library needed to connect puppet to puppetdb" -HOMEPAGE="https://docs.puppetlabs.com/puppetdb/" -SRC_URI="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch_all.deb" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" -# will need the same keywords as puppet -KEYWORDS="amd64 ~ppc x86" - -RDEPEND+="" -DEPEND+="" - -S=${WORKDIR} - -src_install() { - insinto opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/ - doins -r opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/* -} diff --git a/dev-ruby/puppetdb-termini/puppetdb-termini-7.0.1.ebuild b/dev-ruby/puppetdb-termini/puppetdb-termini-7.0.1.ebuild index f21347cfa755..0c0c07660e9e 100644 --- a/dev-ruby/puppetdb-termini/puppetdb-termini-7.0.1.ebuild +++ b/dev-ruby/puppetdb-termini/puppetdb-termini-7.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="" # will need the same keywords as puppet -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ~ppc x86" RDEPEND+="" DEPEND+="" diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest index df9fbf7eb227..0a0ae063367c 100644 --- a/dev-ruby/sshkit/Manifest +++ b/dev-ruby/sshkit/Manifest @@ -1,2 +1,3 @@ DIST sshkit-1.21.0.gem 144384 BLAKE2B f4f77d9cf00db4bc0ab6ac092dc859af31fd50976fc9425c0e5ba1b5c1607bd9b50fff44f65f0207b9d9d604c5ace153ba05ec062fb064c44673572769416a22 SHA512 981fdaa19d633e92d4e3ef5fc9255a89d992813c400af4a468e6cf12ca52cbe612b771a87afe6392c4098d07b42162d5981025b8b214aafa197a68222b5e234e DIST sshkit-1.21.1.gem 144384 BLAKE2B 961a3646b4401b1e4548b484143f12a9bc21644f710e19539c5831bbdb2f8a70449992c23858d31ce965a2139343d6e33eaa09650a753813191d655d0e73f83b SHA512 794ff492b737190470acdf8238ae4203ce1e66916ee2caba110eee7c92026897f89ee25d30971f9244359c51cc449f954ecabfd2f6a90b068cedf5ed253f8ba2 +DIST sshkit-1.21.2.gem 144896 BLAKE2B ea72b1d0df7252f9c4ffe010721a957b5a86cc43697acf4dfd065a74cca5317deeb15692449d573a2e5590ef3a23ee666196b7b661d6986a2f270d16e2dc8d89 SHA512 37515726b67ae0e2ac9dff42cf7b71a32832ebe144aa192332780e4d9aead1a9e4c3cf7f6f0b994804175a5befd896b32908a82ba2e4f4a1d4e4b0f5bf01c3b3 diff --git a/dev-ruby/sshkit/sshkit-1.21.2.ebuild b/dev-ruby/sshkit/sshkit-1.21.2.ebuild new file mode 100644 index 000000000000..37bf47f7d5d8 --- /dev/null +++ b/dev-ruby/sshkit/sshkit-1.21.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +# There are functional tests that require vagrant boxes to be set up. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="SSHKit makes it easy to write structured, testable SSH commands in Ruby" +HOMEPAGE="https://github.com/capistrano/sshkit" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/net-ssh-2.8.0:* + >=dev-ruby/net-scp-1.1.2 +" + +ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die + sed -i -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \ + -e '1irequire "set"; require "pathname"' test/helper.rb || die + + # Fix assumption about parent directory name + sed -i -e '/assert_match/ s/sshkit/sshkit.*/' test/unit/test_deprecation_logger.rb || die +} + +each_ruby_test() { + # Run tests directly to avoid dependencies in the Rakefile + ${RUBY} -Ilib:test:. -e "Dir['test/unit/**/test*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest index a93538b330c4..820b5133358a 100644 --- a/dev-ruby/webmock/Manifest +++ b/dev-ruby/webmock/Manifest @@ -1,5 +1,3 @@ DIST webmock-3.11.0.gem 125440 BLAKE2B 8c57ca5b49922a61590595cdeeb5d3306edb3be616fd8e5c68617838831537f2106664201580f645de58322f11e684dfc8404d91139eaead5810c0cb40d5dc1f SHA512 dda7318d32dd88dcd4bc1fee9d1f4644f272348b532cbb59afde2e6a1fc42f359125b28d605ff1a18edac4ed71c00aceb1c67a364c15cfa56092e226588b449c DIST webmock-3.7.6.gem 122368 BLAKE2B 9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9 SHA512 85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd -DIST webmock-3.8.1.gem 122368 BLAKE2B ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2 SHA512 b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c -DIST webmock-3.8.2.gem 122880 BLAKE2B 0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701 SHA512 ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4 DIST webmock-3.8.3.gem 122880 BLAKE2B 66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304 SHA512 6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507 diff --git a/dev-ruby/webmock/webmock-3.8.1.ebuild b/dev-ruby/webmock/webmock-3.8.1.ebuild deleted file mode 100644 index 7b97e611140d..000000000000 --- a/dev-ruby/webmock/webmock-3.8.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -inherit ruby-fakegem - -DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" -HOMEPAGE="https://github.com/bblimke/webmock" - -LICENSE="GPL-2" -SLOT="3" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 >=dev-ruby/hashdiff-0.4.0:0" - -ruby_add_bdepend "test? ( - dev-ruby/minitest:5 - dev-ruby/rspec:3 - >=dev-ruby/test-unit-3.0.0 - dev-ruby/rack - >=dev-ruby/httpclient-2.8.0 - || ( dev-ruby/http:4 dev-ruby/http:3 ) )" - -all_ruby_prepare() { - # Remove bundler support - rm Gemfile || die - sed -i -e '/[Bb]undler/d' Rakefile || die - sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die - sed -i -e '1igem "test-unit"' test/test_helper.rb || die - - # There is now optional support for curb and typhoeus which we don't - # have in Gentoo yet. em_http_request is available in Gentoo but its - # version is too old. patron's latest version is not compatible. - sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb || die - rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/* || die - - # Avoid httpclient specs that require network access, most likely - # because mocking does not fully work. - sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ - -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ - spec/acceptance/httpclient/httpclient_spec.rb - - # Avoid specs that require network access - sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb -} - -each_ruby_test() { - ${RUBY} -S rake test NO_CONNECTION=true || die - ${RUBY} -S rspec-3 spec || die - - einfo "Delay to allow the test server to stop" - sleep 10 -} diff --git a/dev-ruby/webmock/webmock-3.8.2.ebuild b/dev-ruby/webmock/webmock-3.8.2.ebuild deleted file mode 100644 index 7b97e611140d..000000000000 --- a/dev-ruby/webmock/webmock-3.8.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -inherit ruby-fakegem - -DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" -HOMEPAGE="https://github.com/bblimke/webmock" - -LICENSE="GPL-2" -SLOT="3" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 >=dev-ruby/hashdiff-0.4.0:0" - -ruby_add_bdepend "test? ( - dev-ruby/minitest:5 - dev-ruby/rspec:3 - >=dev-ruby/test-unit-3.0.0 - dev-ruby/rack - >=dev-ruby/httpclient-2.8.0 - || ( dev-ruby/http:4 dev-ruby/http:3 ) )" - -all_ruby_prepare() { - # Remove bundler support - rm Gemfile || die - sed -i -e '/[Bb]undler/d' Rakefile || die - sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die - sed -i -e '1igem "test-unit"' test/test_helper.rb || die - - # There is now optional support for curb and typhoeus which we don't - # have in Gentoo yet. em_http_request is available in Gentoo but its - # version is too old. patron's latest version is not compatible. - sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb || die - rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/* || die - - # Avoid httpclient specs that require network access, most likely - # because mocking does not fully work. - sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ - -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ - spec/acceptance/httpclient/httpclient_spec.rb - - # Avoid specs that require network access - sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb -} - -each_ruby_test() { - ${RUBY} -S rake test NO_CONNECTION=true || die - ${RUBY} -S rspec-3 spec || die - - einfo "Delay to allow the test server to stop" - sleep 10 -} |
