1 |
The official tree no longer have ruby-gnome2 packages with 0.19.x. Drop |
2 |
support for them. |
3 |
|
4 |
Signed-off-by: Naohiro Aota <naota@g.o> |
5 |
--- |
6 |
eclass/ruby-ng-gnome2.eclass | 14 +++++--------- |
7 |
1 file changed, 5 insertions(+), 9 deletions(-) |
8 |
|
9 |
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass |
10 |
index ce52f27789a2..a6e6fb089c8c 100644 |
11 |
--- a/eclass/ruby-ng-gnome2.eclass |
12 |
+++ b/eclass/ruby-ng-gnome2.eclass |
13 |
@@ -1,4 +1,4 @@ |
14 |
-# Copyright 1999-2018 Gentoo Authors |
15 |
+# Copyright 1999-2020 Gentoo Authors |
16 |
# Distributed under the terms of the GNU General Public License v2 |
17 |
|
18 |
# @ECLASS: ruby-ng-gnome2.eclass |
19 |
@@ -24,7 +24,7 @@ RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN#ruby-}}" |
20 |
RUBY_FAKEGEM_TASK_TEST="" |
21 |
RUBY_FAKEGEM_TASK_DOC="" |
22 |
|
23 |
-inherit ruby-fakegem multilib versionator |
24 |
+inherit ruby-fakegem multilib |
25 |
|
26 |
IUSE="" |
27 |
|
28 |
@@ -32,13 +32,9 @@ IUSE="" |
29 |
has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= |
30 |
|
31 |
subbinding=${PN#ruby-} |
32 |
-if [ $(get_version_component_range "1-2") == "0.19" ]; then |
33 |
- subbinding=${subbinding/%2} |
34 |
-else |
35 |
- subbinding=${subbinding/-/_} |
36 |
- DEPEND="virtual/pkgconfig" |
37 |
- ruby_add_bdepend "dev-ruby/pkg-config" |
38 |
-fi |
39 |
+subbinding=${subbinding/-/_} |
40 |
+DEPEND="virtual/pkgconfig" |
41 |
+ruby_add_bdepend "dev-ruby/pkg-config" |
42 |
if has "${EAPI:-0}" 0 1 2 3 ; then |
43 |
S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding} |
44 |
else |
45 |
-- |
46 |
2.26.2 |