commit: 899f0da4b5355d5f7da421438fc1d16eca6e9ec1
Author: Naohiro Aota <naota <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 15 04:02:36 2020 +0000
Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
CommitDate: Thu Jul 30 07:21:25 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899f0da4
ruby-ng-gnome2.eclass: drop support for 0.19.x
The official tree no longer have ruby-gnome2 packages with 0.19.x. Drop
support for them.
Signed-off-by: Naohiro Aota <naota <AT> gentoo.org>
eclass/ruby-ng-gnome2.eclass | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index ce52f27789a..a6e6fb089c8 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: ruby-ng-gnome2.eclass
@@ -24,7 +24,7 @@ RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN#ruby-}}"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""
-inherit ruby-fakegem multilib versionator
+inherit ruby-fakegem multilib
IUSE=""
@@ -32,13 +32,9 @@ IUSE=""
has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
subbinding=${PN#ruby-}
-if [ $(get_version_component_range "1-2") == "0.19" ]; then
- subbinding=${subbinding/%2}
-else
- subbinding=${subbinding/-/_}
- DEPEND="virtual/pkgconfig"
- ruby_add_bdepend "dev-ruby/pkg-config"
-fi
+subbinding=${subbinding/-/_}
+DEPEND="virtual/pkgconfig"
+ruby_add_bdepend "dev-ruby/pkg-config"
if has "${EAPI:-0}" 0 1 2 3 ; then
S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
else