sci-chemistry/pymol-plugins-bni-tools: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Thu, 20 Apr 2017 15:01:49 +0000 (17:01 +0200)
committerDavid Seifert <soap@gentoo.org>
Thu, 20 Apr 2017 16:37:45 +0000 (18:37 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.27.ebuild

index 76c383090546200a1b6a9c04e269067d6e1110d7..1de68c64d64f63e1501637f95976939f5a2d0d93 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,13 +19,16 @@ LICENSE="CNRI"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-RDEPEND="sci-chemistry/pymol[${PYTHON_USEDEP}]"
-DEPEND="app-arch/unzip"
+RDEPEND="${PYTHON_DEPS}
+       sci-chemistry/pymol[${PYTHON_USEDEP}]"
+DEPEND="${PYTHON_DEPS}
+       app-arch/unzip"
 
 S="${WORKDIR}"
 
-src_install(){
+src_install() {
        python_moduleinto pmg_tk/startup
        python_foreach_impl python_domodule bni-tools.py
        python_foreach_impl python_optimize