31 lines
818 B
Diff
31 lines
818 B
Diff
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(
|