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/gpgme/
Date: Sat, 25 Jun 2022 08:55:58
Message-Id: 1656147350.d1dcc16babadc24cb5075fbb609f2d1b1169d1f6.graaff@gentoo
1 commit: d1dcc16babadc24cb5075fbb609f2d1b1169d1f6
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 08:04:11 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 08:55:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1dcc16b
7
8 dev-ruby/gpgme: drop 2.0.20-r2
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/gpgme/gpgme-2.0.20-r2.ebuild | 55 -----------------------------------
13 1 file changed, 55 deletions(-)
14
15 diff --git a/dev-ruby/gpgme/gpgme-2.0.20-r2.ebuild b/dev-ruby/gpgme/gpgme-2.0.20-r2.ebuild
16 deleted file mode 100644
17 index 5b45be052d93..000000000000
18 --- a/dev-ruby/gpgme/gpgme-2.0.20-r2.ebuild
19 +++ /dev/null
20 @@ -1,55 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
26 -
27 -RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc"
28 -
29 -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
30 -
31 -inherit ruby-ng ruby-fakegem flag-o-matic
32 -
33 -DESCRIPTION="Ruby language binding for GnuPG Made Easy"
34 -HOMEPAGE="https://github.com/ueno/ruby-gpgme"
35 -SRC_URI="https://github.com/ueno/ruby-gpgme/archive/v${PV}.tar.gz -> ruby-${P}.tar.gz"
36 -RUBY_S="ruby-${P}"
37 -
38 -LICENSE="LGPL-2.1+"
39 -SLOT="0"
40 -KEYWORDS="~amd64 ~x86"
41 -IUSE=""
42 -
43 -RDEPEND="
44 - app-crypt/gpgme:="
45 -DEPEND="${RDEPEND}"
46 -
47 -ruby_add_bdepend "test? ( dev-ruby/mocha:0.14 )"
48 -
49 -all_ruby_prepare() {
50 - sed -i -e '/\(coverall\|bundler\|ruby-debug\|byebug\)/I s:^:#:' \
51 - -e '3igem "mocha", "~> 0.14"' \
52 - test/test_helper.rb || die
53 -
54 - # Remove failing tests for now. This package was added without
55 - # running any tests :-(
56 - rm -f test/{ctx,crypto}_test.rb || die
57 -
58 - sed -i -e '/portile/d ; /rubyforge/d' ${RUBY_FAKEGEM_GEMSPEC} || die
59 -}
60 -
61 -each_ruby_configure() {
62 - append-flags -fPIC
63 - export RUBY_GPGME_USE_SYSTEM_LIBRARIES=1
64 - ${RUBY} -C ext "${S}/ext/gpgme/extconf.rb" || die "extconf.rb failed"
65 -}
66 -
67 -each_ruby_compile() {
68 - emake V=1 -C ext archflag="${LDFLAGS}"
69 - cp -f "${S}/ext/gpgme_n.so" "${S}/lib" || die
70 -}
71 -
72 -each_ruby_test() {
73 - unset DISPLAY GPG_AGENT_INFO GPG_TTY
74 - MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
75 -}