summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-05-16 11:07:58 +0000
committerTim Harder <radhermit@gentoo.org>2013-05-16 11:07:58 +0000
commit91439bf47c908a6b397c82f865faf5995e83355b (patch)
tree8620daaef7eecccf54a0bd70c72edb25f1fc3a9e /x11-wm/qtile/qtile-0.5-r1.ebuild
parentRemove old. (diff)
downloadgentoo-2-91439bf47c908a6b397c82f865faf5995e83355b.tar.gz
gentoo-2-91439bf47c908a6b397c82f865faf5995e83355b.tar.bz2
gentoo-2-91439bf47c908a6b397c82f865faf5995e83355b.zip
Update python use flag deps.
(Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'x11-wm/qtile/qtile-0.5-r1.ebuild')
-rw-r--r--x11-wm/qtile/qtile-0.5-r1.ebuild22
1 files changed, 12 insertions, 10 deletions
diff --git a/x11-wm/qtile/qtile-0.5-r1.ebuild b/x11-wm/qtile/qtile-0.5-r1.ebuild
index 938f9dc6d0ba..fd6a934a4675 100644
--- a/x11-wm/qtile/qtile-0.5-r1.ebuild
+++ b/x11-wm/qtile/qtile-0.5-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/qtile/qtile-0.5-r1.ebuild,v 1.1 2013/01/12 06:07:09 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/qtile/qtile-0.5-r1.ebuild,v 1.2 2013/05/16 11:07:58 radhermit Exp $
-EAPI="5"
-PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1 vcs-snapshot virtualx
@@ -16,22 +16,21 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
-RDEPEND=">=dev-python/pycairo-1.10.0-r3[xcb]
- dev-python/pygtk:2
- >=x11-libs/xpyb-1.3.1"
-DEPEND="doc? ( dev-python/sphinx )
+RDEPEND=">=dev-python/pycairo-1.10.0-r3[xcb,${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ >=x11-libs/xpyb-1.3.1[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? (
${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
- dev-python/python-xlib
+ dev-python/python-xlib[${PYTHON_USEDEP}]
x11-base/xorg-server[kdrive]
)"
# tests fail due to xauth errors from python-xlib
RESTRICT="test"
-DOCS="TODO.rst"
-
python_compile_all() {
use doc && emake -C docs html
}
@@ -41,6 +40,9 @@ python_test() {
}
python_install_all() {
+ local DOCS=( CHANGELOG README.rst TODO.rst )
+ distutils-r1_python_install_all
+
use doc && dohtml -r docs/_build/html/*
insinto /usr/share/xsessions