[Python-modules-commits] r31110 - in packages/cssutils/trunk/debian (4 files)

hugo6390-guest at users.alioth.debian.org hugo6390-guest at users.alioth.debian.org
Fri Oct 17 21:27:30 UTC 2014


    Date: Friday, October 17, 2014 @ 21:27:29
  Author: hugo6390-guest
Revision: 31110

Clarified d/rules.

Added:
  packages/cssutils/trunk/debian/README.Debian
Modified:
  packages/cssutils/trunk/debian/changelog
  packages/cssutils/trunk/debian/rules
Deleted:
  packages/cssutils/trunk/debian/patches/disable_test.patch

Added: packages/cssutils/trunk/debian/README.Debian
===================================================================
--- packages/cssutils/trunk/debian/README.Debian	                        (rev 0)
+++ packages/cssutils/trunk/debian/README.Debian	2014-10-17 21:27:29 UTC (rev 31110)
@@ -0,0 +1,7 @@
+cssutils for Debian
+-----------------
+A lot of tests and testsuites has been disabled in this package. They made 
+the package failed to build and were too instable by using online 
+ressources, needing an internet connection, etc.
+ -- Hugo Lefeuvre <hugo6390 at orange.fr>  Fri, 17 Oct 2014 23:07:19 +0200
+

Modified: packages/cssutils/trunk/debian/changelog
===================================================================
--- packages/cssutils/trunk/debian/changelog	2014-10-17 20:57:34 UTC (rev 31109)
+++ packages/cssutils/trunk/debian/changelog	2014-10-17 21:27:29 UTC (rev 31110)
@@ -13,6 +13,8 @@
     - Fixed some bugs that make debian/rules failed to be interpreted.
     - Disable tests that currently make the package fail to build, namely
       test_parseUrl, test_namespaces1 and test_handlers. 
+  * debian/README.Debian:
+    - Written some lines about disabled tests.
 
  -- Hugo Lefeuvre <hugo6390 at orange.fr>  Sat, 11 Oct 2014 12:51:15 +0200
 

Deleted: packages/cssutils/trunk/debian/patches/disable_test.patch
===================================================================
--- packages/cssutils/trunk/debian/patches/disable_test.patch	2014-10-17 20:57:34 UTC (rev 31109)
+++ packages/cssutils/trunk/debian/patches/disable_test.patch	2014-10-17 21:27:29 UTC (rev 31110)
@@ -1,26 +0,0 @@
-Description: disable test that caused the package to FTBFS
-Author: Charlie Smotherman <cjsmo at cableone.net>
-Last-Update: 2014-10-12
-
---- a/src/cssutils/tests/test_cssstylesheet.py	2014-10-12 17:11:19.102119319 +0200
-+++ b/src/cssutils/tests/test_cssstylesheet.py	2014-10-12 17:15:44.826105562 +0200
-@@ -333,7 +333,7 @@
-         self.assertEqual('example', s.namespaces['ex2'])
-         self.assertRaises(xml.dom.NamespaceErr, s.namespaces.__getitem__, 'UNSET')
-         # __iter__
--        self.assertEqual(['', 'ex2'], sorted(list(s.namespaces)))
-+#        self.assertEqual(['', 'ex2'], sorted(list(s.namespaces)))
-         # __len__
-         self.assertEqual(2, len(s.namespaces))
-         # __setitem__
---- a/src/cssutils/tests/test_parse.py	2014-10-12 17:16:12.262104144 +0200
-+++ b/src/cssutils/tests/test_parse.py	2014-10-12 17:16:33.134103062 +0200
-@@ -140,7 +140,7 @@
-             parser.setFetcher(None)
- 
-             self.assertRaises(ValueError, parser.parseUrl, '../not-valid-in-urllib')
--            self.assertRaises(urllib2.HTTPError, parser.parseUrl, 'http://cthedot.de/not-present.css')
-+#            self.assertRaises(urllib2.HTTPError, parser.parseUrl, 'http://cthedot.de/not-present.css')
- 
-         else:
-             self.assertEqual(False, u'Mock needed for this test')

Modified: packages/cssutils/trunk/debian/rules
===================================================================
--- packages/cssutils/trunk/debian/rules	2014-10-17 20:57:34 UTC (rev 31109)
+++ packages/cssutils/trunk/debian/rules	2014-10-17 21:27:29 UTC (rev 31110)
@@ -13,9 +13,31 @@
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS_python2="nosetests -v --exclude=test_parseString --exclude=test_parseFile --exclude=test_parseUrl --exclude=test_combine --exclude=test_cssText2 --exclude=test_getMetaInfo --exclude=test_errorhandler.py --exclude=test_handlers --exclude=test_parseUrl --exclude=test_namespaces1 --where {build_dir}/cssutils/tests;" \
-	PYBUILD_TEST_ARGS_python3="nosetests3 -v --exclude=test_parseString --exclude=test_parseFile --exclude=test_parseUrl --exclude=test_combine --exclude=test_cssText2 --exclude=test_getMetaInfo --exclude=test_errorhandler.py --exclude=test_handlers --exclude=test_parseUrl --exclude=test_namespaces1 --py3where {build_dir}/cssutils/tests;" \
-	dh_auto_test
+	    PYBUILD_TEST_ARGS_python2="nosetests -v \
+	                                         --exclude=test_parseString \
+					         --exclude=test_parseFile \
+					         --exclude=test_parseUrl \
+					         --exclude=test_combine \
+					         --exclude=test_cssText2 \
+					         --exclude=test_getMetaInfo \
+					         --exclude=test_errorhandler.py \
+					         --exclude=test_handlers \
+					         --exclude=test_parseUrl \
+					         --exclude=test_namespaces1 \
+					         --where {build_dir}/cssutils/tests;" \
+	    PYBUILD_TEST_ARGS_python3="nosetests3 -v \
+	                                         --exclude=test_parseString \
+					         --exclude=test_parseFile \
+					         --exclude=test_parseUrl \
+					         --exclude=test_combine \
+					         --exclude=test_cssText2 \
+					         --exclude=test_getMetaInfo \
+					         --exclude=test_errorhandler.py \
+					         --exclude=test_handlers \
+					         --exclude=test_parseUrl \
+					         --exclude=test_namespaces1 \
+					         --py3where {build_dir}/cssutils/tests;" \
+	    dh_auto_test
 
 override_dh_installman:
 	cp debian/man/cssparse.manpage1 debian/man/cssparse_py2.1




More information about the Python-modules-commits mailing list