[Python-modules-commits] r32248 - in packages/sphinx/trunk/debian (4 files)
mitya57 at users.alioth.debian.org
mitya57 at users.alioth.debian.org
Fri Apr 10 08:49:15 UTC 2015
Date: Friday, April 10, 2015 @ 08:49:14
Author: mitya57
Revision: 32248
* Add a patch to skip JS libraries versions check.
* Properly clean up after running tests.
Added:
packages/sphinx/trunk/debian/patches/disable_js_version_check.diff
Modified:
packages/sphinx/trunk/debian/changelog
packages/sphinx/trunk/debian/patches/series
packages/sphinx/trunk/debian/rules
Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog 2015-04-10 08:10:43 UTC (rev 32247)
+++ packages/sphinx/trunk/debian/changelog 2015-04-10 08:49:14 UTC (rev 32248)
@@ -23,7 +23,9 @@
* Simplify debian/rules:
- Adjust for using upstream tarballs.
- Do not mention site-packages anymore.
+ * Add a patch to skip JS libraries versions check.
* Drop 2to3 call from debian/tests/python3-sphinx.
+ * Properly clean up after running tests.
-- Dmitry Shachnev <mitya57 at debian.org> Fri, 10 Apr 2015 09:31:00 +0300
Added: packages/sphinx/trunk/debian/patches/disable_js_version_check.diff
===================================================================
--- packages/sphinx/trunk/debian/patches/disable_js_version_check.diff (rev 0)
+++ packages/sphinx/trunk/debian/patches/disable_js_version_check.diff 2015-04-10 08:49:14 UTC (rev 32248)
@@ -0,0 +1,23 @@
+Description: disable a test that checks versions of JS libraries
+Author: Dmitry Shachnev <mitya57 at debian.org>
+Forwarded: not-needed
+Last-Update: 2015-04-10
+
+--- a/tests/test_theming.py
++++ b/tests/test_theming.py
+@@ -11,6 +11,7 @@
+
+ import os
+ import zipfile
++import unittest
+
+ from sphinx.theming import Theme, ThemeError
+
+@@ -57,6 +58,7 @@
+ assert not os.path.exists(themedir)
+
+
++ at unittest.skip('In Debian we use packaged JS libraries')
+ @with_app(testroot='tocdepth') # a minimal root
+ def test_js_source(app, status, warning):
+ # Now sphinx provides non-minified JS files for jquery.js and underscore.js
Modified: packages/sphinx/trunk/debian/patches/series
===================================================================
--- packages/sphinx/trunk/debian/patches/series 2015-04-10 08:10:43 UTC (rev 32247)
+++ packages/sphinx/trunk/debian/patches/series 2015-04-10 08:49:14 UTC (rev 32248)
@@ -1,3 +1,4 @@
disable_distribute_setup.diff
initialize_autodoc.diff
no_external_css.diff
+disable_js_version_check.diff
Modified: packages/sphinx/trunk/debian/rules
===================================================================
--- packages/sphinx/trunk/debian/rules 2015-04-10 08:10:43 UTC (rev 32247)
+++ packages/sphinx/trunk/debian/rules 2015-04-10 08:49:14 UTC (rev 32248)
@@ -27,7 +27,7 @@
clean:
dh_clean
find . -name '*.py[co]' -delete
- rm -rf build
+ rm -rf build tests/build
rm -f $(basename $(wildcard debian/*.in))
rm -f sphinx/pycode/Grammar*.pickle
More information about the Python-modules-commits
mailing list