summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2020-02-15 13:02:36 +0900
committerNaohiro Aota <naota@gentoo.org>2020-07-30 16:21:25 +0900
commit899f0da4b5355d5f7da421438fc1d16eca6e9ec1 (patch)
treeec035d42a9007fce06d20cceda6b13c79693425a /eclass/ruby-ng-gnome2.eclass
parentnet-libs/kdsoap-ws-discovery-client: x86 stable wrt bug #731966 (diff)
downloadgentoo-899f0da4b5355d5f7da421438fc1d16eca6e9ec1.tar.gz
gentoo-899f0da4b5355d5f7da421438fc1d16eca6e9ec1.tar.bz2
gentoo-899f0da4b5355d5f7da421438fc1d16eca6e9ec1.zip
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@gentoo.org>
Diffstat (limited to 'eclass/ruby-ng-gnome2.eclass')
-rw-r--r--eclass/ruby-ng-gnome2.eclass14
1 files changed, 5 insertions, 9 deletions
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index ce52f27789a2..a6e6fb089c8c 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