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/ruby-gettext/
Date: Fri, 27 Apr 2018 09:13:30
Message-Id: 1524820392.430b387cb1cd074b4d307075b2d9fdaca853f621.graaff@gentoo
1 commit: 430b387cb1cd074b4d307075b2d9fdaca853f621
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 27 09:07:47 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 27 09:13:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=430b387c
7
8 dev-ruby/ruby-gettext: cleanup
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-ruby/ruby-gettext/Manifest | 2 -
13 dev-ruby/ruby-gettext/ruby-gettext-3.2.3.ebuild | 65 -------------------------
14 dev-ruby/ruby-gettext/ruby-gettext-3.2.6.ebuild | 65 -------------------------
15 3 files changed, 132 deletions(-)
16
17 diff --git a/dev-ruby/ruby-gettext/Manifest b/dev-ruby/ruby-gettext/Manifest
18 index e5da0217cf4..b8c55bcde39 100644
19 --- a/dev-ruby/ruby-gettext/Manifest
20 +++ b/dev-ruby/ruby-gettext/Manifest
21 @@ -1,4 +1,2 @@
22 DIST gettext-3.2.2.gem 283648 BLAKE2B d9095e11f3f92ac37f84aad9059e5740af07186caad963b6cbd6081329031122ed2acf402565b5e8bf7c6f51b18d045fab09e6d390effe2f0d7d66981f253efd SHA512 c6806a4f2b9c8519cccdf7651b3482e5938015323648cb1b82acd0632d88ea5c7cdabd925eecb2d4e17d0d396126d4e2ebaac26241c3c7b4f61e187cd4b3133f
23 -DIST gettext-3.2.3.gem 283648 BLAKE2B b746edbc9effd191a2abcff90f699d7a460845104b76410fab20bfef3294afc51951918441f0912fcadca4f59d810ffde9d5ac16c3de7adde6e5f7508c558bb3 SHA512 a7e6ca4e54a81eba7bd148849823ea480526f6d377d818f89aad28fc4cf79eb7e01dbbbbded441cad143ac806c73241173a1437deddb165ce7f178a9367bc4c5
24 -DIST gettext-3.2.6.gem 284672 BLAKE2B d431abb3b81e0293eca4b8d3f50fb5840d030aa0c61e2f8f1144680d1e69de4404760f4a0d2b48afbc3a2ca9a6a2a943cd3cf49b9784a33bdde6b0136cbef015 SHA512 8d8a820e9d22aae93de69573b4312f7490d0f494bdd27d6b920c29b5100620297d0622ea6dd693e3f7b0b4e1ebfd867de5e7fcfc04633c211ad2f414d23bb36a
25 DIST gettext-3.2.9.gem 285696 BLAKE2B a7bc40b2102f5b937d5f0e407dbaa23ead1da59eb9284c10a249c59548d0e2ad5fcd56b8855439893d2d31b57e0109bb6a9d5cc2d24075f5e360dc16b9291137 SHA512 21496c38cfc16a2b280f30bb94ff4560007eaa7f02c2341cb26aca2969a663c0863cdb650b4eadfd262d8585111dfb572e2ebc66a7a879045de50bf9da80a501
26
27 diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.2.3.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.2.3.ebuild
28 deleted file mode 100644
29 index ed01f2efcb1..00000000000
30 --- a/dev-ruby/ruby-gettext/ruby-gettext-3.2.3.ebuild
31 +++ /dev/null
32 @@ -1,65 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -USE_RUBY="ruby21 ruby22 ruby23"
39 -
40 -RUBY_FAKEGEM_NAME="${PN/ruby-/}"
41 -RUBY_FAKEGEM_VERSION="${PV%_*}"
42 -
43 -RUBY_FAKEGEM_RECIPE_DOC="yard"
44 -RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md"
45 -
46 -RUBY_FAKEGEM_TASK_TEST="none"
47 -
48 -RUBY_FAKEGEM_EXTRAINSTALL="locale po"
49 -
50 -inherit ruby-fakegem
51 -
52 -DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package"
53 -HOMEPAGE="https://ruby-gettext.github.io/"
54 -
55 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
56 -IUSE="doc test"
57 -SLOT="0"
58 -LICENSE="|| ( Ruby LGPL-3+ )"
59 -
60 -ruby_add_rdepend ">=dev-ruby/locale-2.0.5 >=dev-ruby/text-1.3.0"
61 -
62 -ruby_add_bdepend "doc? ( dev-ruby/yard )
63 - dev-ruby/racc"
64 -ruby_add_bdepend "test? (
65 - dev-ruby/test-unit:2
66 - dev-ruby/test-unit-rr )"
67 -
68 -RDEPEND+=" sys-devel/gettext"
69 -DEPEND+=" sys-devel/gettext"
70 -
71 -all_ruby_prepare() {
72 - # Fix broken racc invocation
73 - sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die
74 -
75 - # Avoid bundler dependency
76 - sed -i -e '/bundler/,/helper.install/ s:^:#:' \
77 - -e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die
78 -
79 - # Avoid dependency on developer-specific tools.
80 - sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
81 -
82 - # Avoid tests failing due to a missing test file.
83 - #sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die
84 -}
85 -
86 -each_ruby_test() {
87 - # Upstream tries to daisy-chain rake calls but they fail badly
88 - # with our setup, so run it manually.
89 - ${RUBY} test/run-test.rb || die "tests failed"
90 -}
91 -
92 -all_ruby_install() {
93 - all_fakegem_install
94 -
95 - insinto /usr/share/doc/${PF}
96 - doins -r samples
97 -}
98
99 diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.2.6.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.2.6.ebuild
100 deleted file mode 100644
101 index 50931eb376e..00000000000
102 --- a/dev-ruby/ruby-gettext/ruby-gettext-3.2.6.ebuild
103 +++ /dev/null
104 @@ -1,65 +0,0 @@
105 -# Copyright 1999-2017 Gentoo Foundation
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=6
109 -
110 -USE_RUBY="ruby22 ruby23 ruby24"
111 -
112 -RUBY_FAKEGEM_NAME="${PN/ruby-/}"
113 -RUBY_FAKEGEM_VERSION="${PV%_*}"
114 -
115 -RUBY_FAKEGEM_RECIPE_DOC="yard"
116 -RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md"
117 -
118 -RUBY_FAKEGEM_TASK_TEST="none"
119 -
120 -RUBY_FAKEGEM_EXTRAINSTALL="locale po"
121 -
122 -inherit ruby-fakegem
123 -
124 -DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package"
125 -HOMEPAGE="https://ruby-gettext.github.io/"
126 -
127 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
128 -IUSE="doc test"
129 -SLOT="0"
130 -LICENSE="|| ( Ruby LGPL-3+ )"
131 -
132 -ruby_add_rdepend ">=dev-ruby/locale-2.0.5 >=dev-ruby/text-1.3.0"
133 -
134 -ruby_add_bdepend "doc? ( dev-ruby/yard )
135 - dev-ruby/racc"
136 -ruby_add_bdepend "test? (
137 - dev-ruby/test-unit:2
138 - dev-ruby/test-unit-rr )"
139 -
140 -RDEPEND+=" sys-devel/gettext"
141 -DEPEND+=" sys-devel/gettext"
142 -
143 -all_ruby_prepare() {
144 - # Fix broken racc invocation
145 - sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die
146 -
147 - # Avoid bundler dependency
148 - sed -i -e '/bundler/,/helper.install/ s:^:#:' \
149 - -e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die
150 -
151 - # Avoid dependency on developer-specific tools.
152 - sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
153 -
154 - # Avoid tests failing due to a missing test file.
155 - #sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die
156 -}
157 -
158 -each_ruby_test() {
159 - # Upstream tries to daisy-chain rake calls but they fail badly
160 - # with our setup, so run it manually.
161 - ${RUBY} test/run-test.rb || die "tests failed"
162 -}
163 -
164 -all_ruby_install() {
165 - all_fakegem_install
166 -
167 - insinto /usr/share/doc/${PF}
168 - doins -r samples
169 -}