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/text-hyphen/
Date: Sun, 19 Mar 2023 07:14:52
Message-Id: 1679210083.ccbc4d21724c741041bc0820585a8ff315163854.graaff@gentoo
1 commit: ccbc4d21724c741041bc0820585a8ff315163854
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 19 07:06:26 2023 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 07:14:43 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccbc4d21
7
8 dev-ruby/text-hyphen: add 1.5.0
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/text-hyphen/Manifest | 1 +
13 dev-ruby/text-hyphen/text-hyphen-1.5.0.ebuild | 28 +++++++++++++++++++++++++++
14 2 files changed, 29 insertions(+)
15
16 diff --git a/dev-ruby/text-hyphen/Manifest b/dev-ruby/text-hyphen/Manifest
17 index 60c5601b1b0d..a58f959cf317 100644
18 --- a/dev-ruby/text-hyphen/Manifest
19 +++ b/dev-ruby/text-hyphen/Manifest
20 @@ -1 +1,2 @@
21 DIST text-hyphen-1.4.1.gem 751616 BLAKE2B 4a6d6a9b430c2dee2a486dde9f49405b98bc32fe8f96448c0cbe8d55f416c4e4e9bef5ae3adb57576dee6fa285680fc57b958cb279786872c8d95282cbf72e73 SHA512 4a6667aff01e56afce79302f46d0afdbf9c965ad80dbf9a7266a213143e6b6bc2cb00092d26900286bf72a700e47be6b0860cfdf87fa2856477db02261f9ef3d
22 +DIST text-hyphen-1.5.0.gem 836096 BLAKE2B 702363b99c33e614dab5b2509d0b77e5f37ca2f401e2c13fab466aec5bbc4f24247fe306ed6f7ed16c3e3b8cad35ca5948725175759827ec9a1b45642a7399ea SHA512 7390b057f0fe4918aa98811adc3922bf6b959aedbf327a035324fc92935675f8016574519d0ff34e11c24bc4b8fe0d110b296344ed8a7cfae018ca5a7d6ce5c9
23
24 diff --git a/dev-ruby/text-hyphen/text-hyphen-1.5.0.ebuild b/dev-ruby/text-hyphen/text-hyphen-1.5.0.ebuild
25 new file mode 100644
26 index 000000000000..f19b311a4a1b
27 --- /dev/null
28 +++ b/dev-ruby/text-hyphen/text-hyphen-1.5.0.ebuild
29 @@ -0,0 +1,28 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +USE_RUBY="ruby27 ruby30 ruby31"
36 +
37 +RUBY_FAKEGEM_EXTRADOC="README.md History.md"
38 +
39 +inherit ruby-fakegem
40 +
41 +DESCRIPTION="Hyphenates words according to the rules of the language the word is written in"
42 +HOMEPAGE="https://rubygems.org/gems/text-hyphen"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
47 +IUSE=""
48 +
49 +ruby_add_bdepend "
50 + test? (
51 + >=dev-ruby/hoe-2.8.0
52 + dev-ruby/test-unit:2
53 + )"
54 +
55 +all_ruby_prepare() {
56 + sed -i -e '2igem "test-unit", ">= 2.0"' test/test_*.rb || die
57 +}