Gentoo Archives: gentoo-commits

From: Naohiro Aota <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 30 Jul 2020 07:21:46
Message-Id: 1596093685.899f0da4b5355d5f7da421438fc1d16eca6e9ec1.naota@gentoo
1 commit: 899f0da4b5355d5f7da421438fc1d16eca6e9ec1
2 Author: Naohiro Aota <naota <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 15 04:02:36 2020 +0000
4 Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 07:21:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899f0da4
7
8 ruby-ng-gnome2.eclass: drop support for 0.19.x
9
10 The official tree no longer have ruby-gnome2 packages with 0.19.x. Drop
11 support for them.
12
13 Signed-off-by: Naohiro Aota <naota <AT> gentoo.org>
14
15 eclass/ruby-ng-gnome2.eclass | 14 +++++---------
16 1 file changed, 5 insertions(+), 9 deletions(-)
17
18 diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
19 index ce52f27789a..a6e6fb089c8 100644
20 --- a/eclass/ruby-ng-gnome2.eclass
21 +++ b/eclass/ruby-ng-gnome2.eclass
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2018 Gentoo Authors
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 # @ECLASS: ruby-ng-gnome2.eclass
28 @@ -24,7 +24,7 @@ RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN#ruby-}}"
29 RUBY_FAKEGEM_TASK_TEST=""
30 RUBY_FAKEGEM_TASK_DOC=""
31
32 -inherit ruby-fakegem multilib versionator
33 +inherit ruby-fakegem multilib
34
35 IUSE=""
36
37 @@ -32,13 +32,9 @@ IUSE=""
38 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
39
40 subbinding=${PN#ruby-}
41 -if [ $(get_version_component_range "1-2") == "0.19" ]; then
42 - subbinding=${subbinding/%2}
43 -else
44 - subbinding=${subbinding/-/_}
45 - DEPEND="virtual/pkgconfig"
46 - ruby_add_bdepend "dev-ruby/pkg-config"
47 -fi
48 +subbinding=${subbinding/-/_}
49 +DEPEND="virtual/pkgconfig"
50 +ruby_add_bdepend "dev-ruby/pkg-config"
51 if has "${EAPI:-0}" 0 1 2 3 ; then
52 S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
53 else