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/simpleidn/
Date: Thu, 13 Jan 2022 06:57:16
Message-Id: 1642057028.00c26d342285bb332ef453614b45042cd0eb1f03.graaff@gentoo
1 commit: 00c26d342285bb332ef453614b45042cd0eb1f03
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 13 06:48:38 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 13 06:57:08 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c26d34
7
8 dev-ruby/simpleidn: add ruby30
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/simpleidn/simpleidn-0.2.1-r1.ebuild | 31 ++++++++++++++++++++++++++++
14 1 file changed, 31 insertions(+)
15
16 diff --git a/dev-ruby/simpleidn/simpleidn-0.2.1-r1.ebuild b/dev-ruby/simpleidn/simpleidn-0.2.1-r1.ebuild
17 new file mode 100644
18 index 000000000000..d0cc8bdfd09c
19 --- /dev/null
20 +++ b/dev-ruby/simpleidn/simpleidn-0.2.1-r1.ebuild
21 @@ -0,0 +1,31 @@
22 +# Copyright 1999-2022 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +
27 +USE_RUBY="ruby26 ruby27 ruby30"
28 +
29 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
30 +
31 +RUBY_FAKEGEM_EXTRADOC="README.rdoc"
32 +RUBY_FAKEGEM_EXTRAINSTALL="tables"
33 +
34 +RUBY_FAKEGEM_GEMSPEC="simpleidn.gemspec"
35 +
36 +inherit ruby-fakegem
37 +
38 +DESCRIPTION="Allows easy conversion from punycode ACE to unicode UTF-8 strings and vice-versa"
39 +HOMEPAGE="https://github.com/mmriis/simpleidn"
40 +SRC_URI="https://github.com/mmriis/simpleidn/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +KEYWORDS="~amd64 ~arm ~x86"
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +IUSE=""
46 +
47 +ruby_add_rdepend ">=dev-ruby/unf-0.1.4 =dev-ruby/unf-0.1*"
48 +
49 +all_ruby_prepare() {
50 + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
51 + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
52 +}