summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-04 13:35:37 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-04 13:36:55 +0100
commit33f04949ea082950a348f556f62d110db942dce8 (patch)
tree0090040259fe8f1d16523f34623d58895eed8e4c /dev-python/sphinxcontrib-spelling
parentRevert "dev-python/sphinxcontrib-serializinghtml: Remove namespace dep" (diff)
downloadgentoo-33f04949ea082950a348f556f62d110db942dce8.tar.gz
gentoo-33f04949ea082950a348f556f62d110db942dce8.tar.bz2
gentoo-33f04949ea082950a348f556f62d110db942dce8.zip
Revert "dev-python/sphinxcontrib-spelling: Remove namespace dep"
This reverts commit 04b73b06232cf9e1e3ea92115670183068ab5f58. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sphinxcontrib-spelling')
-rw-r--r--dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0.ebuild (renamed from dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0-r1.ebuild)4
-rw-r--r--dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0.ebuild (renamed from dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0-r1.ebuild)7
-rw-r--r--dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0.ebuild (renamed from dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0-r1.ebuild)7
-rw-r--r--dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1.ebuild (renamed from dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0-r1.ebuild)7
-rw-r--r--dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0.ebuild (renamed from dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1-r1.ebuild)7
5 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0-r1.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0.ebuild
index e3d8971839e..f253d611a1a 100644
--- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0-r1.ebuild
+++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0.ebuild
@@ -36,6 +36,10 @@ BDEPEND="
# The doc can only be built from a git repository
distutils_enable_tests pytest
+RDEPEND+="
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
+"
+
python_install_all() {
distutils-r1_python_install_all
find "${ED}" -name '*.pth' -delete || die
diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0-r1.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0.ebuild
index a46e8b51310..83138a10134 100644
--- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0-r1.ebuild
+++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0.ebuild
@@ -32,6 +32,13 @@ BDEPEND="
# The doc can only be built from a git repository
distutils_enable_tests pytest
+# We don't want distutils_enable_tests to add the namespace
+# package to BDEPEND under "test?". Therefore we add it to RDEPEND
+# after running distutils_enable_tests.
+RDEPEND+="
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
+"
+
python_prepare_all() {
# Needs to be run from a git repository
sed -i 's/test_contributors/_&/' \
diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0-r1.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0.ebuild
index d2ce9b4ddc1..4422a57b4a1 100644
--- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0-r1.ebuild
+++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0.ebuild
@@ -32,6 +32,13 @@ BDEPEND="
# The doc can only be built from a git repository
distutils_enable_tests pytest
+# We don't want distutils_enable_tests to add the namespace
+# package to BDEPEND under "test?". Therefore we add it to RDEPEND
+# after running distutils_enable_tests.
+RDEPEND+="
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
+"
+
python_prepare_all() {
# Needs to be run from a git repository
sed -i 's/test_contributors/_&/' \
diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0-r1.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1.ebuild
index e2795baa8cd..6819f5557b2 100644
--- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0-r1.ebuild
+++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1.ebuild
@@ -32,6 +32,13 @@ BDEPEND="
# The doc can only be built from a git repository
distutils_enable_tests pytest
+# We don't want distutils_enable_tests to add the namespace
+# package to BDEPEND under "test?". Therefore we add it to RDEPEND
+# after running distutils_enable_tests.
+RDEPEND+="
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
+"
+
python_prepare_all() {
# Needs to be run from a git repository
sed -i 's/test_contributors/_&/' \
diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1-r1.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0.ebuild
index e2795baa8cd..6819f5557b2 100644
--- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1-r1.ebuild
+++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0.ebuild
@@ -32,6 +32,13 @@ BDEPEND="
# The doc can only be built from a git repository
distutils_enable_tests pytest
+# We don't want distutils_enable_tests to add the namespace
+# package to BDEPEND under "test?". Therefore we add it to RDEPEND
+# after running distutils_enable_tests.
+RDEPEND+="
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
+"
+
python_prepare_all() {
# Needs to be run from a git repository
sed -i 's/test_contributors/_&/' \