summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-04-10 21:44:42 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2013-04-10 21:47:47 +0200
commit3519cddbf3a2093530b12909ef2f953837c3b040 (patch)
treed85f83411124362dec19712abfce8eb8981c878b /dev-python
parentapp-editors/gedit-code-assistance: 0.1.5 → 0.2.0 (diff)
downloadeva-3519cddbf3a2093530b12909ef2f953837c3b040.tar.gz
eva-3519cddbf3a2093530b12909ef2f953837c3b040.tar.bz2
eva-3519cddbf3a2093530b12909ef2f953837c3b040.zip
dev-python/rq: add missing PYTHON_USEDEP
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/rq/rq-0.3.7.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-python/rq/rq-0.3.7.ebuild b/dev-python/rq/rq-0.3.7.ebuild
index f41daae..334b801 100644
--- a/dev-python/rq/rq-0.3.7.ebuild
+++ b/dev-python/rq/rq-0.3.7.ebuild
@@ -18,9 +18,8 @@ IUSE=""
RDEPEND="
>=dev-db/redis-2.4.13
- dev-python/logbook
- dev-python/redis-py
- dev-python/times
+ dev-python/redis-py[${PYTHON_USEDEP}]
+ dev-python/times[${PYTHON_USEDEP}]
virtual/python-argparse[${PYTHON_USEDEP}]
python_targets_python2_5? ( dev-python/importlib )
python_targets_python2_6? ( dev-python/importlib )
@@ -29,4 +28,9 @@ DEPEND="${RDEPEND}
dev-python/setuptools
"
-# No unittest since it requires a running redis
+python_prepare_all() {
+ # No unittest since it requires a running redis
+ # installation of tests is done in site-packages directly which is not
+ # optimal.
+ rm -r tests || die
+}