[Python-modules-commits] r32383 - in packages/sphinx/trunk/debian (3 files)
mitya57 at users.alioth.debian.org
mitya57 at users.alioth.debian.org
Mon Apr 20 09:08:38 UTC 2015
Date: Monday, April 20, 2015 @ 09:08:37
Author: mitya57
Revision: 32383
Disable snowballstemmer-based search until upstream implements
it correctly (without JS blobs) and we get snowballstemmer packaged.
Added:
packages/sphinx/trunk/debian/patches/no_snowballstemmer.diff
Modified:
packages/sphinx/trunk/debian/changelog
packages/sphinx/trunk/debian/patches/series
Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog 2015-04-20 08:34:05 UTC (rev 32382)
+++ packages/sphinx/trunk/debian/changelog 2015-04-20 09:08:37 UTC (rev 32383)
@@ -28,6 +28,8 @@
* Drop 2to3 call from debian/tests/python3-sphinx.
* Properly clean up after running tests.
* Bring debian/copyright in sync with upstream AUTHORS file.
+ * Disable snowballstemmer-based search until upstream implements
+ it correctly (without JS blobs) and we get snowballstemmer packaged.
-- Dmitry Shachnev <mitya57 at debian.org> Fri, 10 Apr 2015 09:31:00 +0300
Added: packages/sphinx/trunk/debian/patches/no_snowballstemmer.diff
===================================================================
--- packages/sphinx/trunk/debian/patches/no_snowballstemmer.diff (rev 0)
+++ packages/sphinx/trunk/debian/patches/no_snowballstemmer.diff 2015-04-20 09:08:37 UTC (rev 32383)
@@ -0,0 +1,41 @@
+Description: do not support snowballstemmer-based search for now
+Author: Dmitry Shachnev <mitya57 at debian.org>
+Forwarded: not-needed
+Last-Update: 2015-04-20
+
+--- a/sphinx/search/__init__.py
++++ b/sphinx/search/__init__.py
+@@ -117,22 +117,8 @@
+
+ # maps language name to module.class or directly a class
+ languages = {
+- 'da': 'sphinx.search.da.SearchDanish',
+- 'de': 'sphinx.search.de.SearchGerman',
+ 'en': SearchEnglish,
+- 'es': 'sphinx.search.es.SearchSpanish',
+- 'fi': 'sphinx.search.fi.SearchFinnish',
+- 'fr': 'sphinx.search.fr.SearchFrench',
+- 'hu': 'sphinx.search.hu.SearchHungarian',
+- 'it': 'sphinx.search.it.SearchItalian',
+ 'ja': 'sphinx.search.ja.SearchJapanese',
+- 'nl': 'sphinx.search.nl.SearchDutch',
+- 'no': 'sphinx.search.no.SearchNorwegian',
+- 'pt': 'sphinx.search.pt.SearchPortuguese',
+- 'ro': 'sphinx.search.ro.SearchRomanian',
+- 'ru': 'sphinx.search.ru.SearchRussian',
+- 'sv': 'sphinx.search.sv.SearchSwedish',
+- 'tr': 'sphinx.search.tr.SearchTurkish',
+ }
+
+
+--- a/tests/run.py
++++ b/tests/run.py
+@@ -23,7 +23,7 @@
+ # check dependencies before testing
+ print('Checking dependencies...')
+ for modname in ('nose', 'mock', 'six', 'docutils', 'jinja2', 'pygments',
+- 'snowballstemmer', 'babel'):
++ 'babel'):
+ try:
+ __import__(modname)
+ except ImportError as err:
Modified: packages/sphinx/trunk/debian/patches/series
===================================================================
--- packages/sphinx/trunk/debian/patches/series 2015-04-20 08:34:05 UTC (rev 32382)
+++ packages/sphinx/trunk/debian/patches/series 2015-04-20 09:08:37 UTC (rev 32383)
@@ -2,3 +2,4 @@
initialize_autodoc.diff
no_external_css.diff
disable_js_version_check.diff
+no_snowballstemmer.diff
More information about the Python-modules-commits
mailing list