summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-28 08:57:35 +0100
committerSam James <sam@gentoo.org>2022-07-28 09:28:15 +0100
commit5d62baa3f9bf1ec40e3af443905faead1092d02d (patch)
tree6e7dc6f637815e4fca577e6a6f15fda7209946ee /dev-python/nose2
parentdev-ruby/crack: add ruby31, fix compatibility with psych 4 (diff)
downloadgentoo-5d62baa3f9bf1ec40e3af443905faead1092d02d.tar.gz
gentoo-5d62baa3f9bf1ec40e3af443905faead1092d02d.tar.bz2
gentoo-5d62baa3f9bf1ec40e3af443905faead1092d02d.zip
dev-python/nose2: fix doc build
Closes: https://bugs.gentoo.org/861656 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/nose2')
-rw-r--r--dev-python/nose2/files/nose2-0.12.0-version.patch21
-rw-r--r--dev-python/nose2/nose2-0.12.0.ebuild4
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/nose2/files/nose2-0.12.0-version.patch b/dev-python/nose2/files/nose2-0.12.0-version.patch
new file mode 100644
index 000000000000..a6edfb04ca8d
--- /dev/null
+++ b/dev-python/nose2/files/nose2-0.12.0-version.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/861656
+https://github.com/nose-devs/nose2/commit/fc3d69290462930bc0fa81cb69bc4c6e15f8ae66
+
+From: Stephen Rosen <sirosen@globus.org>
+Date: Sat, 16 Jul 2022 16:41:55 +0000
+Subject: [PATCH] Minor fixes regarding __version__ move
+
+Docs in conf.py and the CI build used `_version.py`, and just need
+minor updates.
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -20,7 +20,7 @@
+ master_doc = "index"
+ project = "nose2"
+ copyright = "2010-2022, Jason Pellerin, Stephen Rosen"
+-version = release = nose2._version.__version__
++version = release = nose2.__version__
+ exclude_patterns = ["_build"]
+ templates_path = ["_templates"]
+
+
diff --git a/dev-python/nose2/nose2-0.12.0.ebuild b/dev-python/nose2/nose2-0.12.0.ebuild
index 79df7edc060f..be3fbbcc8257 100644
--- a/dev-python/nose2/nose2-0.12.0.ebuild
+++ b/dev-python/nose2/nose2-0.12.0.ebuild
@@ -30,6 +30,10 @@ RDEPEND="
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme
+PATCHES=(
+ "${FILESDIR}"/${P}-version.patch
+)
+
src_prepare() {
# seriously? that hard to depend on six?!
rm -r nose2/_vendor || die