summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2016-03-16 16:33:16 +0100
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2016-03-16 16:33:16 +0100
commit928b3680b37fbde4e1abc8668434b14df2a11151 (patch)
treecc1f8fce582d9ed80e1aae5698ea4857f8ec431e
parent0d21cdb76add43cfe85fde0dc7adf6c0bbfefac7 (diff)
downloadpython-cycles.tar.gz
python-cycles.tar.xz
cyclescycles
-rw-r--r--packages/dev-python/linecache2/linecache2-1.0.0.exheres-010
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/dev-python/linecache2/linecache2-1.0.0.exheres-0 b/packages/dev-python/linecache2/linecache2-1.0.0.exheres-0
index 096021a..4a064a8 100644
--- a/packages/dev-python/linecache2/linecache2-1.0.0.exheres-0
+++ b/packages/dev-python/linecache2/linecache2-1.0.0.exheres-0
@@ -13,7 +13,7 @@ MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-python/pbr[python_abis:*(-)?]
- test:
+ suggestion:
dev-python/fixtures[python_abis:*(-)?]
dev-python/unittest2[python_abis:*(-)?]
"
@@ -29,6 +29,12 @@ prepare_one_multibuild() {
}
test_one_multibuild() {
- edo ${PYTHON} -m unittest2
+ # avoid cycles
+ if has_version dev-python/fixtures[python_abis:$(python_get_abi)] &&
+ has_version dev-python/unittest2[python_abis:$(python_get_abi)]; then
+ edo ${PYTHON} -m unittest2
+ else
+ ewarn "fixtures and/or unittest2 not yet installed, skipping tests"
+ fi
}