sys-apps/paludis: Explicitly expose the supported RUBY_TARGET
authorMichał Górny <mgorny@gentoo.org>
Sun, 6 Aug 2017 07:20:58 +0000 (09:20 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 6 Aug 2017 09:36:40 +0000 (11:36 +0200)
sys-apps/paludis/paludis-2.6.0.ebuild
sys-apps/paludis/paludis-3.0.0_pre20170219.ebuild
sys-apps/paludis/paludis-9999.ebuild

index 09cffea9e94989e7ff2370383a21f376f6a7ca89..a5c786e1ec57a1ef12c3135a7841e5ac4ca2115d 100644 (file)
@@ -13,7 +13,7 @@ DESCRIPTION="paludis, the other package mangler"
 HOMEPAGE="http://paludis.exherbo.org/"
 SRC_URI="http://paludis.exherbo.org/download/${P}.tar.bz2"
 
-IUSE="doc pbins pink python ruby search-index test +xml"
+IUSE="doc pbins pink python ruby ruby_targets_ruby${RUBY_VER/./} search-index test +xml"
 LICENSE="GPL-2 vim"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
@@ -49,7 +49,8 @@ RDEPEND="${COMMON_DEPEND}
 
 PDEPEND="app-eselect/eselect-package-manager"
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+       ruby? ( ruby_targets_ruby${RUBY_VER/./} )"
 RESTRICT="!test? ( test )"
 
 pkg_pretend() {
index 13617a6bf7512b7d76c602aa9ee39c4dd44bec2a..ce2a66279840fdb676e529af0968fcee00725cdb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ HOMEPAGE="http://paludis.exherbo.org/"
 SRC_URI="https://git.exherbo.org/paludis/paludis.git/snapshot/paludis-1bbd4440fe4fb82a9ebd61d3f17b9ffa259eb17f.tar.xz
        -> ${P}.tar.xz"
 
-IUSE="doc pbins pink python ruby search-index test +xml"
+IUSE="doc pbins pink python ruby ruby_targets_ruby${RUBY_VER/./} search-index test +xml"
 LICENSE="GPL-2 vim"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
@@ -50,7 +50,8 @@ RDEPEND="${COMMON_DEPEND}
 
 PDEPEND="app-eselect/eselect-package-manager"
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+       ruby? ( ruby_targets_ruby${RUBY_VER/./} )"
 RESTRICT="!test? ( test )"
 
 pkg_pretend() {
index 928aac4aa29bffea7376720c6eec5a25b586ba15..5df5c757fbc0942a38361f05eba55634244a31b4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ DESCRIPTION="paludis, the other package mangler"
 HOMEPAGE="http://paludis.exherbo.org/"
 SRC_URI=""
 
-IUSE="doc pbins pink python ruby search-index test +xml"
+IUSE="doc pbins pink python ruby ruby_targets_ruby${RUBY_VER/./} search-index test +xml"
 LICENSE="GPL-2 vim"
 SLOT="0"
 KEYWORDS=""
@@ -51,7 +51,8 @@ RDEPEND="${COMMON_DEPEND}
 
 PDEPEND="app-eselect/eselect-package-manager"
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+       ruby? ( ruby_targets_ruby${RUBY_VER/./} )"
 RESTRICT="!test? ( test )"
 
 pkg_pretend() {