[Python-modules-commits] [python-svg.path] 05/06: reapplied test_doc-absolute-path.diff

Daniel Stender danstender-guest at moszumanska.debian.org
Fri Oct 16 18:42:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

danstender-guest pushed a commit to branch master
in repository python-svg.path.

commit 1e3b589e9199d22146648879a847a6088bf11895
Merge: b9deb26 c999173
Author: Daniel Stender <debian at danielstender.com>
Date:   Fri Oct 16 20:25:37 2015 +0200

    reapplied test_doc-absolute-path.diff

 debian/.git-dpm                                  |  4 ++--
 debian/patches/0001-test_doc-absolute-path.patch | 23 +++++++++++++++++++++++
 debian/patches/series                            |  1 +
 src/svg/path/tests/test_doc.py                   |  2 +-
 4 files changed, 27 insertions(+), 3 deletions(-)

diff --cc debian/.git-dpm
index 4e41f7d,0000000..3844a16
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
 +# see git-dpm(1) from git-dpm package
- ff25230e30775daafed45640d7a11935a1d6539b
- ff25230e30775daafed45640d7a11935a1d6539b
++c9991731cee7f48dae3c42c97cdfb624385ac447
++c9991731cee7f48dae3c42c97cdfb624385ac447
 +ff25230e30775daafed45640d7a11935a1d6539b
 +ff25230e30775daafed45640d7a11935a1d6539b
 +python-svg.path_2.0.orig.tar.gz
 +1b2ed768cdef0024dc21d856e4314000f6f2b320
 +16533
 +debianTag="debian/%e%v"
 +patchedTag="patched/%e%v"
 +upstreamTag="upstream/%e%u"
diff --cc debian/patches/0001-test_doc-absolute-path.patch
index 0000000,0000000..b9818ea
new file mode 100644
--- /dev/null
+++ b/debian/patches/0001-test_doc-absolute-path.patch
@@@ -1,0 -1,0 +1,23 @@@
++From c9991731cee7f48dae3c42c97cdfb624385ac447 Mon Sep 17 00:00:00 2001
++From: Daniel Stender <debian at danielstender.com>
++Date: Fri, 16 Oct 2015 20:25:11 +0200
++Subject: test_doc-absolute-path
++
++   don't use relative path to import doctests from README.rst,
++   because that doesn't work with pybuild
++   Forwarded: https://github.com/regebro/svg.path/pull/19
++---
++ src/svg/path/tests/test_doc.py | 2 +-
++ 1 file changed, 1 insertion(+), 1 deletion(-)
++
++diff --git a/src/svg/path/tests/test_doc.py b/src/svg/path/tests/test_doc.py
++index 1dc45e9..ca3ca60 100644
++--- a/src/svg/path/tests/test_doc.py
+++++ b/src/svg/path/tests/test_doc.py
++@@ -3,5 +3,5 @@ import doctest
++ 
++ 
++ def load_tests(loader, tests, ignore):
++-    tests.addTests(doctest.DocFileSuite('../../../../README.rst'))
+++    tests.addTests(doctest.DocFileSuite('README.rst', package='__main__'))
++     return tests
diff --cc debian/patches/series
index 0000000,0000000..c037555
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,1 @@@
++0001-test_doc-absolute-path.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-svg.path.git



More information about the Python-modules-commits mailing list