diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/rspec-expectations |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/rspec-expectations')
7 files changed, 286 insertions, 0 deletions
diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest new file mode 100644 index 000000000000..bacdc868f7ad --- /dev/null +++ b/dev-ruby/rspec-expectations/Manifest @@ -0,0 +1,13 @@ +DIST rspec-expectations-2.14.5-git.tgz 93680 SHA256 ceba7a62ad87285f1ea01db4798efbbde4020b82a109cc260ec358061367e5b9 SHA512 237ed56cd185bc5d0d60ed14e20ded1840ef10711693c43ffaa20ec65cdd6b891aba3a6f1f38bb6962c31d51364758d1898e3bcba14a95c4abc73dff4dac1b65 WHIRLPOOL b9860d7bbd7e33143de655d3bcae6925a91ae5992f47b75ae9c61203c9cddcfb5a2ad0d8d3152a725ff4174359bdf56c5d8dbe24b4b1bb56e3aab292ddfc7a5d +DIST rspec-expectations-2.99.2-git.tgz 106884 SHA256 4c1b38198d214ab2d4e297fdfbd89d3c3ae20c6b144882e53e935cfbc9878f68 SHA512 6042cafe225b2b16df458c7bf69e1694b637afcac6f6195e35a0be199432610457ccaa3e7e4bd114b27a7a6c3d530d94f4c0603c65f469cbadc55bd3f75b6f3a WHIRLPOOL 4a390f55bac3180a876bd59f58ce7c2ed87611b94c9610c950dc138ef14c8966e62d79aa4f63771c373760d0b9f4f51a9aaa6cbc4fc600573c6cb12ddc0e278d +DIST rspec-expectations-3.3.1-git.tgz 171117 SHA256 a40feb73c5c54fd6464ca262af4be50ef9d5e4a785b5ae7862946da42837e112 SHA512 fe0e5fc4e00c8d51866bc9699bc25b1e702c765c5443abbebe2f016833c6f09f9f8f35d86520b59d51ad0a196551f68c39a5ec707658826af838ed274f4986ff WHIRLPOOL 5dc55d62ec1df5add711c07470d2d7020b875bf43a57788ceb84b05807ec9d3b2e395fde16f14c06d265e8c36b44e9a9c9da306c049a019289a1bc3d265e18e1 +DIST rspec-expectations-3.5.0-git.tgz 187600 SHA256 edbd7dec2b1e685b12e3a14c3ea4d8bb3c5d82fe0f69afeea9c9f4d10da03c1d SHA512 e6077549a028de0e34cdd50d93552ca3ee0f30bb550e9df20d391f287beb57070dcb3a5104627e7adb55689e7b102c91b7d3a3b944b8c4ff1235761140f2dce0 WHIRLPOOL d173b832c43e723b0a46caa72f45fa27f8c611567eca544ad6e30e661ca32edca063ba4cd621fb411c527f64371b9e1c04b58192b330878704de2a47b31dc451 +DIST rspec-expectations-3.6.0-git.tgz 193897 SHA256 7f36c884b771b0cd80ded906469fb51e23990de50cd19c59b1cd57512f296f1e SHA512 5c784eff2c076623f471bcfff6e014420782c8d52ff54a68adc9b4d6b60a91726da36e3989535f4ab7f1fcc6b1e2a3c3a63ee330f8ea55f475711741762c0f07 WHIRLPOOL 3cf7b971d4a36ffb5015e823f7e25c3e566b1537d8f61adf371b167b04a80f90a486198bca0436cb9b42ce80bf638e4379583e4969771b509ea35239fc94f9e8 +EBUILD rspec-expectations-2.14.5-r1.ebuild 1297 SHA256 3a5be722aa87b1cee65d00c5feb61c68c180c8d7447aba1007478a606ce62201 SHA512 63879f846e1c7066e242f3c90071997f835bd76dd6c9933a8eb7ba6d3e4f9a1316315e57ba0f5760783d265ec7ee101866cf1c5972d7ff23dbccd819f9340b28 WHIRLPOOL d7c8143a214c84ede0f10a3ea4582e4f8a6f5445881bd73b807a8bd94d76220237a38fa9a1f8aea601e45ef2e7f2384b337b47798dc3e65869d6dab6578cae94 +EBUILD rspec-expectations-2.99.2.ebuild 1697 SHA256 c065d7258d9265cb8b8c42e249e3f50e3b41cde68bbe18c218a0e50d7fd1b278 SHA512 5c08029ea86b985982ba7373cabf49f838f9fdc702b56a2456a208b93e1026adc8c018c41b57cbf3800d4eceb3eb654d0d5a8ad1c5f66ee63b5db54368d3226b WHIRLPOOL b3e8cf22d849654576c222c4b487150488298e110c28b55080fe51ded4ddaf6c4e7ae724e1a4a4bfcbc4889231b23e50b6561b9c33493fea785c8a279b1db515 +EBUILD rspec-expectations-3.3.1.ebuild 1811 SHA256 a2637e9282500408122af08b1e065a1803ad143247850d051b2a3cfd97bcb2d2 SHA512 f0d3648237464917add707bae606ab471aa1edf5fa5d59f2067378c1c5b1f761542dc9c6c28401bf599e36e3a44bf79d35b3b2ae2bea8adfd2ffead747487f87 WHIRLPOOL 18991b0c125e441fbac5375b5074110d63f991015dcfa6ac0c203d7c1f2a2c8445dc49ed07db7a65755268e0a27fd682e2c72da15cf1d0691adb521ac2589ebf +EBUILD rspec-expectations-3.5.0.ebuild 1316 SHA256 de2d83f626d4ec693785d9b1253962bc44dec3ffdd62b6e3decde43561ec3281 SHA512 b1478417e75af503f4b05cb6dc21a1901ae4338bc2c4fb8f372bc2e84840233ab8069e6ccd0fa265ac7462935d9886e9722d18cebd74a50b9bb162aa6abea7b4 WHIRLPOOL 4785e595497f846c8cb85094ba7be3b30fbf7c95b6487958ba9f2ff45c80dc0aa5e489383c102deffc2722babd45ec3f6fc7d1095b2be40c6c530941de25dd8b +EBUILD rspec-expectations-3.6.0.ebuild 1331 SHA256 3117c1d7fcf985d388a9bd5f6e1166e7fe5041590a94f222e9c090d2f39a85e2 SHA512 b0121724e5114884d30a64775da3610eb8b94d7fe86f040d70801a0d187a38c44924da2f75f85ee0de33b497c452680b6a0c0a3f7c7bd5343c6ddf97a6b4be9f WHIRLPOOL b1ece16c98b87afc901152a0c2a0825b77098a721f114b6a6e82d5551b8a89cd23371ddc4656f3f3ddb40850f0ee39be74b0334d464f07fe215552b25fcd2a9f +MISC ChangeLog 7534 SHA256 c5361c54ebcf324e4c6400c2fa52862ab26a42b9adffcbe75cb3b19db449d6c6 SHA512 9ec7d5ed0aba7da07a10e156dd4f4c257866ed33fe923d266cba7ff2baadc3094d732fbb40dd2fd569acbba55a4707aa304db343279009b2e732687572bae2bd WHIRLPOOL 203e806e650db27d5a51fa841625e0f96f15f75ec1d6c16357ee51f73a1634afad56c417a86b6f7e827e5146d303bc67101e37f6482f655938bfaa3ead8599b7 +MISC ChangeLog-2015 13059 SHA256 aa9953f663e0e61474646f72027807995d66c1b414c56c17a4e82a2db4061b66 SHA512 12d82b71fcbb498ace3151fe54e05397793866f1b009a8c70c3d78f32a3d87c97318f7ca266c96b003e0cdbd37f315dcfeed4a6833f00ba0a07eb580fc2ba0eb WHIRLPOOL eac45a0507df35b4c44c5999757649de091493079c3fd18867340aea011a2c471c6607b581ca23abb71797a29ac767723e4b24e9388772ab52e68dabd97aae3a +MISC metadata.xml 350 SHA256 2e4547dcb2dc0b68329d96297ee171045f4d2548d760aa59e41cff478eb197fa SHA512 c0cbdb181bc5981daa6dea5ecb445cedbda6d6430218aad98a39b2db67074169305f3cba419fb1e24d79900be311619337a5421b75e0da6d2838a0ccb7de45b1 WHIRLPOOL 67f8594c3a5630ecf7d05a81ce68600aed00ddb388e51896aa67c033ce721770a3148832309adcb66b17d5abf101478b26833b1f72a600f293841abec2d00995 diff --git a/dev-ruby/rspec-expectations/metadata.xml b/dev-ruby/rspec-expectations/metadata.xml new file mode 100644 index 000000000000..9f015a44d664 --- /dev/null +++ b/dev-ruby/rspec-expectations/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">rspec/rspec-expectations</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/rspec-expectations/rspec-expectations-2.14.5-r1.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-2.14.5-r1.ebuild new file mode 100644 index 000000000000..1480dd4b11dd --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-2.14.5-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="http://rspec.rubyforge.org/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.3" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-core-2.11.0:2 + >=dev-ruby/rspec-mocks-2.14.0:2 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild new file mode 100644 index 000000000000..4a9b2ca2b37b --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="http://rspec.rubyforge.org/" +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 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.3" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-core-2.11.0:2 + >=dev-ruby/rspec-mocks-2.14.0:2 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Avoid a weird, and failing, test testing already installed code. + sed -e '/has an up-to-date caller_filter file/,/end/ s:^:#:' -i spec/rspec/expectations_spec.rb || die +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby24) + sed -i -e 's/of Fixnum/of Integer/' spec/rspec/expectations/expectation_target_spec.rb spec/rspec/matchers/be_instance_of_spec.rb || die + ;; + esac +} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.3.1.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.3.1.ebuild new file mode 100644 index 000000000000..938927548f34 --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.3.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(get_version_component_range 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2 + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die + + # + sed -i -e '1irequire "spec_helper"' spec/rspec/expectations/configuration_spec.rb || die + + # Avoid a weird, and failing, test testing already installed code. + sed -e '/has an up-to-date caller_filter file/,/end/ s:^:#:' -i spec/rspec/expectations_spec.rb || die +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby22) + # The rubygems version bundled with ruby 2.2 causes warnings. + sed -i -e '/a library that issues no warnings when loaded/,/^ end/ s:^:#:' spec/rspec/expectations_spec.rb || die + ;; + esac +} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.5.0.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.5.0.ebuild new file mode 100644 index 000000000000..e1ad1a97f5c5 --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.5.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(get_version_component_range 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2 + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + >=dev-ruby/rspec-support-3.5.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.6.0.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.6.0.ebuild new file mode 100644 index 000000000000..c199b868e8e1 --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.6.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +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 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(get_version_component_range 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2 + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + >=dev-ruby/rspec-support-3.5.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} |