1 |
commit: 45101549c3f7dcd716c63454516b29d3531836cf |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 2 05:36:24 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 2 05:36:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45101549 |
7 |
|
8 |
dev-ruby/ruby-gettext: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-ruby/ruby-gettext/Manifest | 1 - |
13 |
dev-ruby/ruby-gettext/ruby-gettext-3.2.2.ebuild | 65 ------------------------- |
14 |
2 files changed, 66 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-gettext/Manifest b/dev-ruby/ruby-gettext/Manifest |
17 |
index b8c55bcde39..4111f0e62e4 100644 |
18 |
--- a/dev-ruby/ruby-gettext/Manifest |
19 |
+++ b/dev-ruby/ruby-gettext/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST gettext-3.2.2.gem 283648 BLAKE2B d9095e11f3f92ac37f84aad9059e5740af07186caad963b6cbd6081329031122ed2acf402565b5e8bf7c6f51b18d045fab09e6d390effe2f0d7d66981f253efd SHA512 c6806a4f2b9c8519cccdf7651b3482e5938015323648cb1b82acd0632d88ea5c7cdabd925eecb2d4e17d0d396126d4e2ebaac26241c3c7b4f61e187cd4b3133f |
22 |
DIST gettext-3.2.9.gem 285696 BLAKE2B a7bc40b2102f5b937d5f0e407dbaa23ead1da59eb9284c10a249c59548d0e2ad5fcd56b8855439893d2d31b57e0109bb6a9d5cc2d24075f5e360dc16b9291137 SHA512 21496c38cfc16a2b280f30bb94ff4560007eaa7f02c2341cb26aca2969a663c0863cdb650b4eadfd262d8585111dfb572e2ebc66a7a879045de50bf9da80a501 |
23 |
|
24 |
diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.2.2.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.2.2.ebuild |
25 |
deleted file mode 100644 |
26 |
index 26e0e20c816..00000000000 |
27 |
--- a/dev-ruby/ruby-gettext/ruby-gettext-3.2.2.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,65 +0,0 @@ |
30 |
-# Copyright 1999-2017 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=5 |
34 |
- |
35 |
-USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
36 |
- |
37 |
-RUBY_FAKEGEM_NAME="${PN/ruby-/}" |
38 |
-RUBY_FAKEGEM_VERSION="${PV%_*}" |
39 |
- |
40 |
-RUBY_FAKEGEM_RECIPE_DOC="yard" |
41 |
-RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md" |
42 |
- |
43 |
-RUBY_FAKEGEM_TASK_TEST="none" |
44 |
- |
45 |
-RUBY_FAKEGEM_EXTRAINSTALL="locale po" |
46 |
- |
47 |
-inherit ruby-fakegem |
48 |
- |
49 |
-DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package" |
50 |
-HOMEPAGE="http://ruby-gettext.github.io/" |
51 |
- |
52 |
-KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 ~sparc x86" |
53 |
-IUSE="doc test" |
54 |
-SLOT="0" |
55 |
-LICENSE="|| ( Ruby LGPL-3+ )" |
56 |
- |
57 |
-ruby_add_rdepend ">=dev-ruby/locale-2.0.5 >=dev-ruby/text-1.3.0" |
58 |
- |
59 |
-ruby_add_bdepend "doc? ( dev-ruby/yard ) |
60 |
- dev-ruby/racc" |
61 |
-ruby_add_bdepend "test? ( |
62 |
- dev-ruby/test-unit:2 |
63 |
- dev-ruby/test-unit-rr )" |
64 |
- |
65 |
-RDEPEND+=" sys-devel/gettext" |
66 |
-DEPEND+=" sys-devel/gettext" |
67 |
- |
68 |
-all_ruby_prepare() { |
69 |
- # Fix broken racc invocation |
70 |
- sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die |
71 |
- |
72 |
- # Avoid bundler dependency |
73 |
- sed -i -e '/bundler/,/helper.install/ s:^:#:' \ |
74 |
- -e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die |
75 |
- |
76 |
- # Avoid dependency on developer-specific tools. |
77 |
- sed -i -e '/notify/ s:^:#:' test/run-test.rb || die |
78 |
- |
79 |
- # Avoid tests failing due to a missing test file. |
80 |
- sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die |
81 |
-} |
82 |
- |
83 |
-each_ruby_test() { |
84 |
- # Upstream tries to daisy-chain rake calls but they fail badly |
85 |
- # with our setup, so run it manually. |
86 |
- ${RUBY} test/run-test.rb || die "tests failed" |
87 |
-} |
88 |
- |
89 |
-all_ruby_install() { |
90 |
- all_fakegem_install |
91 |
- |
92 |
- insinto /usr/share/doc/${PF} |
93 |
- doins -r samples |
94 |
-} |