summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/cffi/cffi-0.7.2.ebuild')
-rw-r--r--dev-python/cffi/cffi-0.7.2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-python/cffi/cffi-0.7.2.ebuild b/dev-python/cffi/cffi-0.7.2.ebuild
index 00ba8af31e44..e7f177ee3c2a 100644
--- a/dev-python/cffi/cffi-0.7.2.ebuild
+++ b/dev-python/cffi/cffi-0.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cffi/cffi-0.7.2.ebuild,v 1.3 2013/11/29 22:45:06 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cffi/cffi-0.7.2.ebuild,v 1.4 2013/11/30 02:45:49 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
@@ -17,12 +17,14 @@ KEYWORDS="amd64 ~arm ~x86"
IUSE="doc test"
RDEPEND="virtual/libffi
- dev-python/pycparser[$(python_gen_usedep python{2_6,2_7,3_2,3_3} pypy1_9)]
+ dev-python/pycparser[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/hgdistver"
DEPEND="$REDEPEND
test? ( dev-python/virtualenv )"
+RESTRICT="test"
+
python_compile_all() {
use doc && emake -C doc html
}
@@ -32,5 +34,6 @@ python_test() {
}
python_install_all() {
+ distutils-r1_python_install_all
use doc && dohtml -r doc/build/
}