summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/characteristic')
-rw-r--r--dev-python/characteristic/characteristic-14.3.0-r1.ebuild2
-rw-r--r--dev-python/characteristic/characteristic-14.3.0-r2.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/characteristic/characteristic-14.3.0-r1.ebuild b/dev-python/characteristic/characteristic-14.3.0-r1.ebuild
index a3a39944ebe7..ca90563a2e66 100644
--- a/dev-python/characteristic/characteristic-14.3.0-r1.ebuild
+++ b/dev-python/characteristic/characteristic-14.3.0-r1.ebuild
@@ -22,6 +22,8 @@ DEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+RESTRICT="!test? ( test )"
+
python_prepare_all() {
# Prevent un-needed download during build
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die
diff --git a/dev-python/characteristic/characteristic-14.3.0-r2.ebuild b/dev-python/characteristic/characteristic-14.3.0-r2.ebuild
index 6a8425596f9d..d11fc76b6bd1 100644
--- a/dev-python/characteristic/characteristic-14.3.0-r2.ebuild
+++ b/dev-python/characteristic/characteristic-14.3.0-r2.ebuild
@@ -22,6 +22,8 @@ DEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+RESTRICT="!test? ( test )"
+
python_prepare_all() {
# Prevent un-needed download during build
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die