dev-libs/stfl: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 08:49:16 +0000 (10:49 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:23:12 +0000 (13:23 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-libs/stfl/stfl-0.23.ebuild
dev-libs/stfl/stfl-0.24.ebuild

index 6984ecd5ca42d2ba80258fc8573d329948e8a886..212ff7317c566dfc7fe367c2968429786a7c3b1a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,19 +14,19 @@ LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
 IUSE="examples perl python ruby static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-COMMON_DEPEND="
-       sys-libs/ncurses[unicode]
+RDEPEND="
+       sys-libs/ncurses:0=[unicode]
        perl? ( dev-lang/perl:= )
-       ruby? ( dev-lang/ruby )
+       ruby? ( dev-lang/ruby:* )
        python? ( ${PYTHON_DEPS} )
 "
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
        perl? ( dev-lang/swig )
        python? ( >=dev-lang/swig-1.3.40 )
        ruby? ( dev-lang/swig )
 "
-RDEPEND="${COMMON_DEPEND}"
 
 src_prepare() {
        sed -i \
index 9ffa242a658caba89615081f6a5d21411837bb95..d768aac0714b325bd20fa3a24b67e8fc5f500b1a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,19 +14,19 @@ LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="examples perl python ruby static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-COMMON_DEPEND="
-       sys-libs/ncurses[unicode]
+RDEPEND="
+       sys-libs/ncurses:0=[unicode]
        perl? ( dev-lang/perl:= )
-       ruby? ( dev-lang/ruby )
+       ruby? ( dev-lang/ruby:* )
        python? ( ${PYTHON_DEPS} )
 "
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
        perl? ( dev-lang/swig )
        python? ( >=dev-lang/swig-1.3.40 )
        ruby? ( dev-lang/swig )
 "
-RDEPEND="${COMMON_DEPEND}"
 
 src_prepare() {
        sed -i \