Control: tags 1016299 + patch
Control: tags 1016299 + pending

Dear maintainer,

I've prepared an NMU for mkautodoc (versioned as 0.1.0-3.1) and uploaded 
it to DELAYED/14. Please feel free to tell me if I should cancel it.

cu
Adrian
diff -Nru mkautodoc-0.1.0/debian/changelog mkautodoc-0.1.0/debian/changelog
--- mkautodoc-0.1.0/debian/changelog	2021-02-01 02:54:41.000000000 +0200
+++ mkautodoc-0.1.0/debian/changelog	2022-09-16 20:17:48.000000000 +0300
@@ -1,3 +1,10 @@
+mkautodoc (0.1.0-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Backport upstream fix for Markdown 3.4. (Closes: #1016299)
+
+ -- Adrian Bunk <b...@debian.org>  Fri, 16 Sep 2022 20:17:48 +0300
+
 mkautodoc (0.1.0-3) unstable; urgency=medium
 
   * debian/control
diff -Nru mkautodoc-0.1.0/debian/patches/markdown-etree.patch mkautodoc-0.1.0/debian/patches/markdown-etree.patch
--- mkautodoc-0.1.0/debian/patches/markdown-etree.patch	1970-01-01 02:00:00.000000000 +0200
+++ mkautodoc-0.1.0/debian/patches/markdown-etree.patch	2022-09-16 20:15:04.000000000 +0300
@@ -0,0 +1,39 @@
+diff --git a/mkautodoc/extension.py b/mkautodoc/extension.py
+index 86e70b3..64fe7fa 100644
+--- a/mkautodoc/extension.py
++++ b/mkautodoc/extension.py
+@@ -1,7 +1,7 @@
+ from markdown import Markdown
+ from markdown.extensions import Extension
+ from markdown.blockprocessors import BlockProcessor
+-from markdown.util import etree
++from xml.etree import ElementTree as etree
+ import importlib
+ import inspect
+ import re
+diff --git a/requirements.txt b/requirements.txt
+index 67ec1b1..8a7d94c 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,4 +1,4 @@
+-markdown
++-e .
+ 
+ # Testing
+ black
+diff --git a/setup.py b/setup.py
+index 8cb3b5b..8be283f 100644
+--- a/setup.py
++++ b/setup.py
+@@ -37,7 +37,7 @@ setup(
+     author='Tom Christie',
+     author_email='t...@tomchristie.com',
+     packages=get_packages('mkautodoc'),
+-    install_requires=[],
++    install_requires=["Markdown"],
+     python_requires='>=3.6',
+     classifiers=[
+         'Development Status :: 3 - Alpha',
+-- 
+2.30.2
+
diff -Nru mkautodoc-0.1.0/debian/patches/series mkautodoc-0.1.0/debian/patches/series
--- mkautodoc-0.1.0/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ mkautodoc-0.1.0/debian/patches/series	2022-09-16 20:17:45.000000000 +0300
@@ -0,0 +1 @@
+markdown-etree.patch

Reply via email to