From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- dev-ruby/rspec-core/Manifest | 8 ++- dev-ruby/rspec-core/rspec-core-2.99.2-r2.ebuild | 2 +- dev-ruby/rspec-core/rspec-core-3.10.0.ebuild | 91 +++++++++++++++++++++++++ dev-ruby/rspec-core/rspec-core-3.8.2.ebuild | 2 +- dev-ruby/rspec-core/rspec-core-3.9.3.ebuild | 91 +++++++++++++++++++++++++ 5 files changed, 190 insertions(+), 4 deletions(-) create mode 100644 dev-ruby/rspec-core/rspec-core-3.10.0.ebuild create mode 100644 dev-ruby/rspec-core/rspec-core-3.9.3.ebuild (limited to 'dev-ruby/rspec-core') diff --git a/dev-ruby/rspec-core/Manifest b/dev-ruby/rspec-core/Manifest index 0fec4e6b08e4..4b52158b49a2 100644 --- a/dev-ruby/rspec-core/Manifest +++ b/dev-ruby/rspec-core/Manifest @@ -1,7 +1,11 @@ DIST rspec-core-2.99.2-git.tgz 212935 BLAKE2B 37195012f79aca3a1959f9143e2f5cbab63230ab07ea97928d6f66face8d07ab54d87f19535f5f235c441b2da6dec17ef2a889e9ccd7e83d987086e24afd1b82 SHA512 e13bc3384fd85c367481a8651c14be4a412cba5f58e12a8f4ab14b5d2768a7b92191b81e000e7dbf6a28275b41044d8b3eb70a04e4b30b5bf88db98cbec4cc44 +DIST rspec-core-3.10.0-git.tgz 396978 BLAKE2B 6fb8947598234351595a8832e47baf941f2ca3e8bd39570fba79b9539a7af51144ef41a257d309eddab895ba1e8ba7fe1efb22c855aaab7f1556998d7024ef4a SHA512 f00531021e20fd389dd7a5129ff3bf338c3fa35dfa5e15b0b73ba16eb081d3d7ed2014b1b2ea4ad2682e06f2822c2b895736ac9e80d6af3fba1aecb5cfcea8a3 DIST rspec-core-3.8.2-git.tgz 387788 BLAKE2B e6cf93f5cef70f53039b6c22fc875cff58eaff4c0c7d4e75d23dedfbe16081980c6fe575d3082dbe6ed9edc8e81f0cbb9e29618da78af40a94c517a859f9d793 SHA512 2fe88ee3d66ecf134562dfa7b1001f23a1a750640c4f65cdec64d85dd735e0fde9d91479286f8f9c38064746813f41632d12d21b3926724ccd7c9ded50d2a7c8 DIST rspec-core-3.9.1-git.tgz 392102 BLAKE2B e41d4d930201e854015b486eb97e32f356027a837930f061f6282215a0d7e80db99c30c8b537d10f9359380512b46a03fe10ec382f5403704cdc7f0c1796aeed SHA512 2da714ebf35e78be789758857efbebc69548df7a11fff8bcd74a854b61485ef726cf0cec781e27a97d20f4eac0010aad50656b6074248c94b1833d4cb267189a -EBUILD rspec-core-2.99.2-r2.ebuild 5110 BLAKE2B 16f93764e26dd8a88e83ce2ea01a1484d7a74dbb3bf32414bbc1b83a7d515818088119dd12e29e183bbd804c51576cb6d9f4e684ee196a46980077b35527b297 SHA512 ff96fd2872a19f4d906a125dc72d2aa4ce2e3d5fa9ae1e171e1674329ffd8bd9a50c26813b02278e82d2e33e4de838620f66c5c9e1beaea56b41d04ed04a7ee6 -EBUILD rspec-core-3.8.2.ebuild 3165 BLAKE2B f0743a06b1845742b15d6b9f42701aa9613352a2fe8a8af88288dfe578d2deb7633d80e4642572fa8846eff109181864d49454f57b6073f6bd286f7a0d74193c SHA512 71eccab1a5db8e1ae23bdbea87d9e56f7e70472b9cb9d92ceeaf3fe81a53c6e9694172b143195ab09d35012b99067c9f6dd8a7effbed11cad81932d62da49b91 +DIST rspec-core-3.9.3-git.tgz 396080 BLAKE2B ea52a33586dc32af49a72950c7dbf24eef52a74891b2d7004ec4c5083e2e6d63c602f5033fba3a8ec1dfe6e8da349208b468a79b4e16aa5150d2fc8e93055c0e SHA512 f821ae3017c0fd9ac7f3ced0e81d0ebc54f2c17261f426c58a46c0bf1debb20efca7acc4b751b671e160de72ce5790f897bcb55d5d276fab228a4ea8d388a046 +EBUILD rspec-core-2.99.2-r2.ebuild 5109 BLAKE2B 0feecafdfab395df13ba235ea6be95921dc80b2f54533062996016b9406f52518d81b90063c52e5079b3cf8a4bc918886572ed8ac5315114d852716f780a8d3d SHA512 d5d2df61816a83d46c3f29ad908392e58e3849bf8df809ede5e8d716524b845c4cd855bee13982d0d0669089272ed0ee16b83103b02d82573dde3e0937f1221e +EBUILD rspec-core-3.10.0.ebuild 3133 BLAKE2B af9964b0d3eb76d9b040d28925734c5dc7eda3d4fdc190f6f64e1b53804a5abaf7591f10711004597e17a7e6c991f8e134585c7e302ac5ef9ffb6707ac27ca6d SHA512 2c386596c35a3867efd8728d9c2eb510bd475ad59c0ad8b50c2db4b6d4136b18779563dd5473fb459730db58fbb76a8f3948f3a57cb5905ecb1573e31a8d7993 +EBUILD rspec-core-3.8.2.ebuild 3164 BLAKE2B de0f884d4239cf65706ff912fba59499d9ad83c47351138afbcc5497a3ad1702ffa0ce4cddacbac08174b6dafe288a4910c9ac7890fb78f8fa0c13758d0ae6a4 SHA512 f252fcf8603d8773bb03b3fc36a3de0651f363edeee74d3830a9de62fbe1b6bfea3c59b887409a1b8b157a738b6db9f0985b235f3b180f56bea5db15fa135a26 EBUILD rspec-core-3.9.1.ebuild 3140 BLAKE2B 7186b1ac3e19965f302019ddf96e0d9c4c3b30e2a2612008222f5de0fdff5afeaafaaacec5332498b6a4517fffeafdaa89ea43f1579329009d7077f14ec411b6 SHA512 5adbc381c649a8551f1c659d8f0debd2f181ad88d7fd3be6636c0fd489e0d5cd31895dd68c3c9ca157bddd971ca3ced24b669acdea1fd7ecf8b64e0cedef91c1 +EBUILD rspec-core-3.9.3.ebuild 3140 BLAKE2B 7186b1ac3e19965f302019ddf96e0d9c4c3b30e2a2612008222f5de0fdff5afeaafaaacec5332498b6a4517fffeafdaa89ea43f1579329009d7077f14ec411b6 SHA512 5adbc381c649a8551f1c659d8f0debd2f181ad88d7fd3be6636c0fd489e0d5cd31895dd68c3c9ca157bddd971ca3ced24b669acdea1fd7ecf8b64e0cedef91c1 MISC metadata.xml 465 BLAKE2B 7aa4aea8fcc4616588f8842e4d3625219eabe0c17f7a621f9d01ba3ba403ce178ba5960a15c9a163eea32a9956cdc27ce1a607bdae1c32a1a6fa1207c7358388 SHA512 987f6c0ce5814c23f3d76a32f0b59ebd89ddc71bcb23d109106a2ee11a5ab050cafd1ec7f87c84f07b4b4d71244d71885c6d727d2b583484c0e5f6466066a57b diff --git a/dev-ruby/rspec-core/rspec-core-2.99.2-r2.ebuild b/dev-ruby/rspec-core/rspec-core-2.99.2-r2.ebuild index 4e6950f3187d..3cdbd73abcb4 100644 --- a/dev-ruby/rspec-core/rspec-core-2.99.2-r2.ebuild +++ b/dev-ruby/rspec-core/rspec-core-2.99.2-r2.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" LICENSE="MIT" SLOT="2" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" ruby_add_bdepend "test? ( diff --git a/dev-ruby/rspec-core/rspec-core-3.10.0.ebuild b/dev-ruby/rspec-core/rspec-core-3.10.0.ebuild new file mode 100644 index 000000000000..937c6cffe645 --- /dev/null +++ b/dev-ruby/rspec-core/rspec-core-3.10.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +# Also install this custom path since internal paths depend on it. +RUBY_FAKEGEM_EXTRAINSTALL="exe" + +RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-core" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="highlight" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend " + =dev-ruby/rspec-support-${SUBVERSION}* + highlight? ( >=dev-ruby/coderay-1.1.1 ) +" + +ruby_add_bdepend "test? ( + >=dev-ruby/nokogiri-1.5.2 + >=dev-ruby/coderay-1.1.1 + dev-ruby/syntax + >=dev-ruby/thread_order-1.1.0 + >=dev-ruby/rspec-expectations-3.8.0:3 + >=dev-ruby/rspec-mocks-2.99.0:3 + >=dev-ruby/rspec-support-3.9.1:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Avoid dependency on cucumber since we can't run the features anyway. + sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die + + # Duplicate exe also in bin. We can't change it since internal stuff + # also depends on this and fixing that is going to be fragile. This + # way we can at least install proper bin scripts. + cp -R exe bin || die + + # Avoid unneeded dependency on git. + sed -i -e 's/git ls-files --/find/' rspec-core.gemspec || die + + # Avoid aruba dependency so that we don't end up in dependency hell. + sed -i -e '/ArubaLoader/,/^end/ s:^:#:' -e '/Aruba/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/support/aruba_support.rb || die + rm -f spec/integration/{bisect_runners,failed_line_detection,filtering,order,persistence_failures,suite_hooks_errors}_spec.rb || die + rm -f spec/integration/{spec_file_load_errors,output_stream,fail_if_no_examples}_spec.rb || die + + # Avoid a spec failing due to path issues + sed -i -e '/does not load files in the default path when run by ruby/,/end/ s:^:#:' \ + spec/rspec/core/configuration_spec.rb || die + + # Avoid a spec that depends on dev-ruby/rspec to lessen circular + # dependencies, bug 662328 + sed -i -e '/loads mocks and expectations when the constants are referenced/askip "gentoo: bug 662328"' spec/rspec/core_spec.rb || die + + # Avoid a spec depending on specifics on local networks + # This fails when localhost resolves to ::1 which may be a + # ruby regression in the drb/acl code. + rm -f spec/rspec/core/bisect/server_spec.rb || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed." +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rspec /usr/bin/rspec-3 'gem "rspec", "~>3.0"' +} diff --git a/dev-ruby/rspec-core/rspec-core-3.8.2.ebuild b/dev-ruby/rspec-core/rspec-core-3.8.2.ebuild index 5fd4a0948a5e..8c26715a4d02 100644 --- a/dev-ruby/rspec-core/rspec-core-3.8.2.ebuild +++ b/dev-ruby/rspec-core/rspec-core-3.8.2.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" LICENSE="MIT" SLOT="3" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="highlight" SUBVERSION="$(ver_cut 1-2)" diff --git a/dev-ruby/rspec-core/rspec-core-3.9.3.ebuild b/dev-ruby/rspec-core/rspec-core-3.9.3.ebuild new file mode 100644 index 000000000000..837a456d2180 --- /dev/null +++ b/dev-ruby/rspec-core/rspec-core-3.9.3.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +# Also install this custom path since internal paths depend on it. +RUBY_FAKEGEM_EXTRAINSTALL="exe" + +RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-core" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="highlight" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend " + =dev-ruby/rspec-support-${SUBVERSION}* + highlight? ( >=dev-ruby/coderay-1.1.1 ) +" + +ruby_add_bdepend "test? ( + >=dev-ruby/nokogiri-1.5.2 + >=dev-ruby/coderay-1.1.1 + dev-ruby/syntax + >=dev-ruby/thread_order-1.1.0 + >=dev-ruby/rspec-expectations-3.8.0:3 + >=dev-ruby/rspec-mocks-2.99.0:3 + >=dev-ruby/rspec-support-3.9.1:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Avoid dependency on cucumber since we can't run the features anyway. + sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die + + # Duplicate exe also in bin. We can't change it since internal stuff + # also depends on this and fixing that is going to be fragile. This + # way we can at least install proper bin scripts. + cp -R exe bin || die + + # Avoid unneeded dependency on git. + sed -i -e 's/git ls-files --/find/' rspec-core.gemspec || die + + # Avoid aruba dependency so that we don't end up in dependency hell. + sed -i -e '/ArubaLoader/,/^end/ s:^:#:' -e '/Aruba/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/support/aruba_support.rb || die + rm -f spec/integration/{bisect_runners,failed_line_detection,filtering,order,persistence_failures,suite_hooks_errors}_spec.rb || die + rm -f spec/integration/{spec_file_load_errors,output_stream,fail_if_no_examples}_spec.rb || die + + # Avoid a spec failing due to path issues + sed -i -e '/does not load files in the default path when run by ruby/,/end/ s:^:#:' \ + spec/rspec/core/configuration_spec.rb || die + + # Avoid a spec that depends on dev-ruby/rspec to lessen circular + # dependencies, bug 662328 + sed -i -e '/loads mocks and expectations when the constants are referenced/askip "gentoo: bug 662328"' spec/rspec/core_spec.rb || die + + # Avoid a spec depending on specifics on local networks + # This fails when localhost resolves to ::1 which may be a + # ruby regression in the drb/acl code. + rm -f spec/rspec/core/bisect/server_spec.rb || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed." +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rspec /usr/bin/rspec-3 'gem "rspec", "~>3.0"' +} -- cgit v1.2.3