Package: deap / 1.3.1-2

remove-mpl-only-directives.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Sandro Tosi <morph@debian.org>
Date: Wed, 6 Nov 2019 12:35:19 -0500
Subject: Drop python2 support

Bug-Debian: https://bugs.debian.org/936374
Bug-Debian: https://bugs.debian.org/942991
---
 doc/conf.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index 1b76d81..b5712bc 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -35,8 +35,7 @@ try:
 except ImportError:
     pass
 else:
-    extensions += ['matplotlib.sphinxext.only_directives',
-                   'matplotlib.sphinxext.plot_directive']
+    extensions += ['matplotlib.sphinxext.plot_directive']
 
 plot_formats = [('png', 80), ('hires.png', 200)]