net-analyzer/ntop: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 10:57:57 +0000 (12:57 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:29:02 +0000 (13:29 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

net-analyzer/ntop/ntop-5.0.1-r2.ebuild

index 69283cf166f31246befcc680160736a8238f40bd..8982d2724148df39982390118c70a3e49c9db0cf 100644 (file)
@@ -14,6 +14,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
 IUSE="snmp ssl"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="
        dev-lang/lua:=
@@ -29,10 +30,10 @@ COMMON_DEPEND="
        sys-libs/gdbm
        sys-libs/zlib
        virtual/awk
+       ${PYTHON_DEPS}
 "
 DEPEND="
        ${COMMON_DEPEND}
-       ${PYTHON_DEPS}
        >=sys-devel/libtool-1.5.26
 "
 RDEPEND="
@@ -45,8 +46,6 @@ RDEPEND="
        net-misc/wget
 "
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
 pkg_setup() {
        enewgroup ntop
        enewuser ntop -1 -1 /var/lib/ntop ntop
@@ -94,7 +93,6 @@ src_configure() {
                $(use_enable snmp) \
                $(use_with ssl) \
                --with-rrd-home=/usr/$(get_libdir)
-
 }
 
 src_compile() {