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_gntp/
Date: Mon, 22 Nov 2021 19:11:37
Message-Id: 1637608287.6217b01f93ebc71015d6d126e33d974cd8102a7d.graaff@gentoo
1 commit: 6217b01f93ebc71015d6d126e33d974cd8102a7d
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 22 19:00:50 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 22 19:11:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6217b01f
7
8 dev-ruby/ruby_gntp: EAPI 8
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/ruby_gntp/ruby_gntp-0.3.4-r1.ebuild | 28 ++++++++++++++++++++++++++++
14 1 file changed, 28 insertions(+)
15
16 diff --git a/dev-ruby/ruby_gntp/ruby_gntp-0.3.4-r1.ebuild b/dev-ruby/ruby_gntp/ruby_gntp-0.3.4-r1.ebuild
17 new file mode 100644
18 index 000000000000..5fe27dde44c9
19 --- /dev/null
20 +++ b/dev-ruby/ruby_gntp/ruby_gntp-0.3.4-r1.ebuild
21 @@ -0,0 +1,28 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +USE_RUBY="ruby26 ruby27"
27 +
28 +RUBY_FAKEGEM_RECIPE_TEST="rspec"
29 +RUBY_FAKEGEM_EXTRADOC="README ChangeLog"
30 +
31 +inherit ruby-fakegem
32 +
33 +DESCRIPTION="Ruby library for GNTP(Growl Notification Transport Protocol)"
34 +HOMEPAGE="https://github.com/snaka/ruby_gntp"
35 +
36 +LICENSE="MIT"
37 +SLOT="0"
38 +KEYWORDS="~amd64"
39 +IUSE="test"
40 +
41 +ruby_add_bdepend "test? ( dev-ruby/rr )"
42 +
43 +all_ruby_prepare() {
44 + mv test spec || die
45 + sed -i -e "s/Spec::Runner/RSpec/" \
46 + -e "s#\.\./lib/##"\
47 + spec/ruby_gntp_spec.rb || die
48 +
49 +}