[sagenb-export] 01/01: Pass byte objects as filenames, fixing a FTBFS
Ximin Luo
infinity0 at debian.org
Wed Dec 7 18:43:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository sagenb-export.
commit 601ee269306f27f395641afb62cb5c5999482f6a
Author: Ximin Luo <infinity0 at debian.org>
Date: Wed Dec 7 19:43:21 2016 +0100
Pass byte objects as filenames, fixing a FTBFS
---
debian/changelog | 6 ++++++
debian/patches/pass-byte-filenames.patch | 13 +++++++++++++
debian/patches/series | 1 +
3 files changed, 20 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e4915b1..4a4a8db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sagenb-export (2.0-2) UNRELEASED; urgency=medium
+
+ * Fix FTBFS related to filename encoding. (Closes: #847172)
+
+ -- Ximin Luo <infinity0 at debian.org> Wed, 07 Dec 2016 19:42:30 +0100
+
sagenb-export (2.0-1) unstable; urgency=medium
* Initial release. (Closes: #839782)
diff --git a/debian/patches/pass-byte-filenames.patch b/debian/patches/pass-byte-filenames.patch
new file mode 100644
index 0000000..9762080
--- /dev/null
+++ b/debian/patches/pass-byte-filenames.patch
@@ -0,0 +1,13 @@
+Description: Pass byte objects as filenames
+Author: Ximin Luo <infinity0 at debian.org>
+Bug: https://github.com/vbraun/ExportSageNB/issues/6
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/test_sagenb_writer.py
++++ b/test/test_sagenb_writer.py
+@@ -36,4 +36,4 @@
+ notebook = NotebookSageNB.find(DOT_SAGE, 'aleksandra.slapik:44')
+ ipynb = IpynbWriter(notebook)
+ ipynb.write(self.tmp_filename('aleksandra_slapik_44.ipynb'))
+- ipynb.write(self.tmp_filename(u'WDI projekt - R\xf3\u017cankowski, Kie\u0142pi\u0144ski, Kozok.ipynb'))
++ ipynb.write(self.tmp_filename(u'WDI projekt - R\xf3\u017cankowski, Kie\u0142pi\u0144ski, Kozok.ipynb').encode('utf-8'))
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..69be2a9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pass-byte-filenames.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb-export.git
More information about the debian-science-commits
mailing list