changeset 1809:821c77574ad9

test, setup: requires lxml >= 3.1.0 (fixes html cleaning issue)
author souliane <souliane@mailoo.org>
date Thu, 21 Aug 2014 20:45:24 +0200
parents 18561326a561
children 25c3569abb71
files README4PACKAGERS setup.py src/test/test_plugin_misc_text_syntaxes.py
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/README4PACKAGERS	Mon Jan 18 17:30:14 2016 +0100
+++ b/README4PACKAGERS	Thu Aug 21 20:45:24 2014 +0200
@@ -13,7 +13,7 @@
 ------------------------------
 
 dbus
-lxml
+lxml >= 3.1.0
 Mutagen
 pillow
 PyCrypto >= 2.6.1
--- a/setup.py	Mon Jan 18 17:30:14 2016 +0100
+++ b/setup.py	Thu Aug 21 20:45:24 2014 +0200
@@ -308,6 +308,6 @@
       scripts=['frontends/src/jp/jp', 'frontends/src/primitivus/primitivus', ],
       zip_safe=False,
       dependency_links=['http://home.avvanta.com/%7Esteveha/pyfeed-0.7.4.tar.gz', 'http://home.avvanta.com/%7Esteveha/xe-0.7.4.tar.gz'],
-      install_requires=['twisted', 'wokkel >= 0.7.1', 'progressbar', 'urwid >= 1.2.0', 'urwid-satext >= 0.4.0', 'pyfeed', 'xe', 'mutagen', 'pillow', 'lxml', 'pyxdg', 'markdown', 'html2text', 'pycrypto >= 2.6.1', 'python-potr', 'PyOpenSSL'],
+      install_requires=['twisted', 'wokkel >= 0.7.1', 'progressbar', 'urwid >= 1.2.0', 'urwid-satext >= 0.4.0', 'pyfeed', 'xe', 'mutagen', 'pillow', 'lxml >= 3.1.0', 'pyxdg', 'markdown', 'html2text', 'pycrypto >= 2.6.1', 'python-potr', 'PyOpenSSL'],
       cmdclass={'install': CustomInstall},
       )  # XXX: wxpython doesn't work, it's managed with preinstall_check
--- a/src/test/test_plugin_misc_text_syntaxes.py	Mon Jan 18 17:30:14 2016 +0100
+++ b/src/test/test_plugin_misc_text_syntaxes.py	Thu Aug 21 20:45:24 2014 +0200
@@ -100,7 +100,7 @@
         return d
 
     def test_removeXHTMLMarkups(self):
-        expected = u""" a link another link a paragraph secret EVIL! of EVIL! Password: annoying EVIL!spam spam SPAM! """
+        expected = u""" a link another link a paragraph secret EVIL! of EVIL! Password: annoying EVIL! spam spam SPAM! """
         result = self.text_syntaxes._removeMarkups(self.EVIL_HTML1)
         self.assertEqual(re.sub(r"\s+", " ", result).rstrip(), expected.rstrip())