[Python-modules-commits] r34334 - in packages/svg.path/trunk/debian (4 files)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Fri Sep 18 21:58:04 UTC 2015


    Date: Friday, September 18, 2015 @ 21:58:03
  Author: danstender-guest
Revision: 34334

dropped octest_path.diff, added test_doc-absolute-path.diff

Added:
  packages/svg.path/trunk/debian/patches/test_doc-absolute-path.diff
Modified:
  packages/svg.path/trunk/debian/changelog
  packages/svg.path/trunk/debian/patches/series
Deleted:
  packages/svg.path/trunk/debian/patches/doctest_path.diff

Modified: packages/svg.path/trunk/debian/changelog
===================================================================
--- packages/svg.path/trunk/debian/changelog	2015-09-18 19:14:29 UTC (rev 34333)
+++ packages/svg.path/trunk/debian/changelog	2015-09-18 21:58:03 UTC (rev 34334)
@@ -2,4 +2,4 @@
 
   * Initial release (Closes: #775238).
 
- -- Daniel Stender <debian at danielstender.com>  Thu, 17 Sep 2015 19:48:03 +0200
+ -- Daniel Stender <debian at danielstender.com>  Fri, 18 Sep 2015 23:55:26 +0200

Deleted: packages/svg.path/trunk/debian/patches/doctest_path.diff
===================================================================
--- packages/svg.path/trunk/debian/patches/doctest_path.diff	2015-09-18 19:14:29 UTC (rev 34333)
+++ packages/svg.path/trunk/debian/patches/doctest_path.diff	2015-09-18 21:58:03 UTC (rev 34334)
@@ -1,14 +0,0 @@
-Description: fix path to README.rst for doctest in testsuite
-Author: Daniel Stender <debian at danielstender.com>
-Forwarded: not-needed
-Last-Update: 2014-01-28
-
---- a/src/svg/path/tests/test_doc.py
-+++ b/src/svg/path/tests/test_doc.py
-@@ -3,5 +3,5 @@
- 
- 
- def load_tests(loader, tests, ignore):
--    tests.addTests(doctest.DocFileSuite('../../../../README.rst'))
-+    tests.addTests(doctest.DocFileSuite('../../../../../../README.rst'))
-     return tests

Modified: packages/svg.path/trunk/debian/patches/series
===================================================================
--- packages/svg.path/trunk/debian/patches/series	2015-09-18 19:14:29 UTC (rev 34333)
+++ packages/svg.path/trunk/debian/patches/series	2015-09-18 21:58:03 UTC (rev 34334)
@@ -1 +1 @@
-doctest_path.diff
+test_doc-absolute-path.diff

Added: packages/svg.path/trunk/debian/patches/test_doc-absolute-path.diff
===================================================================
--- packages/svg.path/trunk/debian/patches/test_doc-absolute-path.diff	                        (rev 0)
+++ packages/svg.path/trunk/debian/patches/test_doc-absolute-path.diff	2015-09-18 21:58:03 UTC (rev 34334)
@@ -0,0 +1,15 @@
+Description: don't use relative path to import doctests from
+ README.rst, because that doesn't work with pybuild
+Author: Daniel Stender <debian at danielstender.com>
+Forwarded: no
+Last-Update: 2015-09-17
+
+--- a/src/svg/path/tests/test_doc.py
++++ b/src/svg/path/tests/test_doc.py
+@@ -3,5 +3,5 @@
+ 
+ 
+ def load_tests(loader, tests, ignore):
+-    tests.addTests(doctest.DocFileSuite('../../../../README.rst'))
++    tests.addTests(doctest.DocFileSuite('README.rst', package='__main__'))
+     return tests




More information about the Python-modules-commits mailing list