[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#927110: marked as done (unblock: python-darkslide/4.0.1-2)



Your message dated Mon, 15 Apr 2019 07:21:00 +0000
with message-id <ca283b0b-dc79-feed-9186-070f9c1e7ca3@thykier.net>
and subject line Re: Bug#927110: unblock: python-darkslide/4.0.1-2
has caused the Debian Bug report #927110,
regarding unblock: python-darkslide/4.0.1-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
927110: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927110
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock the package python-darkslide.

This upload fixes a bug which prevented darkslide from doing having any useful
functionality in buster:

    $ darkslide slides.md
    Adding   'slides.md' (markdown)
    Error: markdown() takes 1 positional argument but 2 were given

For more information about the bug, see https://bugs.debian.org/923977.
The debdiff is attached for your reference.

unblock python-darkslide/4.0.1-2

-- 
Cheers,
  Andrej
diff --git a/debian/changelog b/debian/changelog
index 6f748d7..7f718d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-darkslide (4.0.1-2) unstable; urgency=medium
+
+  * Support python-markdown >= 3 (Closes: #923977).
+  * Bump the python3-markdown build dependency.
+
+ -- Andrej Shadura <andrewsh@debian.org>  Sat, 13 Apr 2019 00:10:51 +0200
+
 python-darkslide (4.0.1-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --git a/debian/control b/debian/control
index ea38679..e874172 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends:
     python3-all,
     python3-setuptools (>= 0.6.24),
     python3-six,
-    python3-markdown,
+    python3-markdown (>= 3.0),
     python3-jinja2,
     python3-pygments,
     python3-docutils,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..95d3385
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+support-markdown3.patch
diff --git a/debian/patches/support-markdown3.patch b/debian/patches/support-markdown3.patch
new file mode 100644
index 0000000..a4e134d
--- /dev/null
+++ b/debian/patches/support-markdown3.patch
@@ -0,0 +1,18 @@
+Subject: extensions is now a named argument to markdown()
+From: Andrej Shadura <andrewsh@debian.org>
+
+Bug: https://github.com/ionelmc/python-darkslide/issues/10
+Bug-Debian: https://bugs.debian.org/923977
+Forwarded: not-needed
+
+--- a/src/darkslide/parser.py
++++ b/src/darkslide/parser.py
+@@ -57,7 +57,7 @@
+             if text.startswith(u'\ufeff'):  # check for unicode BOM
+                 text = text[1:]
+ 
+-            return markdown.markdown(text, self.md_extensions)
++            return markdown.markdown(text, extensions=self.md_extensions)
+         elif self.format == 'restructuredtext':
+             try:
+                 from .rst import html_body

--- End Message ---
--- Begin Message ---
Andrej Shadura:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Please unblock the package python-darkslide.
> 
> This upload fixes a bug which prevented darkslide from doing having any useful
> functionality in buster:
> 
>     $ darkslide slides.md
>     Adding   'slides.md' (markdown)
>     Error: markdown() takes 1 positional argument but 2 were given
> 
> For more information about the bug, see https://bugs.debian.org/923977.
> The debdiff is attached for your reference.
> 
> unblock python-darkslide/4.0.1-2
> 

Unblocked, thanks.
~Niels

--- End Message ---

Reply to: