diff options
Diffstat (limited to 'dev-ruby')
19 files changed, 226 insertions, 163 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 3882799d099e..dd16bf6fe68b 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/bundler/Manifest b/dev-ruby/bundler/Manifest index 3fb5f7def8a6..811aa7a3aced 100644 --- a/dev-ruby/bundler/Manifest +++ b/dev-ruby/bundler/Manifest @@ -1,13 +1,9 @@ DIST bundler-1.16.1.gem 349696 BLAKE2B 6057aed2e3bffdfa7f3ea8489c4ae79d9241b7b300fd35c4a2c14899ff306183165d1554be793a1856d9fd1c696161161049519fc8915800c68c60a9a5b116d8 SHA512 2cca87aa17b61df98ef98a648a7d7cfe0529015f1278e8cb2298bb12544157933d723bd666d945bcdbaceacbf97a092a3848e2a587bd01cffa73c662d37d4834 -DIST bundler-1.16.2.gem 352768 BLAKE2B 4ba3729d314aec33a4ce6738a54774d4772714913d132493a8bfd719b53c05e9beb498835c01fb1904336d80fb3bd9466f71cc8e5bd1e34491f7e1f38b7bf9bb SHA512 998708b0eec5cdf7ab89b415a0a5173275b221b46e7151c0f05cb49f64a902a0fb0d77f831c60afe55ac4cafe6f4229d082d3f6c38ec13767add7979853f9221 -DIST bundler-1.16.3.gem 353792 BLAKE2B 5a36cd3e3a7fed39ea1de8d7bcd27a2f7758e4fd67bcfdbcc877a44c491624b45736e9aa122a14d792f2ff11605d226cdfb5a70c2d6cdadb5e0e4e36d597c96c SHA512 bc6b911a5ad2911c35be1ce4e28d42b7762cfc950bc060cca1527b66f78c5f125ed5524d1fc161f68053f00997742c6354549712be0a49c72877ab32ccbbefe6 -DIST bundler-1.16.4.gem 354304 BLAKE2B ce10e5e158341f0a6411f808f2dbf4f29a3384b23380845cce0c34a5c4440de6147da84955f087c373470870651cadaa1c42d0652de4b3d6b6999da8c2449c07 SHA512 fe55b87bb999759da8b4285bb6cb9edbef41b87e418beb4bb9f450f425fd152d45fac2be99d79e26c0cdcfa4785f2b0e35b7f18492ac61d8f780c01ab662e40d DIST bundler-1.16.5.gem 355328 BLAKE2B 684c499abf149fcff4f48881704d96c363f63f004520935767b6e8497f3a06b92c0b4378087383e908256866e29b0f4227a2cec7799d098d74cae896ba2e64db SHA512 d4463d96f6a3b476a3a6f8924a6096ab0efe56807ebae0ddbac897d40e773004ae7d49b1242fc04f77da88e38e879d35022ca4499f4de1ac7b31d5e0fc8a9c31 DIST bundler-1.16.6.gem 356352 BLAKE2B da6d1d5e7edb5a2a4066cecd7caf33c06d15df2e719aaaa66d9ec9e7ce712eb28612224139f86df016bee28f5f00b767ed683de61dd820c7b40e211e3015a3d2 SHA512 4492786ffd22b86e056dc66c605a943140a1513dbada2334fd3340877f72a3f2138d1bca8f36be3d671f2f9497a69f3a95505db42e938bc30719d15f3896e155 +DIST bundler-1.17.1.gem 363520 BLAKE2B 2edee7490192ee18b23b87892fb2fdf112849276dee40788ec76fde752d6d27c339ee07ba6202dce8a91d418ae21452c0f742f7c1c111a358260a1d7f1a7b1c6 SHA512 6adf044096b7716c8b0dae5f559506c65dcb8fd8a8a57428ac25331ca3a85b7cb399fb40b79aeccb0908d172686df9213b86f69286c3e383373ff5ee6f3b414d EBUILD bundler-1.16.1.ebuild 953 BLAKE2B 5244bb0fdc2c0bf5cf5ea33ed4d632b7ad8f831d23506b5572f2344c3babc67e0eafe3f9d3af200e7494a7d98488dbef09c58de45fae5d8ddbe84905d4c7a81f SHA512 86a458781879e76e48d769001e42304dd846a8ea595c92dfeb5d8d984c85294873dc47622de9d4aca27d56e1884f83760150eda18cf52a2684b746f7ab957782 -EBUILD bundler-1.16.2.ebuild 963 BLAKE2B 4ba5577bfb001e257ad44a04e3c7e920f6e809177d2f0f0d6557ea4ed5df1955f009323900e3eb9b7fc03bcb333ad197b80e892a0c58bacfed366c606f0fcc67 SHA512 d08f8706fc972839979d1ecacb8ea2436eda09c9585fb664d150a7251cba665553a7d7641adf545628e7557f5e2b3342287287bbb21106856be078fb12f20021 -EBUILD bundler-1.16.3.ebuild 956 BLAKE2B 16a90a9a7d14d861369b7b0f0f2c3dfaa59bc04e96ee3833aecbcee6070f58ec524758a61bcce3d93690f6ab70579de519bd90d6b816bb0bc93b3773de464cc2 SHA512 aba431908bdaccc5d70c76e0bf1209148c4679ec9eca1073025b89d3c0fb630def82147f7c76f35c0a1a81bdf0017888db7fc3f171adbefe808de8c4091957cf -EBUILD bundler-1.16.4.ebuild 956 BLAKE2B 16a90a9a7d14d861369b7b0f0f2c3dfaa59bc04e96ee3833aecbcee6070f58ec524758a61bcce3d93690f6ab70579de519bd90d6b816bb0bc93b3773de464cc2 SHA512 aba431908bdaccc5d70c76e0bf1209148c4679ec9eca1073025b89d3c0fb630def82147f7c76f35c0a1a81bdf0017888db7fc3f171adbefe808de8c4091957cf EBUILD bundler-1.16.5.ebuild 956 BLAKE2B 16a90a9a7d14d861369b7b0f0f2c3dfaa59bc04e96ee3833aecbcee6070f58ec524758a61bcce3d93690f6ab70579de519bd90d6b816bb0bc93b3773de464cc2 SHA512 aba431908bdaccc5d70c76e0bf1209148c4679ec9eca1073025b89d3c0fb630def82147f7c76f35c0a1a81bdf0017888db7fc3f171adbefe808de8c4091957cf EBUILD bundler-1.16.6.ebuild 953 BLAKE2B 07e284987d58e0bb9f7be563a56e747dc0cdd3fcfcd04dab7d005c6260c7cf56029135293e1037098e676930d7b2c8325d66a0d332d8a8c7f59e7b33fb726abe SHA512 f3092a4ea732af1639a2c25cf2763396ddd90d48e4badd62249d9ff34298e7cb7668974b32394bcb7a80615e7a2f0438b5abe04d5796bd70722775ea22a27dd0 +EBUILD bundler-1.17.1.ebuild 953 BLAKE2B 07e284987d58e0bb9f7be563a56e747dc0cdd3fcfcd04dab7d005c6260c7cf56029135293e1037098e676930d7b2c8325d66a0d332d8a8c7f59e7b33fb726abe SHA512 f3092a4ea732af1639a2c25cf2763396ddd90d48e4badd62249d9ff34298e7cb7668974b32394bcb7a80615e7a2f0438b5abe04d5796bd70722775ea22a27dd0 MISC metadata.xml 342 BLAKE2B 9247517894a366c8b67564e015ff966b22eb3df924ec8438d9886ee854d922e376a274e1dcb455e23451febbb1bf4d8f60023e6b7763cd42772749de1bab372c SHA512 2eb67c3eb94b1d7dfe3e3c818588e6a8b15b375e2e4497afbed91dd0ac28b261cc53e2c04a7f713db710c90566ffea60a0d27acc56893010f9f1b31a6f34cb3e diff --git a/dev-ruby/bundler/bundler-1.16.2.ebuild b/dev-ruby/bundler/bundler-1.16.2.ebuild deleted file mode 100644 index 5013f86b42a8..000000000000 --- a/dev-ruby/bundler/bundler-1.16.2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby22 ruby23 ruby24 ruby25" - -# 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_TASK_DOC="" -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="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+doc test" - -ruby_add_rdepend virtual/rubygems - -RDEPEND+=" dev-vcs/git" diff --git a/dev-ruby/bundler/bundler-1.16.4.ebuild b/dev-ruby/bundler/bundler-1.16.4.ebuild deleted file mode 100644 index b8d61098f3b1..000000000000 --- a/dev-ruby/bundler/bundler-1.16.4.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby23 ruby24 ruby25" - -# 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_TASK_DOC="" -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="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+doc test" - -ruby_add_rdepend virtual/rubygems - -RDEPEND+=" dev-vcs/git" diff --git a/dev-ruby/bundler/bundler-1.16.3.ebuild b/dev-ruby/bundler/bundler-1.17.1.ebuild index b8d61098f3b1..a42efb0f3a6e 100644 --- a/dev-ruby/bundler/bundler-1.16.3.ebuild +++ b/dev-ruby/bundler/bundler-1.17.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 diff --git a/dev-ruby/commander/Manifest b/dev-ruby/commander/Manifest index 121fdb84b4c3..ca759e4efde6 100644 --- a/dev-ruby/commander/Manifest +++ b/dev-ruby/commander/Manifest @@ -1,5 +1,5 @@ -DIST commander-4.4.5.gem 36864 BLAKE2B c4bfcfdd01c09bafa98497aac028054e910e077b38a23f0aa46898d6153560d41d6ccf0e36f46c2702cbd480da892195b7d28840448fb7f8d64ecb6c6e3b1962 SHA512 d2ed3abe7c054054a8442a76bd006684d26908d9ce92a7314d7acffc21dbc16e46144927dc795a69eb195ae04b8d84fa7bc6601c7f682ee188fcbc93ed5a9be2 DIST commander-4.4.6.gem 36864 BLAKE2B 83e2390a482cc085b6af6cc78cbd28679e14ac09279495e1cf00c6aa55b04789501291e1547121b5223177631feead69aa789600ad660be52f22651490ef1278 SHA512 697fcbd7b1b8fe0d5f3c5f492b8d1dbd4fd4233ecef3f214797a8fbf9fd102f75f77fceb486d6386db51df0e6afa281518e522c161eba01d017c2c0532d9ac4d -EBUILD commander-4.4.5.ebuild 615 BLAKE2B 469cb266239f3eee9d7ad0a65a5bcceb081218344c1b3f66d507894fb7b84d5b19027e49d6063651578de31b71c7c121ae5b33e56033ef83a92c4c814d6f9031 SHA512 f68a0748e8bd8f9bd20354dbe21c2dc07191d2854515f439a0abd15243cca4d598b6934cfc9e355361d80045f18969a32641bb1c339152bf3e87087553a804d6 +DIST commander-4.4.7.gem 37376 BLAKE2B 69965f1bf65cdbcf706a8a0106aba05313e9a49808d5c1ac6e938e364e46e940b6d61757046fab9ec00776b1207832f4232242814244f905267fb6ffe8ac3905 SHA512 1a5169448419cec0b04390a42e79c7299c66cf44a0d1d8cd938879970bfd4c72e5741a5f4b2899e60c707e0088b50853ec19eeda9ac66cc6f26a5790294a03fe EBUILD commander-4.4.6.ebuild 593 BLAKE2B 921ec56296e67406aacb6f07dd0f4e1263203ace577380e6107b2276e5d06059cbc4e15d6dd53b7ee282031066bee7622e357ce8f28ebdd0a2c993b57875358e SHA512 b987ccc029f027a112bb9c6ea262ac94a454e7837e1502dd37c6d0d710eeafcbe2b385a008e960c9b68c026865d133bd69cf8bdd10f8f9551405374248e79a96 +EBUILD commander-4.4.7.ebuild 582 BLAKE2B d88b5c3eb0631e27a614c31d3692d3f17e437bbd11f73d2a69d1a4935e19505d39e1aba7a03553354b06a5fbe5e4a9f57c146d99b5e40a77fcedf569dc4b68ec SHA512 86be7497f1a23a28cd3857a32cc845d1e19b521f18bb9912d13a7aacb14f58db57fc8593707059546873b0bd43411281cb72cd2f1e14b44f323e992d5985ee42 MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 diff --git a/dev-ruby/commander/commander-4.4.5.ebuild b/dev-ruby/commander/commander-4.4.7.ebuild index 84709c9eacf2..d4ee29b2e577 100644 --- a/dev-ruby/commander/commander-4.4.5.ebuild +++ b/dev-ruby/commander/commander-4.4.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -18,7 +18,7 @@ SLOT="0" KEYWORDS="~amd64" IUSE="" -ruby_add_rdepend ">=dev-ruby/highline-1.7.2 =dev-ruby/highline-1.7*" +ruby_add_rdepend "dev-ruby/highline:2" all_ruby_prepare() { sed -i -e "/simplecov/,/end/ s:^:#:" spec/spec_helper.rb || die diff --git a/dev-ruby/ecma-re-validator/Manifest b/dev-ruby/ecma-re-validator/Manifest new file mode 100644 index 000000000000..0503c2ae8028 --- /dev/null +++ b/dev-ruby/ecma-re-validator/Manifest @@ -0,0 +1,3 @@ +DIST ecma-re-validator-0.1.2.gem 824832 BLAKE2B 0ccc81114611b85bf799644dd6f28f75397c3f4223a4eed03206e75b0478a9c4d6ea8807e5b8bc9f06771d51543210fa93fc355d791f7d91bce0f255860bd353 SHA512 4f00dcc940dc13f91b823ce9538239c3d545e79027f8ebc45b258fc807d1dcedeaa128070f666c6c57d50715d76908f45ca7bd639ee5a7bfdd6617f713f2c0fb +EBUILD ecma-re-validator-0.1.2.ebuild 598 BLAKE2B 3d107472310ce99bcac039993a9b28ccfa7de5c79e2bf1494ed1dd10e1765cbced83dea050f8909997533e2a14006b628840918a0909a40188d7f04f7d9c0db6 SHA512 3199d326f74cff278224939be7717b75c27209dfc16ef3ce716f16f995d0c41e73fba837942c596fb240b56043fb05944d180280448f0f715bd8ba2d0c8f6687 +MISC metadata.xml 335 BLAKE2B 35e81faf43eed5db18d046798d4a20e63363f829379c1706f29ec2e62f32972ce6de98a580697e6f7a7077aee14bdeeb52abd7172d78557a215c36be78ff1daf SHA512 14e2cf3112c5b046847c542192d8260c69f66057e15d791eeec9297b0ef94c036883bcdc3273a08fcdd91836a3f39d5aa651d2fd3db8a09f905e3ec54e185ad8 diff --git a/dev-ruby/ecma-re-validator/ecma-re-validator-0.1.2.ebuild b/dev-ruby/ecma-re-validator/ecma-re-validator-0.1.2.ebuild new file mode 100644 index 000000000000..cdf35343dec1 --- /dev/null +++ b/dev-ruby/ecma-re-validator/ecma-re-validator-0.1.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Validate a regular expression string against what ECMA-262 can actually do" +HOMEPAGE="https://github.com/gjtorikian/ecma-re-validator" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/regexp_parser-0.2:0" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/ecma-re-validator/metadata.xml b/dev-ruby/ecma-re-validator/metadata.xml new file mode 100644 index 000000000000..9c24bda51219 --- /dev/null +++ b/dev-ruby/ecma-re-validator/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="rubygems">ecma-re-validator</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest index 5003014844ea..44e5839b1a99 100644 --- a/dev-ruby/facter/Manifest +++ b/dev-ruby/facter/Manifest @@ -1,9 +1,11 @@ AUX 00facterdir 15 BLAKE2B 88b3bebceec0d9b8943b36a373a5475d2600c8cee5770c2f9391615958b27b842ede98d7a476cb488e249b1dc14258574bf2f77912599fef98fc325914c8f014 SHA512 381973ca23aec0853714495f74b77155f0079e504312dc55e6e22c8a099aeafd2b7bc4a762c95543c3cd9c5fa5f88a6821f4104b7522536aee7b6f5426d9ec2f DIST facter-2.4.6.gem 246272 BLAKE2B 105a43b2697cde0a48d4fcf87e221cfcb348695f81722b8cfe2819a8f3fe19e575d22642a708c798648d05c71f54e7bf0281345320612a8fdb3b68fce993ec20 SHA512 a0a2bef37451ab96ed331c79171f77d89b6db430b083e6888a306fa5b57a72986b7f600cad3e09b5f4706e54736d1d32ea25525fe18a6108cc95f315da16664a DIST facter-3.12.0.tar.gz 390445 BLAKE2B 8c7f2fccd16df3b13df451c18eaeb0cb837d1408b247bbf35f264e3adc2daeb5efaf3008ecf95428433d19067310b2d273a6001e1e151c260d7777dd5185f54b SHA512 2ef78903f62784f86f8d155f9f10ba793c10742f87d80c894c6bd505ae9186b5e875366d9c05899fe5e25f2994cf66b7d73d6c6570a38a7bc6e45ff0d5108c36 +DIST facter-3.12.1.tar.gz 390863 BLAKE2B 3326fc52e95e73c3f083fead5b9e5c6e4fa691d99c5948dc2ffb1a1aeebc928e6a08dd4d09b417cbb33cecb776d75c488956df7b2fb9c5f937a20788ad3466f4 SHA512 34ed1cb50a38a8137301682c46c91c6b409be78c6349677b6544e082fb388248c4878719f57327b6ee4d0d2f35ff171a62afe5e3cc5972e0e9b24e3239a23216 DIST facter-3.9.2.tar.gz 380883 BLAKE2B d2804664e0499715230e5696c5a9ebae933f5b43dfb37154251d47763c2c7f78cfa8d1413dd836e5a0c76ed67300d066fa5bb390f17f85cd4cb7a444eaf0d133 SHA512 bc040826311bbff40f5a151ade315d9d47ef1e0f3faa570805e48ca55405265e66308230118b9cd59f701ecd76a7b0fd4d9200dd4ace838521223a162b105374 EBUILD facter-2.4.6.ebuild 1899 BLAKE2B a8e0d7c7a83c42150219a300d4a1a512913deee5d66e3a28a4f285a27d731cfa1937bb4d0d9bd8c80e133f2956ecf17690f5a94d66b385507a4f3740a425872f SHA512 0f4a589cb04567a42181bf366e51f6224d792c63bc2b38d2db3653688844e2cb611223fe148a6ff015d8dd734695214afc33ec0812e1707ac629344a691a396e EBUILD facter-3.12.0.ebuild 2415 BLAKE2B 1ce025dab7ff9afb6d0fae342e667ea6ff38645b4503baddfe80f2dbd19ad5cde74d74ba6e1d55e7244a23a428a5969f0aefe769661579b776a74cded3190204 SHA512 a820f8b288a3794be22d8de2817224071ec1aa633a6c9a5217235fa8f5700b541b9a9f76c380743e4f756926cf66e695fc09ef22de745407293ce949a06fa52a +EBUILD facter-3.12.1.ebuild 2417 BLAKE2B 40fefec1ddc747d6c83be159fc069b5e04ac081cd1b909bec0fd15f7d75ad98f39c73a40b2783d97814559a05cef7e8eec39b0621fcac98037e1375862a63d1c SHA512 f86468bfc4a6096d2e365ccd51383a8e97712ecd94f3cd2d6cc0bb801e6bb08149d26eef6e279ce30d9a5af6c0add21a72f68c1042cb0b0bffc066f53e5d77dd EBUILD facter-3.9.2.ebuild 2106 BLAKE2B efcbbd0cfe6a71b1b1a08bbc1f7abe4b94845c9e13192deae811466211ab2ba533ae10732a4d72635609b9cb419051b7c4a39f248e9b06f7ec751cd893d28852 SHA512 5cfb67a3db8d288302f21bf0092c05ce19b40c8a2f00b4b9b63e3e02cd7d1af3dd20670b744520cb42db2b2ccd52e9153d86c0e1db7a36c4c7854c70d79149dc EBUILD facter-9999.ebuild 2420 BLAKE2B 08c571937a6069cdbad57b9a70236c6dbb8c58c85f6d820e7c310e005452b468bf5932c65fbb13ed4d3eb957814820bfee13727eb6e8d6fe119da2711463157e SHA512 13865deccd523a37cbc49950da7a9b614841dee503ff099733f4562216617ed1754850635156e05dbc20fd6add9fe37b60167a5315f5c4be2c30211cecdb5257 MISC metadata.xml 854 BLAKE2B 51b94622bf8ce34658bf34bf266effc445fdbee52fb22e70c9a645c36b7ac28db73793f185b2dfa791d8459a56ea66eccc6a3f4da56db4fe4ee171ee607366ea SHA512 27e7e17a15ad80544fb121b050f0f5c39d3e27a53ade89063a894569472618b29649b5a737011b8d6597594d9bc94a49cf52c9df857d577a098d6c770b4a9639 diff --git a/dev-ruby/facter/facter-3.12.1.ebuild b/dev-ruby/facter/facter-3.12.1.ebuild new file mode 100644 index 000000000000..21124e27b591 --- /dev/null +++ b/dev-ruby/facter/facter-3.12.1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +# git-r3 goes after ruby-ng so that it overrides src_unpack properly +inherit cmake-utils eutils multilib ruby-ng + +DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" +HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="debug test" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/puppetlabs/facter.git" + EGIT_BRANCH="master" +else + [[ "${PV}" = *_rc* ]] || \ + KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" + SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +BDEPEND=" + >=sys-devel/gcc-4.8:* + dev-cpp/cpp-hocon" +COMMON_DEPEND=" + >=dev-libs/leatherman-1.0.0:= + dev-libs/openssl:* + sys-apps/util-linux + app-emulation/virt-what + net-misc/curl + >=dev-libs/boost-1.54:=[nls] + >=dev-cpp/yaml-cpp-0.5.1 + !<app-admin/puppet-4.0.0" + +ruby_add_bdepend "test? ( dev-ruby/rake dev-ruby/rspec:2 dev-ruby/mocha:0.14 )" + +RDEPEND="${COMMON_DEPEND}" +DEPEND="${BDEPEND} + ${COMMON_DEPEND}" + +# restore ${S} and override all phases exported by ruby-ng.eclass +S="${WORKDIR}/${P}" + +pkg_setup() { + ruby-ng_pkg_setup +} + +src_unpack() { + default + + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + fi +} + +src_prepare() { + # be explicit about the version of rspec we test with + sed -i -e '/libfacter.*specs/ s/rspec/rspec-2/' \ + CMakeLists.txt || die + # be more lenient for software versions for tests + sed -i -e '/rake/ s/~> 10.1.0/>= 10/' \ + -e '/rspec/ s/2.11.0/2.11/' \ + -e '/mocha/ s/0.10.5/0.14.0/' lib/Gemfile || die + # patches + default + cmake-utils_src_prepare +} + +each_ruby_configure() { + # hack for correct calculation of relative path from facter.rb to + # libfacter.so + my_ruby_sitelibdir=$(ruby_rbconfig_value 'sitelibdir') +} + +src_configure() { + ruby-ng_src_configure + + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DRUBY_LIB_INSTALL=${my_ruby_sitelibdir} + -DBLKID_LIBRARYDIR="${EPREFIX}/$(get_libdir)" + ) + if use debug; then + mycmakeargs+=( + -DCMAKE_BUILD_TYPE=Debug + ) + fi + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_test() { + cmake-utils_src_test +} + +each_ruby_install() { + doruby "${BUILD_DIR}"/lib/facter.rb +} + +src_install() { + cmake-utils_src_install + ruby-ng_src_install +} diff --git a/dev-ruby/logue/Manifest b/dev-ruby/logue/Manifest index 8808cb69a6f6..ca9a74be3994 100644 --- a/dev-ruby/logue/Manifest +++ b/dev-ruby/logue/Manifest @@ -1,8 +1,8 @@ -DIST logue-git-1.0.11.tgz 11535 BLAKE2B 6515efab4cb42fa7a787bded637ea6d21ff9d4f99acbc6f14334a0aa6b49c6b93b48f57c78e38b52761cd9e59e722b94b4992a0c585bad601a70b425d0abb165 SHA512 8a5793967eeed4df21439f55bb1bc33037d7c18e8b5f543bef7d6bb9e54e6c5acfb6302f754c7454ef0d8ddf5717563e136b45ee3c5e0c08d92fad15028220b9 DIST logue-git-1.0.13.tgz 14389 BLAKE2B a6886989e561124904e6e6016c84b53abd1ea5be2f92958dffdc9b5ce9741728b9760034a9a7517ff35dfe0ebf10d6a6937aee426b85de3e71690098e9eec0ad SHA512 677ef2a8fecc50cb923dcf85ab0bdd984ea5806c31e11df9438af92912b94a4ce227837fac4baee05595f894f6a0fd4167f2984357628eb3e8036479103340c4 DIST logue-git-1.0.14.tgz 12914 BLAKE2B fad25ab9abeaaa282462a743e0b89d55266d7596de55a61db1d712b0952a000df0988856e302aa93bd56cdf53a0eae96b9f60b245f444f7fefc3b5b64af15f35 SHA512 640c48144e098a012736348de2e40b05b59c20a0520df5da52324c7ae455ed41ae1138500db46fa53f4a9c90da138d7fcd5e62921a112ad35f7884149e56dc96 -EBUILD logue-1.0.11.ebuild 641 BLAKE2B 268a65af2a5250319bdbdf3c72f28a8a213e16a5a020aa3dc656e5420141788fab4226ac99a10871216c80242b1b7d27854ecede4bdc9f3dc5501e06704e5083 SHA512 49763d1cede8d908ef5b86a47e07e200bda2d7be3e62d276a793643e3da26b863a101b5f1ca7046af8c74d460ee6cf673c90c70358936e20afb05ea98b739ab8 +DIST logue-git-1.0.16.tgz 13364 BLAKE2B 1eaedcd8cd2a45713a39fd2bfc59fa8234903e01495072d905d461c799fb210be828a5d9685e285c44858c2a10e6016b0053686c3a7c31df64d829ed1c216df9 SHA512 bb8168b69f614f8b2e85bac982dbc85a4a0705cb8cf2d13bf1c361c120c1f66155782bccefbc9069bd9cb4595d6ae8e090c882677d52245ca3478892ce226c56 EBUILD logue-1.0.13-r1.ebuild 785 BLAKE2B 293a2d4b2c394437d4c7bd40066b650b2bf17d191d7abf2284af33be4173c2c53afac58c8fd950b4217b0dd4bd5ca0fd17f9ea85c9b801ac323b7d4870fe58f8 SHA512 90cd6bf999c3a2d0dd730a937f8b6ba5d0a7a7a8c3cf6af3389d91a5d8e533623777e92cb39fa14bc2fa9992f47fd1372c6dbd87f337905fcfc75b235571744d EBUILD logue-1.0.13.ebuild 744 BLAKE2B e7df279983c71b4d2b61f58cf33bd488263545eccd10ec4e715816b684366db24c5530901db6ba52d3d950adb4d4627f619cc331f49b29be19ca830dfb9946ae SHA512 721482f9aa82592cb7624e38f459e455cca7f075d02ff5c29eb5ef62838cc9e28f4dd46713db40546b78e59d946628427c26a2dd034fd9c0cfd0264275375dfc EBUILD logue-1.0.14.ebuild 787 BLAKE2B d346a92af9f80c0b618de0f828e3312ec9d9576a690679b317c1dc51708d79af78c824ff37eb61918701953a4cde2a46f7c7355ee03b72969c5f093c679e3d21 SHA512 b9fa5ac4b3a438bedec57acc84403999a33f5d4c1d3550f6eea47934ed5856d84fe04c434e0e4d1abb294755e7c7bc2c2e46f2d7aecf97f6388e203d7849ae05 +EBUILD logue-1.0.16.ebuild 784 BLAKE2B b9c37b244f3ea8c0442b225b4035097340d59aac915fbf4142e8bfc734a900bf8e84aced489e187a0141480f8634babed7acbfad432ac14b1347f275d9aa994f SHA512 2b0b5e57884e80698a1491b3b643da0f36de53eac7b0fafc3bb3a9bbfc32ffac50db3ca46a0b4b92befbc152c82148463c33ed0e742dd2bb159be101fc922df9 MISC metadata.xml 337 BLAKE2B 045c92dadbdfb3a0c0506734134b5c62b6fc842e12cfbae746a6d9cf07dc65dd5d240575639ef8563baf4d201a43d1b3aed0f3ebf54f88a85e7cf8305926d29d SHA512 2d11804bc1d4e53888e62609677d7bc0c20882ed3cc779dfdf5733adf9cc94ba671af7e901724fe30159ebea1cdcb1039e5c83ead45ebff75b9ce64018bbc1f6 diff --git a/dev-ruby/logue/logue-1.0.11.ebuild b/dev-ruby/logue/logue-1.0.16.ebuild index 0de7dea4707a..83f06819fc19 100644 --- a/dev-ruby/logue/logue-1.0.11.ebuild +++ b/dev-ruby/logue/logue-1.0.16.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby22 ruby23 ruby24" +USE_RUBY="ruby23 ruby24 ruby25" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README.md" @@ -19,11 +19,16 @@ SRC_URI="https://github.com/jpace/logue/archive/v${PV}.tar.gz -> ${PN}-git-${PV} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~hppa ~ppc ~sparc ~x86" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" -ruby_add_rdepend ">=dev-ruby/rainbow-2.0.0:*" +ruby_add_rdepend "dev-ruby/rainbow:3" + +ruby_add_bdepend "test? ( dev-ruby/paramesan )" all_ruby_prepare() { sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Fix path to match installed gem path + sed -i -e 's:logue/lib/logue:/lib/logue:' lib/logue/stack.rb || die } diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index 7ec7a664a638..4309cbc66a93 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -1,9 +1,5 @@ DIST regexp_parser-0.4.13.tar.gz 81658 BLAKE2B 008b5c2ab7b08a23c18f165de2028fab7b42660644dedc467edc5b36065ccebdd80aac0612a37efc59248d2c7116746de41beca964a5c92800c23d33faf98ac0 SHA512 f6996b4c0be7f387657fed7a8fd505dd9dd3a15dcd09e12be0bcaf0bdf2321dc6a15a731e7062b76dc40e953b207340747f1429cc7e621dc0b1caa58154ba841 -DIST regexp_parser-0.4.5.tar.gz 77819 BLAKE2B c25bd61c226903783822ccd71aa8f6ba6a610c6aadedab91d5eb19754b066d2dfc741895cd5ea1f8b101bbf990858a3ecde9020503783a18c7b52bdd3783da68 SHA512 03248616b163bb9c82f3e9be7c0ca30b1d6cee7b1e38b2e9f2386017752544983786e37e26cad2c00a79e3cfedc08672c1b334234f8642c4c67e6ecb35f54af9 -DIST regexp_parser-0.4.9.tar.gz 80496 BLAKE2B bf9f5e16e3cd02902ce86091e3f6519e17ed97852218bcea4fff340f89638ad30fd1be4be25282233bc1d5e7936c818bf73e344f5c5de2a6c4229969835191f1 SHA512 e5fdab4bfc4a98c96a5d8bb6ba0cb10982111b4329626439a4fdf687cb641caf693096c455db48ff1d5fbc0de9b4fa88bc10ed86111fce4f3fb2245c54073a7d DIST regexp_parser-0.5.0.tar.gz 80554 BLAKE2B 7890e6850e3ffbb927c5e72430ab29e6aeec4f8684eb56f4153414aca62702faa57f48887618e84b1d087e2ba366ec9d6b2e92200cc34472b7bbb5a8b0043415 SHA512 0d1c43fda01077b9b3d9c28ce9cb01772f10817e42d9c0ff28e6ea5cd059ad4869b940498c6a4e77d4fc6acb6ac0aba293ae67dd012650cdb58989b90868be16 EBUILD regexp_parser-0.4.13.ebuild 874 BLAKE2B 3b5f06c9ecbaf5f8cf271834c4faa3838d30364619cfe3794c4bb1ac00e6495b06918dd54d451d3bf1a6edd0d358eb96c48b3cb647750e4e4a63ce42a971d4ee SHA512 ce7521f4dd924ac5ae9c8af6b2e8f72d34162c63d0b99e35f440c771bb74279a78fddcd21a597405c94ac10bcf0f311b253585753667e4e7da7a0bfd7096b975 -EBUILD regexp_parser-0.4.5.ebuild 874 BLAKE2B c14f54730468dce88ac0a3c9c6045805ad055792e44ba4ea4f11b106f0d5ecb44e408c427a9d2e4afbd456e7401ca1bbc9068d42aa4116141ae91b4d76b94f30 SHA512 48de13dcebc05f91f6ff823e72471e336cde4030dc7a1af88a4231e093b974bb822f7c71247aad4a1e326cbe1dea9c86c27fe930e56dac25294a2145c90d2c07 -EBUILD regexp_parser-0.4.9.ebuild 881 BLAKE2B d0217fd9011fb94215bc25ef7aa0011ad76260d94d3b479399c0b42be5898055512300d889960038153ec264dc7c2c3718ebcad1849f2197deecec49e39c0758 SHA512 7c08fe08138cf26053bc02785c0ff255756120a0a12d659b0eb2d8fe8ddccc14a6e11aa7c2425538c55c773788d5db0f0ad1fde5a820686ec335e17b71d3b1c9 EBUILD regexp_parser-0.5.0.ebuild 874 BLAKE2B 3b5f06c9ecbaf5f8cf271834c4faa3838d30364619cfe3794c4bb1ac00e6495b06918dd54d451d3bf1a6edd0d358eb96c48b3cb647750e4e4a63ce42a971d4ee SHA512 ce7521f4dd924ac5ae9c8af6b2e8f72d34162c63d0b99e35f440c771bb74279a78fddcd21a597405c94ac10bcf0f311b253585753667e4e7da7a0bfd7096b975 MISC metadata.xml 345 BLAKE2B 1b8ad1173966e2528e85b076052a92f378eccb6bc3159a69de1a276dea6e65c3b2e83db43d65ab9cd357fa58ee0af3cde2485b0926002cb74e0fe1d54cef375c SHA512 aeac372e6213e9b018782fb640fe6d88b3d86d8f5d02b8511f69980df204dd82d45443c371e81527fc6c34b2c1684ff04b3a7789808b884644c348139b4999ff diff --git a/dev-ruby/regexp_parser/regexp_parser-0.4.5.ebuild b/dev-ruby/regexp_parser/regexp_parser-0.4.5.ebuild deleted file mode 100644 index 50350f12b482..000000000000 --- a/dev-ruby/regexp_parser/regexp_parser-0.4.5.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby22 ruby23 ruby24" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions" -HOMEPAGE="https://github.com/ammar/regexp_parser" -SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -DEPEND+=" =dev-util/ragel-6*" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/bundler/I s:^:#:' Rakefile || die - sed -i -e '1irequire "delegate"' test/support/warning_extractor.rb || die -} - -each_ruby_compile() { - ${RUBY} -S rake ragel:rb || die -} - -each_ruby_test() { - ${RUBY} -Ilib bin/test || die -} diff --git a/dev-ruby/regexp_parser/regexp_parser-0.4.9.ebuild b/dev-ruby/regexp_parser/regexp_parser-0.4.9.ebuild deleted file mode 100644 index d5b81428a232..000000000000 --- a/dev-ruby/regexp_parser/regexp_parser-0.4.9.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby22 ruby23 ruby24 ruby25" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions" -HOMEPAGE="https://github.com/ammar/regexp_parser" -SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -DEPEND+=" =dev-util/ragel-6*" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/bundler/I s:^:#:' Rakefile || die - sed -i -e '1irequire "delegate"' test/support/warning_extractor.rb || die -} - -each_ruby_compile() { - ${RUBY} -S rake ragel:rb || die -} - -each_ruby_test() { - ${RUBY} -Ilib bin/test || die -} diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest index ad913c0f0641..f903e7fe7cf3 100644 --- a/dev-ruby/rspec-rails/Manifest +++ b/dev-ruby/rspec-rails/Manifest @@ -1,7 +1,9 @@ DIST rspec-rails-3.6.1.tar.gz 127123 BLAKE2B 9dd03d8483c1ef94ca7c7e561ca2a6aad82fb8400cfd5a48f40e3feff7597aaaf2a877d72d356ffca2455e6f3069a2d60c23ebf2ff3bdb8e95d954ff88832a3d SHA512 4d83f04ab640fdee6da5d6eab2c2a3bf8e04ad2f55e1a31f1dffc3a85ea3e731f1a0ffa586825e12972120568226d52fd6c26ce261412ad69dcc73ed879e763f DIST rspec-rails-3.7.2.tar.gz 129851 BLAKE2B b37619b4a953fa44ef402a0dea1531837932dc7bc147c08b29bf85dcad61c7ca72b30f28edc391ae05d5040dcc902d6571342bb51559de84ed0c93244deffbec SHA512 a1dbbde3539b09c33d85c9307126df09c508fcf39abc25a6438fb0582ec19049ee1888d7d17d256d33bba08c29792a0ec30dabc37d870a369580a58cb7ef03df DIST rspec-rails-3.8.0.tar.gz 134290 BLAKE2B 2d148a62fb92bf73728da5a18d5d8263bbd38e2036d1c47a2bdc2823ff72cc2c4a1fafee1c66d89665b21ce9b9a907a9bdaf726cafa7345b84ab49d0d3053426 SHA512 810dd372d6889847fd5d47a29d359a72fcbc4fdca5d1b35bfbe75fefc293b208ff062d88e2159783eda152a5ab1657d3a55619a9a11dd8bde5993cd807ca37da +DIST rspec-rails-3.8.1.tar.gz 134824 BLAKE2B 3531f4dcbe143df2b15b3ba6dda42f4b41236d184a9697fe604522cd01f3e2bb4d5ba9de94ddb4f9fc71cfdbe485f3bbf11478a5d635b69e94c10c855935faae SHA512 7628ed24e3ef7c34aa047100bd956dca9b1443219332d020af65ca7f3ccb5618ec2377535e981cef23b76ed279145e1bab39f17dfed9df8b66083e4fe3e35f37 EBUILD rspec-rails-3.6.1.ebuild 1448 BLAKE2B ab0ecb95e96eedddf57dbc1e254df43b97cd3d9a0930942b3bdc3554b7b277e8823dd8dc77eb32b58f339736b0b71f0b307202996edbc9970233c44cb3fbc3e1 SHA512 4f28e6dbf5fb2f4e188eced4b308d470c8e4275154a20ac869e2c4b4539b83f4a56c80338376d4dc00f8d8c150011d9c2ede6ad3f849389bc528b63fe5a69694 EBUILD rspec-rails-3.7.2.ebuild 1448 BLAKE2B edb9e628276bc97d90ee7f9272145da0f03fc50d3736362e45851b113dace36b93544fef8c8a4cefe68d93d265d2bd7bc4e4ab9c6f523147a19c265f20e60c40 SHA512 b8a8b28c585ea62e3d29c07b01e0758503647561b3f0b798354ff3097433890245baf3b4b83491620b1575d77f5941867adfc4c5bd27e0957cf224def09ab466 EBUILD rspec-rails-3.8.0.ebuild 1426 BLAKE2B 15d65f277c53fe44b4086cd3f193ef8051903ceba8794778fe6ed225023ec69ffb1ba983975cb504403827d5e3244400d634a336bdec210dbe94480da420cbd0 SHA512 47530a113d3250174a4a4741c951189d4051894e07cdcd856ac01a7a4104faf44f80a472ba502eea3003377b9a6d70cefef9cfcad99d2a59a1fe060759383933 +EBUILD rspec-rails-3.8.1.ebuild 1424 BLAKE2B c46ad4c24da00b4bc03f1d751c21fb94e7d7c857b3068e33b87cb9ebd05b19fc3f93dd48db1365738ee7afed62aeaa1a411fb3a9320d5b859039b698906adfac SHA512 5db6b80e8c59bf607f877c894cb91ce0fd2459d6b35c7c67169cee5258bbefbcf94a39cbda6b0bbcb6b9f58850a2a1aa73c86be4413eec5454fdc4ad6ac587a9 MISC metadata.xml 343 BLAKE2B 3c1684a27906b05d1f72b32ec225db0fcd6e051bf9d6a3b4f83e3cc1ff63201410594a6b2a2664ca008b7756b6e98cbbcc3981136075dcc41a622f3ad3566b36 SHA512 bc9d8d9978e4bd845b10fabf5256e53a1a0c3835305f7e72502d1074e2692fdeaca15b2ecade251be8dbbae544167072a920db14a964644b70782f37b9d91369 diff --git a/dev-ruby/rspec-rails/rspec-rails-3.8.1.ebuild b/dev-ruby/rspec-rails/rspec-rails-3.8.1.ebuild new file mode 100644 index 000000000000..698dfbe50f6e --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-3.8.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="RSpec's official Ruby on Rails plugin" +HOMEPAGE="https://rspec.info/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0:* + >=dev-ruby/actionpack-3.0:* + >=dev-ruby/railties-3.0:* + =dev-ruby/rspec-${SUBVERSION}*" + +# Depend on the package being already installed for tests, because +# requiring ammeter will load it, and we need a consistent set of rspec +# and rspec-rails for that to work. +ruby_add_bdepend "test? ( + >=dev-ruby/capybara-2.2.0 + >=dev-ruby/ammeter-1.1.2 + ~dev-ruby/rspec-rails-${PV} +)" + +all_ruby_prepare() { + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm -f .rspec || die + + # Avoid bundler-specific specs. + rm -f spec/sanity_check_spec.rb || die + + # Avoid broken controller generator specs for now. + rm -fr spec/generators/rspec || die + + # Avoid loading rspec/rails explicitly since ammeter/init will also + # do this and loading it twice causes an error + sed -i -e '/rspec\/rails/ s:^:#:' spec/spec_helper.rb || die +} |