Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-core/
Date: Sun, 06 Mar 2016 20:16:22
Message-Id: 1457295365.a356456bba700e2d14ac706d313ec9ec9ca017f7.graaff@gentoo
1 commit: a356456bba700e2d14ac706d313ec9ec9ca017f7
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 6 20:14:26 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 6 20:16:05 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a356456b
7
8 dev-ruby/rspec-core: cleanup
9
10 Package-Manager: portage-2.2.26
11
12 dev-ruby/rspec-core/Manifest | 1 -
13 dev-ruby/rspec-core/rspec-core-3.4.2.ebuild | 101 ----------------------------
14 2 files changed, 102 deletions(-)
15
16 diff --git a/dev-ruby/rspec-core/Manifest b/dev-ruby/rspec-core/Manifest
17 index a8889c6..1424bf0 100644
18 --- a/dev-ruby/rspec-core/Manifest
19 +++ b/dev-ruby/rspec-core/Manifest
20 @@ -1,5 +1,4 @@
21 DIST rspec-core-2.14.8-git.tgz 195949 SHA256 757febdcc4465b62fb41572e1fb7e0deb86f903127cb2941ea65d2c1d4ac29db SHA512 2be487f0a820cb959771b0c2a725aa7a43cd80a76f85ed42f3341420cefa4ba6413b5dbd86e8fba9f5515afef3e895e0f1f2f8239d50f0b764f037d5f0791095 WHIRLPOOL 5b2422d7f1d087caf654ea04d81f269ae90be63eb73135d34691839c27e6dfa152aac425f64a860b3af50ef0bf513ac7f4a68c979c254083f187e57a96c20fe3
22 DIST rspec-core-2.99.2-git.tgz 212935 SHA256 75794e3f94f3323b1212b93e827d37d6ab2813dea2f5f927929b40e9ee170c43 SHA512 e13bc3384fd85c367481a8651c14be4a412cba5f58e12a8f4ab14b5d2768a7b92191b81e000e7dbf6a28275b41044d8b3eb70a04e4b30b5bf88db98cbec4cc44 WHIRLPOOL 5584be2da2310688155c4fe600a4a36f68434440ebc00b063e9fcdcb3188138831a210f482ac86a469984fcf9838d795511ea02433020ecc6bc1d6aacc8c72bd
23 DIST rspec-core-3.3.2-git.tgz 332730 SHA256 aef9a2867a435aa7be57826c850e88e593232077dc42f12bfed89a92c7704d26 SHA512 6cadfa43d63df8d24105d88d6e8b22a495a30f04b289c71c8887ea3fead9ec8f071a6c734a140b1e4910f25094fd36c7c37b54a0724e734233ca584202f0cf32 WHIRLPOOL 1e385223ea8c9b32bfc6ecc93146ccad793441bae3426f6cb4acc07d7a1f2bc6e20be11597fcd27f3c6bb207482213e2eaf214835041df631d06b9bc524e5b70
24 -DIST rspec-core-3.4.2-git.tgz 354859 SHA256 bcb93520f5cb2bc0f2f66c09579970c524e7404575cefc5aefcd3da594d775b6 SHA512 33fc3336a01b86f9c22e5e9fe9f78f2b4f66a309fd0bff90d565484912d2ae6525dc80b0e6e2c6d2b5d698c2848e0b025cc4f065b533b9936ba6e7dfb03bae88 WHIRLPOOL 451f5b70bdd9db53fc7fabc84dacff6cd3cbda3422ca475a1090e5bcd2ec42249e91953c0d648c5a4d2ab12af85e778b392a1e75717526d89577ecffe88f0cfa
25 DIST rspec-core-3.4.3-git.tgz 355961 SHA256 9dea290b7a1e30e483d61451e968554591a0ce385b66bc75d27d0f9eed7455e3 SHA512 26973fb7de7e2055cfafece0b3d68c2dab3498f6e3705bc2a4d41633b18783d142c7c9bee82fbec0d577b7d97d85c747c8cbdeb0cf8d2b5c017009fa087f2ec2 WHIRLPOOL f52dfaa2dc83efb49f66693e7b9eff20d5237d0593985ed88283247d50e2fa24d6f3739d9c01c0a4fa298b9da1072a01b055b0d4618eadeb8de9e7403cccb7be
26
27 diff --git a/dev-ruby/rspec-core/rspec-core-3.4.2.ebuild b/dev-ruby/rspec-core/rspec-core-3.4.2.ebuild
28 deleted file mode 100644
29 index 25460b3..0000000
30 --- a/dev-ruby/rspec-core/rspec-core-3.4.2.ebuild
31 +++ /dev/null
32 @@ -1,101 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -USE_RUBY="ruby20 ruby21 ruby22"
39 -
40 -RUBY_FAKEGEM_TASK_TEST="none"
41 -RUBY_FAKEGEM_TASK_DOC="none"
42 -
43 -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
44 -
45 -# Also install this custom path since internal paths depend on it.
46 -RUBY_FAKEGEM_EXTRAINSTALL="exe"
47 -
48 -RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec"
49 -
50 -inherit ruby-fakegem
51 -
52 -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
53 -HOMEPAGE="https://github.com/rspec/rspec-core"
54 -SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
55 -
56 -LICENSE="MIT"
57 -SLOT="3"
58 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
59 -IUSE="highlight"
60 -
61 -SUBVERSION="$(get_version_component_range 1-2)"
62 -
63 -ruby_add_rdepend "
64 - =dev-ruby/rspec-support-${SUBVERSION}*
65 - !!<dev-ruby/rspec-core-2.14.8-r4
66 - highlight? ( >=dev-ruby/coderay-1.0.9 )
67 -"
68 -
69 -ruby_add_bdepend "test? (
70 - >=dev-ruby/nokogiri-1.5.2
71 - >=dev-ruby/coderay-1.0.9
72 - dev-ruby/syntax
73 - >=dev-ruby/thread_order-1.1.0
74 - >=dev-ruby/zentest-4.6.2
75 - >=dev-ruby/rspec-expectations-3.3.0:3
76 - >=dev-ruby/rspec-mocks-2.99.0:3
77 - )"
78 -
79 -all_ruby_prepare() {
80 - # Don't set up bundler: it doesn't understand our setup.
81 - sed -i -e '/[Bb]undler/d' Rakefile || die
82 -
83 - # Avoid dependency on cucumber since we can't run the features anyway.
84 - sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die
85 -
86 - # Duplicate exe also in bin. We can't change it since internal stuff
87 - # also depends on this and fixing that is going to be fragile. This
88 - # way we can at least install proper bin scripts.
89 - cp -R exe bin || die
90 -
91 - # Avoid unneeded dependency on git.
92 - sed -i -e 's/git ls-files --/find/' rspec-core.gemspec || die
93 -
94 - # Avoid aruba dependency so that we don't end up in dependency hell.
95 - sed -i -e '/ArubaLoader/,/^end/ s:^:#:' -e '/Aruba/ s:^:#:' spec/spec_helper.rb || die
96 - rm spec/integration/{failed_line_detection,filtering,order,persistence_failures}_spec.rb spec/support/aruba_support.rb || die
97 -
98 - # Avoid a spec failing due to path issues
99 - sed -i -e '/does not load files in the default path when run by ruby/,/end/ s:^:#:' \
100 - spec/rspec/core/configuration_spec.rb || die
101 -
102 - # Avoid specs for older coderay version which is no longer packaged
103 - sed -i -e '/highlights the syntax of the provided lines/ s/do/,skip: true do/' \
104 - -e '/dynamically adjusts to changing color config/ s/do/,skip: true do/' \
105 - spec/rspec/core/source/syntax_highlighter_spec.rb
106 -}
107 -
108 -each_ruby_prepare() {
109 - sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die
110 -
111 - # case ${RUBY} in
112 - # *ruby22)
113 - # # The rubygems version bundled with ruby 2.2 causes warnings.
114 - # sed -i -e '/a library that issues no warnings when loaded/,/^ end/ s:^:#:' spec/rspec/core_spec.rb || die
115 - # ;;
116 - # esac
117 -}
118 -
119 -all_ruby_compile() {
120 - if use doc ; then
121 - yardoc || die
122 - fi
123 -}
124 -
125 -each_ruby_test() {
126 - PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed."
127 -}
128 -
129 -all_ruby_install() {
130 - all_fakegem_install
131 -
132 - ruby_fakegem_binwrapper rspec /usr/bin/rspec-3 'gem "rspec", "~>3.0"'
133 -}