diff options
author | William Hubbs <williamh@gentoo.org> | 2011-11-09 04:15:20 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-11-09 04:15:20 +0000 |
commit | 217c81f75c40db216e3f4c3853664c188f4790db (patch) | |
tree | 1ac33f0fc6a3ab4f5d7c57bfa5c87b0fc3b60ccd /sys-fs/udev | |
parent | bug 389925; if generating docs, pyparsing is needed for 0.7.5 (diff) | |
download | gentoo-2-217c81f75c40db216e3f4c3853664c188f4790db.tar.gz gentoo-2-217c81f75c40db216e3f4c3853664c188f4790db.tar.bz2 gentoo-2-217c81f75c40db216e3f4c3853664c188f4790db.zip |
QA Fixes: use should not be called in global scope and clean up the
conditional declarations for IUSE and RESTRICT.
Thanks to mr_bones_ for pointing these out.
(Portage version: 2.2.0_alpha72/cvs/Linux i686)
Diffstat (limited to 'sys-fs/udev')
-rw-r--r-- | sys-fs/udev/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/udev/udev-175.ebuild | 16 | ||||
-rw-r--r-- | sys-fs/udev/udev-9999.ebuild | 16 |
3 files changed, 19 insertions, 21 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog index 9d4670ed5b7c..e75a8e4835cf 100644 --- a/sys-fs/udev/ChangeLog +++ b/sys-fs/udev/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/udev # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.612 2011/11/08 16:49:35 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.613 2011/11/09 04:15:20 williamh Exp $ + + 09 Nov 2011; William Hubbs <williamh@gentoo.org> udev-175.ebuild, + udev-9999.ebuild: + QA Fixes: use should not be called in global scope and clean up the + conditional declarations for IUSE and RESTRICT. + Thanks to mr_bones_ for pointing these out. 08 Nov 2011; William Hubbs <williamh@gentoo.org> udev-175.ebuild, udev-9999.ebuild: diff --git a/sys-fs/udev/udev-175.ebuild b/sys-fs/udev/udev-175.ebuild index 9287b781a92d..718abada014e 100644 --- a/sys-fs/udev/udev-175.ebuild +++ b/sys-fs/udev/udev-175.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-175.ebuild,v 1.2 2011/11/08 16:49:35 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-175.ebuild,v 1.3 2011/11/09 04:15:20 williamh Exp $ EAPI=4 @@ -35,9 +35,6 @@ LICENSE="GPL-2" SLOT="0" IUSE="build selinux debug +rule_generator hwdb acl gudev introspection keymap floppy edd doc" -[[ ${PV} == "9999" ]] && IUSE="${IUSE} test" - -RESTRICT="test? ( userpriv )" COMMON_DEPEND="selinux? ( sys-libs/libselinux ) acl? ( sys-apps/acl dev-libs/glib:2 ) @@ -54,15 +51,14 @@ DEPEND="${COMMON_DEPEND} if [[ $PV == "9999" ]] then + RESTRICT="test? ( userpriv )" + IUSE="${IUSE} test" DEPEND="${DEPEND} + dev-util/gtk-doc test? ( app-text/tree )" -fi - -if [[ ${PV} == "9999" ]] || use doc -then - # for documentation processing with xsltproc + else DEPEND="${DEPEND} - dev-util/gtk-doc" + doc? ( dev-util/gtk-doc )" fi RDEPEND="${COMMON_DEPEND} diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild index 1cd000fcb7c9..bb75eab5a3ec 100644 --- a/sys-fs/udev/udev-9999.ebuild +++ b/sys-fs/udev/udev-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.58 2011/11/08 16:49:35 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.59 2011/11/09 04:15:20 williamh Exp $ EAPI=4 @@ -35,9 +35,6 @@ LICENSE="GPL-2" SLOT="0" IUSE="build selinux debug +rule_generator hwdb acl gudev introspection keymap floppy edd doc" -[[ ${PV} == "9999" ]] && IUSE="${IUSE} test" - -RESTRICT="test? ( userpriv )" COMMON_DEPEND="selinux? ( sys-libs/libselinux ) acl? ( sys-apps/acl dev-libs/glib:2 ) @@ -54,15 +51,14 @@ DEPEND="${COMMON_DEPEND} if [[ $PV == "9999" ]] then + RESTRICT="test? ( userpriv )" + IUSE="${IUSE} test" DEPEND="${DEPEND} + dev-util/gtk-doc test? ( app-text/tree )" -fi - -if [[ ${PV} == "9999" ]] || use doc -then - # for documentation processing with xsltproc + else DEPEND="${DEPEND} - dev-util/gtk-doc" + doc? ( dev-util/gtk-doc )" fi RDEPEND="${COMMON_DEPEND} |