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/bundler/
Date: Sat, 28 Apr 2018 07:09:11
Message-Id: 1524899125.d25b655c05c09d32b4f0c61c5954c1f65c97277d.graaff@gentoo
1 commit: d25b655c05c09d32b4f0c61c5954c1f65c97277d
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 28 06:54:56 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 28 07:05:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25b655c
7
8 dev-ruby/bundler: cleanup
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-ruby/bundler/Manifest | 2 -
13 dev-ruby/bundler/bundler-1.12.6.ebuild | 70 ----------------------------------
14 dev-ruby/bundler/bundler-1.13.7.ebuild | 70 ----------------------------------
15 3 files changed, 142 deletions(-)
16
17 diff --git a/dev-ruby/bundler/Manifest b/dev-ruby/bundler/Manifest
18 index a7a820e8668..fc755140a6f 100644
19 --- a/dev-ruby/bundler/Manifest
20 +++ b/dev-ruby/bundler/Manifest
21 @@ -1,6 +1,4 @@
22 DIST bundler-1.12.5.tar.gz 371552 BLAKE2B 0aca136308d9c393c945037dc18f7b8e7563017933aa5ef3cf14b50e095c200b82046a9d8cb00641e16507d588fe2aec8da59b22fc063bb4ecfb55b36627e981 SHA512 d42b2a10b97ab9724b9f3c6d1493a46ac212a918acc556ae90faed63b128190fd365cc0ba8c9ed9db30fc285e5c4d4183ddb698eee9a8607e9e40e860e78518d
23 -DIST bundler-1.12.6.tar.gz 371581 BLAKE2B 7dd5ae30bef1f2f551b83d10dc1bb70781072577eaa77889512c572c4b1891a56a31a7087eb021cab4c73f150943a958652bddcc9266b68fab794bc8547067bb SHA512 3015841ec31f06d4cc50d6fdca97efb429cd2ce552907f3e35f0f7b096da0d27752d4a9534dd77377d99e16859b8ef384015a1efe9127d66eccaeede86da3221
24 -DIST bundler-1.13.7.tar.gz 431233 BLAKE2B 643589d6fa41cd498070a1ee70e2ae064c2a92abe637cd34f8d07e20ef35345ffbfaaeb077f7a9e2f7271b1cafbe83840d1a4c72d8eabaf58f5d235ac3069bc8 SHA512 aa3984591049726f84ed79ca99aaedfa25df551d040d2245a6ecdcc5c3b809d7124ec587081e84cd87edf911744f4ee88c8cde0923a318cbaa2d514de38c85c8
25 DIST bundler-1.14.6.gem 319488 BLAKE2B 5c6e51a2b1c817add90b88cb58cd4012ab8d2a11eaa7ac61c679515e06418fe564ed57c8a7438c1ab1ff4cbe92108806e91f44b24e1e17296c5e9588c29c7cb0 SHA512 cf333e266db0690582252a9248f3579a5be9e753c92c0b92e25d4542ddbbc15bfb7e1571fe9886264c0eba22c4510d118192e8f5f50f647b27eea83d68585238
26 DIST bundler-1.15.4.gem 337408 BLAKE2B 348ddb218fa7ce1999ed428b4f742b3e2f692beb1c4ec757441d47a921340d7189a0db80a91e57900d81df976c997706d535c922b50c350d5d3a784078869fe2 SHA512 15736d6bbae792fc029f078705cb2a4eae5f9f78e1219eb3f2d0d0e2c3092df3da97abd3b107c9abbbe680ed99f11d450b0402ab9bf3313cb7aa60e3f631bed8
27 DIST bundler-1.16.1.gem 349696 BLAKE2B 6057aed2e3bffdfa7f3ea8489c4ae79d9241b7b300fd35c4a2c14899ff306183165d1554be793a1856d9fd1c696161161049519fc8915800c68c60a9a5b116d8 SHA512 2cca87aa17b61df98ef98a648a7d7cfe0529015f1278e8cb2298bb12544157933d723bd666d945bcdbaceacbf97a092a3848e2a587bd01cffa73c662d37d4834
28
29 diff --git a/dev-ruby/bundler/bundler-1.12.6.ebuild b/dev-ruby/bundler/bundler-1.12.6.ebuild
30 deleted file mode 100644
31 index 0eb339fecb6..00000000000
32 --- a/dev-ruby/bundler/bundler-1.12.6.ebuild
33 +++ /dev/null
34 @@ -1,70 +0,0 @@
35 -# Copyright 1999-2016 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -
40 -USE_RUBY="ruby20 ruby21 ruby22 ruby23"
41 -
42 -#RUBY_FAKEGEM_RECIPE_TEST="rspec3"
43 -
44 -# No documentation task
45 -RUBY_FAKEGEM_TASK_DOC=""
46 -RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md ISSUES.md"
47 -
48 -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
49 -
50 -RUBY_FAKEGEM_BINDIR="exe"
51 -
52 -inherit ruby-fakegem
53 -
54 -DESCRIPTION="An easy way to vendor gem dependencies"
55 -HOMEPAGE="https://github.com/carlhuda/bundler"
56 -SRC_URI="https://github.com/carlhuda/bundler/archive/v${PV}.tar.gz -> ${P}.tar.gz"
57 -
58 -LICENSE="MIT"
59 -SLOT="0"
60 -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"
61 -IUSE="doc test"
62 -
63 -ruby_add_rdepend virtual/rubygems
64 -
65 -ruby_add_bdepend "doc? ( app-text/ronn )"
66 -
67 -# ruby_add_bdepend "test? ( app-text/ronn )"
68 -
69 -# The specs require a number of gems to be installed in a temporary
70 -# directory, but this requires network access. All tests should still
71 -# pass with network access.
72 -RESTRICT="test"
73 -
74 -RDEPEND+=" dev-vcs/git"
75 -
76 -all_ruby_prepare() {
77 - # Bundler only supports running the specs from git:
78 - # https://github.com/carlhuda/bundler/issues/issue/738
79 - sed -i -e '/when Bundler is bundled/,/^ end/ s:^:#:' spec/runtime/setup_spec.rb || die
80 -
81 - # Fails randomly and no clear cause can be found. Might be related
82 - # to bug 346357. This was broken in previous releases without a
83 - # failing spec, so patch out this spec for now since it is not a
84 - # regression.
85 - sed -i -e '/works when you bundle exec bundle/,/^ end/ s:^:#:' spec/install/deploy_spec.rb || die
86 -
87 - # Remove unneeded git dependency from gemspec, which we need to use
88 - # for bug 491826
89 - sed -i -e '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
90 -
91 - # Avoid specs that are not compatible with all rspec versions.
92 - sed -e '/has no malformed whitespace/,/^ end/ s:^:#:' \
93 - -e '/uses double-quotes consistently/,/^ end/ s:^:#:' \
94 - -i spec/quality_spec.rb || die
95 -
96 - # Avoid spec failing with git 2.0.
97 - sed -i -e '/on releasing/,/^ end/ s:^:#:' spec/bundler/gem_helper_spec.rb || die
98 -}
99 -
100 -each_ruby_compile() {
101 - if use doc ; then
102 - ${RUBY} -S rake man:build || die
103 - fi
104 -}
105
106 diff --git a/dev-ruby/bundler/bundler-1.13.7.ebuild b/dev-ruby/bundler/bundler-1.13.7.ebuild
107 deleted file mode 100644
108 index 1a076677097..00000000000
109 --- a/dev-ruby/bundler/bundler-1.13.7.ebuild
110 +++ /dev/null
111 @@ -1,70 +0,0 @@
112 -# Copyright 1999-2017 Gentoo Foundation
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=5
116 -
117 -USE_RUBY="ruby21 ruby22 ruby23 ruby24"
118 -
119 -#RUBY_FAKEGEM_RECIPE_TEST="rspec3"
120 -
121 -# No documentation task
122 -RUBY_FAKEGEM_TASK_DOC=""
123 -RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md ISSUES.md"
124 -
125 -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
126 -
127 -RUBY_FAKEGEM_BINDIR="exe"
128 -
129 -inherit ruby-fakegem
130 -
131 -DESCRIPTION="An easy way to vendor gem dependencies"
132 -HOMEPAGE="https://github.com/carlhuda/bundler"
133 -SRC_URI="https://github.com/carlhuda/bundler/archive/v${PV}.tar.gz -> ${P}.tar.gz"
134 -
135 -LICENSE="MIT"
136 -SLOT="0"
137 -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"
138 -IUSE="doc test"
139 -
140 -ruby_add_rdepend virtual/rubygems
141 -
142 -ruby_add_bdepend "doc? ( app-text/ronn )"
143 -
144 -# ruby_add_bdepend "test? ( app-text/ronn )"
145 -
146 -# The specs require a number of gems to be installed in a temporary
147 -# directory, but this requires network access. All tests should still
148 -# pass with network access.
149 -RESTRICT="test"
150 -
151 -RDEPEND+=" dev-vcs/git"
152 -
153 -all_ruby_prepare() {
154 - # Bundler only supports running the specs from git:
155 - # https://github.com/carlhuda/bundler/issues/issue/738
156 - sed -i -e '/when Bundler is bundled/,/^ end/ s:^:#:' spec/runtime/setup_spec.rb || die
157 -
158 - # Fails randomly and no clear cause can be found. Might be related
159 - # to bug 346357. This was broken in previous releases without a
160 - # failing spec, so patch out this spec for now since it is not a
161 - # regression.
162 - sed -i -e '/works when you bundle exec bundle/,/^ end/ s:^:#:' spec/install/deploy_spec.rb || die
163 -
164 - # Remove unneeded git dependency from gemspec, which we need to use
165 - # for bug 491826
166 - sed -i -e '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
167 -
168 - # Avoid specs that are not compatible with all rspec versions.
169 - sed -e '/has no malformed whitespace/,/^ end/ s:^:#:' \
170 - -e '/uses double-quotes consistently/,/^ end/ s:^:#:' \
171 - -i spec/quality_spec.rb || die
172 -
173 - # Avoid spec failing with git 2.0.
174 - sed -i -e '/on releasing/,/^ end/ s:^:#:' spec/bundler/gem_helper_spec.rb || die
175 -}
176 -
177 -each_ruby_compile() {
178 - if use doc ; then
179 - ${RUBY} -S rake man:build || die
180 - fi
181 -}