Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-ruby/rspec/
Date: Sun, 30 Jul 2017 07:14:27
Message-Id: 1501398853.e60028a2716a5f1ff6dc8e3665b02673872744c7.mgorny@gentoo
1 commit: e60028a2716a5f1ff6dc8e3665b02673872744c7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 30 07:05:49 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 30 07:14:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e60028a2
7
8 dev-ruby/rspec: Remove last-rited slot :0
9
10 dev-ruby/rspec/Manifest | 1 -
11 dev-ruby/rspec/rspec-1.3.2-r2.ebuild | 80 ------------------------------------
12 profiles/package.mask | 1 -
13 3 files changed, 82 deletions(-)
14
15 diff --git a/dev-ruby/rspec/Manifest b/dev-ruby/rspec/Manifest
16 index e2ac4e228a2..8418eaaa1e2 100644
17 --- a/dev-ruby/rspec/Manifest
18 +++ b/dev-ruby/rspec/Manifest
19 @@ -1,4 +1,3 @@
20 -DIST rspec-1.3.2.gem 214016 SHA256 cced85c55b92477272d157ea92b925676db76c373f8040a62b8dbe1365296aba SHA512 c4a02214ce825fa3c03c7332963aaa04313687ba343ee1c9a33d40b0b22c9007f4dade734ed388a986d32a5bd64f413edd4a6c508c5f81161530b87960b4a315 WHIRLPOOL d4bdbfbbadc2e4861dc24002ced78e3c560384c628db545e9f3dae3ee11028310f888ad1b225f65792fd418136983011e33667ab3f8138ed712b69f0bf1566bc
21 DIST rspec-2.14.1.gem 4608 SHA256 4f9fc6c58696faa22571ca80d710fd0e4f30eaeb700155968d36df303f279e8c SHA512 cb5f7b720860c7a0f9f3aabf08b2b6ebf0a6cd220fb019c4b9a03368b9fd5b8049c3a374dff1251d261f6d0046f120e574f59b16f3775a478c04bb691785f720 WHIRLPOOL 760e9cf6e61ab097f797d0900bcf4341749a6502d620de2ec3d7bde228e417f4b72a7bdd9f622445314b0890af06307e5545949bebfb6c783aa9cea463158ee5
22 DIST rspec-2.99.0.gem 5632 SHA256 432b31d528aac0dd192b3fa7c83f6cc22dec4a0385fb4020d293cc6777870393 SHA512 bcdf5e86938b102200144c49370e0a0691e39a8720048df2eab1a55f95a5bc5e4ced84c7da86d0ddc83ee4ce0f40602c2ae7ee10e55dccf8bb8b769ab048ebb8 WHIRLPOOL 7c71c569e3dd2a94f4564298c7af1069d29c0a1ca8b6045cd5b8ba0ae6833fa2e948b572d048397adc2aae90578e2cdf1f98e3fb0197697927538e925bef7b1c
23 DIST rspec-3.3.0.gem 10240 SHA256 99548f038d0b9e55f670e77edb0f1ebcaf127d456c64a1adff803d158efec5ae SHA512 cafc2bcfae261da8f990a8c6327db88f800d73c9fed2dbf4ca360930376906ae6621349ac9cc92b900e069647eb9d1dde1e41feb6ba25b84d30228ae038efbd4 WHIRLPOOL ecf1b141131b60c9b074ed09d794bfc797487c369aa3e9e632c6ca187760b43063fb9eb3d4b354e7516bc8cbbf4f44069afd365020befe1ecfd374c67ea11907
24
25 diff --git a/dev-ruby/rspec/rspec-1.3.2-r2.ebuild b/dev-ruby/rspec/rspec-1.3.2-r2.ebuild
26 deleted file mode 100644
27 index b4e2dcabaae..00000000000
28 --- a/dev-ruby/rspec/rspec-1.3.2-r2.ebuild
29 +++ /dev/null
30 @@ -1,80 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -# ruby22: incompatible code
37 -USE_RUBY="ruby20 ruby21"
38 -
39 -RUBY_FAKEGEM_TASK_TEST="spec"
40 -
41 -RUBY_FAKEGEM_TASK_DOC=""
42 -RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc TODO.txt Ruby1.9.rdoc Upgrade.rdoc"
43 -
44 -RUBY_FAKEGEM_BINWRAP="spec"
45 -
46 -RUBY_FAKEGEM_GEMSPEC="rspec.gemspec"
47 -
48 -inherit ruby-fakegem
49 -
50 -DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
51 -HOMEPAGE="http://rspec.rubyforge.org/"
52 -
53 -LICENSE="MIT"
54 -SLOT="0"
55 -KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
56 -IUSE=""
57 -
58 -# it's actually optional, but tests fail if it's not installed and
59 -# some other package might fail tests, so require it anyway.
60 -ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.2"
61 -
62 -RDEPEND="!<dev-ruby/rspec-rails-${PV}"
63 -
64 -# We should add nokogiri here to make sure that we test as much as
65 -# possible, but since it's yet unported to 1.9 and the nokogiri-due
66 -# tests fail for sure, we'll be waiting on it.
67 -ruby_add_bdepend "test? (
68 - >=dev-ruby/hoe-2.0.0
69 - dev-ruby/zentest
70 - >=dev-ruby/syntax-1.0
71 - >=dev-ruby/fakefs-0.2.1 )"
72 -ruby_add_bdepend "test? ( ~dev-ruby/test-unit-1.2.3 )"
73 -
74 -all_ruby_prepare() {
75 - # Avoid dependency on git.
76 - sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
77 -
78 - # Replace reference to /tmp to our temporary directory to avoid
79 - # sandbox-related failure.
80 - sed -i \
81 - -e "s:/tmp:${T}:" \
82 - spec/spec/runner/command_line_spec.rb || die
83 -
84 - # Avoid unneeded dependency on bundler
85 - sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die
86 -
87 - # Avoid the formatter specs since they require output files for each
88 - # ruby version and these are not present for any current ruby
89 - # version.
90 - rm spec/spec/runner/formatter/{html,text_mate}_formatter_spec.rb || die
91 -
92 - # Drop heckle dependency.
93 - rm spec/spec/runner/heckler_spec.rb spec/spec/runner/heckle_runner_spec.rb || die
94 - sed -i -e '381,398 s:^:#:' spec/spec/runner/option_parser_spec.rb || die
95 -
96 - # Avoid a spec that may fail on unimportant whitespace differences.
97 - sed -e '/Diff in context format/,/^end/ s:^:#:' \
98 - -i spec/spec/expectations/differs/default_spec.rb || die
99 -
100 - # Remove broken spec.opts related tests. These were always broken
101 - # because they don't set up state properly, but only with
102 - # >=fakefs-0.4.2 this started throwing exceptions, bug 340385.
103 - sed -i -e '/implicitly loading spec/,/^ end/ s:^:#:' spec/spec/runner/option_parser_spec.rb || die
104 -
105 -}
106 -
107 -src_test() {
108 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
109 - ruby-ng_src_test
110 -}
111
112 diff --git a/profiles/package.mask b/profiles/package.mask
113 index 11a048be09b..491415a97ef 100644
114 --- a/profiles/package.mask
115 +++ b/profiles/package.mask
116 @@ -517,7 +517,6 @@ sys-apps/systemd-sysv-utils
117 # Mask ruby21-only packages for removal in 30 days
118 # Old slots that are ruby21-only
119 dev-ruby/prawn:1
120 -dev-ruby/rspec:0
121
122 # Thomas Deutschmann <whissi@g.o> (17 Jun 2017)
123 # Unmaintained in Gentoo repository; Multiple vulnerabilities