File: 2003_mistune0.patch

package info (click to toggle)
python-m2r 0.3.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 344 kB
  • sloc: python: 1,409; makefile: 287; sh: 1
file content (30 lines) | stat: -rw-r--r-- 818 bytes parent folder | 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
25
26
27
28
29
30
Description: use custom-named Python module mistune0
Forwarded: not-needed
Author: Jonas Smedegaard <dr@jones.dk>
Bug-Debian: https://bugs.debian.org/1002163
Bug-Debian: https://bugs.debian.org/1003571
Last-Update: 2023-01-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/m2r.py
+++ b/m2r.py
@@ -10,7 +10,7 @@
 from docutils import statemachine, nodes, io, utils
 from docutils.parsers import rst
 from docutils.utils import column_width
-import mistune
+import mistune0 as mistune
 from urllib.parse import urlparse
 
 __version__ = '0.3.1'
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@
     with open(readme_file) as f:
         readme = f.read()
 
-install_requires = ['mistune<2', 'docutils']
+install_requires = ['mistune0', 'docutils']
 test_requirements = ['pygments']
 
 setup(