Gentoo Archives: gentoo-dev

From: Naohiro Aota <naota@g.o>
To: gentoo-dev@l.g.o
Cc: ruby@g.o, Naohiro Aota <naota@g.o>
Subject: [gentoo-dev] [PATCH 1/9] ruby-ng-gnome2.eclass: drop support for 0.19.x
Date: Sat, 15 Feb 2020 12:18:48
Message-Id: 20200215121833.3631177-1-naota@gentoo.org
1 The official tree no longer have ruby-gnome2 packages with 0.19.x. Drop
2 support for them.
3
4 Note: keep versionator inheritance because a later patch use it.
5
6 Signed-off-by: Naohiro Aota <naota@g.o>
7 ---
8 eclass/ruby-ng-gnome2.eclass | 10 +++-------
9 1 file changed, 3 insertions(+), 7 deletions(-)
10
11 diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
12 index ce52f27789a2..4e3c30017e9b 100644
13 --- a/eclass/ruby-ng-gnome2.eclass
14 +++ b/eclass/ruby-ng-gnome2.eclass
15 @@ -32,13 +32,9 @@ IUSE=""
16 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
17
18 subbinding=${PN#ruby-}
19 -if [ $(get_version_component_range "1-2") == "0.19" ]; then
20 - subbinding=${subbinding/%2}
21 -else
22 - subbinding=${subbinding/-/_}
23 - DEPEND="virtual/pkgconfig"
24 - ruby_add_bdepend "dev-ruby/pkg-config"
25 -fi
26 +subbinding=${subbinding/-/_}
27 +DEPEND="virtual/pkgconfig"
28 +ruby_add_bdepend "dev-ruby/pkg-config"
29 if has "${EAPI:-0}" 0 1 2 3 ; then
30 S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
31 else
32 --
33 2.25.0

Replies