summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-20 09:25:39 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-20 12:29:21 +0100
commit3421c9f8bef8d92b6e0eb4788c45fceb7593aa42 (patch)
tree3a63be53ad1639e1a837ff283da97060db55f601 /dev-python/cffi
parentDrop virtual (diff)
downloadgentoo-3421c9f8bef8d92b6e0eb4788c45fceb7593aa42.tar.gz
gentoo-3421c9f8bef8d92b6e0eb4788c45fceb7593aa42.tar.bz2
gentoo-3421c9f8bef8d92b6e0eb4788c45fceb7593aa42.zip
dev-python/cffi: Add USE=test to install pytest buildtime only
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566286 Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/cffi')
-rw-r--r--dev-python/cffi/cffi-1.1.2.ebuild10
-rw-r--r--dev-python/cffi/cffi-1.2.1.ebuild8
-rw-r--r--dev-python/cffi/cffi-1.3.0.ebuild8
3 files changed, 13 insertions, 13 deletions
diff --git a/dev-python/cffi/cffi-1.1.2.ebuild b/dev-python/cffi/cffi-1.1.2.ebuild
index cb0be693e9e9..a78ef1c6543a 100644
--- a/dev-python/cffi/cffi-1.1.2.ebuild
+++ b/dev-python/cffi/cffi-1.1.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
@@ -15,13 +15,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
-IUSE="doc"
+IUSE="doc test"
RDEPEND="
virtual/libffi
- dev-python/pycparser[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
+ dev-python/pycparser[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile)
DISTUTILS_IN_SOURCE_BUILD=1
diff --git a/dev-python/cffi/cffi-1.2.1.ebuild b/dev-python/cffi/cffi-1.2.1.ebuild
index 3d9d113307fd..e23874bfe59a 100644
--- a/dev-python/cffi/cffi-1.2.1.ebuild
+++ b/dev-python/cffi/cffi-1.2.1.ebuild
@@ -17,13 +17,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
-IUSE="doc"
+IUSE="doc test"
RDEPEND="
virtual/libffi
- dev-python/pycparser[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
+ dev-python/pycparser[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile)
DISTUTILS_IN_SOURCE_BUILD=1
diff --git a/dev-python/cffi/cffi-1.3.0.ebuild b/dev-python/cffi/cffi-1.3.0.ebuild
index 762c53823878..ce2896f65967 100644
--- a/dev-python/cffi/cffi-1.3.0.ebuild
+++ b/dev-python/cffi/cffi-1.3.0.ebuild
@@ -17,13 +17,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
-IUSE="doc"
+IUSE="doc test"
RDEPEND="
virtual/libffi
- dev-python/pycparser[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
+ dev-python/pycparser[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile)
DISTUTILS_IN_SOURCE_BUILD=1