commit: 33f04949ea082950a348f556f62d110db942dce8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 4 12:35:37 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 4 12:36:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33f04949
Revert "dev-python/sphinxcontrib-spelling: Remove namespace dep"
This reverts commit 04b73b06232cf9e1e3ea92115670183068ab5f58.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
...pelling-5.3.0-r1.ebuild => sphinxcontrib-spelling-5.3.0.ebuild} | 4 ++++
...pelling-5.4.0-r1.ebuild => sphinxcontrib-spelling-5.4.0.ebuild} | 7 +++++++
...pelling-7.0.0-r1.ebuild => sphinxcontrib-spelling-7.0.0.ebuild} | 7 +++++++
...pelling-7.1.0-r1.ebuild => sphinxcontrib-spelling-7.0.1.ebuild} | 7 +++++++
...pelling-7.0.1-r1.ebuild => sphinxcontrib-spelling-7.1.0.ebuild} | 7 +++++++
5 files changed, 32 insertions(+)
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
similarity index 93%
rename from
dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.3.0-r1.ebuild
rename to 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
similarity index 82%
rename from
dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-5.4.0-r1.ebuild
rename to 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
similarity index 81%
rename from
dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.0-r1.ebuild
rename to 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
similarity index 81%
rename from
dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.1.0-r1.ebuild
rename to 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
similarity index 81%
rename from
dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.0.1-r1.ebuild
rename to 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/_&/' \