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/thor/
Date: Fri, 27 Apr 2018 08:33:15
Message-Id: 1524817957.120e215359e328aa90ae609b554e15ee8ac9e500.graaff@gentoo
1 commit: 120e215359e328aa90ae609b554e15ee8ac9e500
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 27 07:19:22 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 27 08:32:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120e2153
7
8 dev-ruby/thor: cleanup
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-ruby/thor/Manifest | 1 -
13 dev-ruby/thor/thor-0.19.1.ebuild | 64 ----------------------------------------
14 2 files changed, 65 deletions(-)
15
16 diff --git a/dev-ruby/thor/Manifest b/dev-ruby/thor/Manifest
17 index 9428c375e54..0b9619b1d27 100644
18 --- a/dev-ruby/thor/Manifest
19 +++ b/dev-ruby/thor/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST thor-git-0.19.1.tgz 86389 BLAKE2B e5fdadf13639c93cf36d8ce3c0124eed5bdfc738534652df75863728fd91241362dd5bba57d7bbef087b6f28be6e14bcb361b7ecaeea180012140f433ac33e3d SHA512 67aeaa2822b462c59ea9fd1a197222ce997b0edd30eb714b0a303c816acff82f4fb10a650b8a3c508c796426517ba25a462551fbc73ed7b33d4e16207cad8991
22 DIST thor-git-0.19.4.tgz 88733 BLAKE2B 8be54310cc4bf4a0308e6b103832831b89285003bb22a679986cd02636aaee57a25aa606f3e99bf532961a4e1d3625c46bfdb874a09f66cab85a21e5f7ed22d6 SHA512 a5cc52b23806e6104b12f924324960f2567bcd6c73b72ad47c33da222201b0377e7677b996698774de8adf3eff551926393785323ecf46cb59d72eb0e5b05aa0
23 DIST thor-git-0.20.0.tgz 91758 BLAKE2B 86e4079a86a9c65852e710e40e49e915afe5522512f061ecc62aed48acc08a5397cc82d45cff7c4b1dd549ec57d8699b9afe7c391ac9ab838d1ba9100f1f058a SHA512 aa5344c94cad7c33dd0582409dbcf9bd109bf97b37131357a4cc8a66317acf8781460e8fe5532b301a74521010be59bb34ac1c68bc01ad3140bfe73fedc2a451
24
25 diff --git a/dev-ruby/thor/thor-0.19.1.ebuild b/dev-ruby/thor/thor-0.19.1.ebuild
26 deleted file mode 100644
27 index 5c4bcef80a7..00000000000
28 --- a/dev-ruby/thor/thor-0.19.1.ebuild
29 +++ /dev/null
30 @@ -1,64 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -USE_RUBY="ruby20 ruby21 ruby22 ruby23"
36 -
37 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
38 -RUBY_FAKEGEM_RECIPE_TEST="rspec"
39 -RUBY_FAKEGEM_DOCDIR="rdoc"
40 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
41 -RUBY_FAKEGEM_BINWRAP="thor"
42 -
43 -inherit ruby-fakegem
44 -
45 -DESCRIPTION="A scripting framework that replaces rake and sake"
46 -HOMEPAGE="http://whatisthor.com/"
47 -
48 -SRC_URI="https://github.com/erikhuda/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
49 -
50 -LICENSE="MIT"
51 -SLOT="0"
52 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
53 -IUSE="doc"
54 -
55 -# fakeweb is not compatible with ruby22. Upstream has switched to
56 -# webmock but leads to circular dependencies via childlabor's
57 -# dependencies, so skip tests for ruby22 for now.
58 -USE_RUBY="ruby20 ruby21" ruby_add_bdepend "
59 - test? (
60 - >=dev-ruby/fakeweb-1.3
61 - dev-ruby/childlabor
62 - )"
63 -
64 -all_ruby_prepare() {
65 - # Remove rspec default options (as we might not have the last
66 - # rspec).
67 - rm .rspec || die
68 -
69 - # Remove Bundler
70 - #rm Gemfile || die
71 - sed -i -e '/[Bb]undler/d' Thorfile || die
72 -
73 - # Remove mandatory coverage collection using simplecov which is not
74 - # packaged.
75 - sed -i -e '/require .simplecov/,/^end/ s:^:#:' spec/helper.rb || die
76 -
77 - # Avoid a spec that requires UTF-8 support, so LANG=C still works,
78 - # bug 430402
79 - sed -i -e '/uses maximum terminal width/,/end/ s:^:#:' spec/shell/basic_spec.rb || die
80 -}
81 -
82 -each_ruby_test() {
83 - case ${RUBY} in
84 - *ruby23)
85 - einfo "Skipping tests due to circular dependencies"
86 - ;;
87 - *ruby22)
88 - einfo "Skipping tests due to circular dependencies"
89 - ;;
90 - *)
91 - ruby-ng_rspec spec || die
92 - ;;
93 - esac
94 -}