[Python-modules-commits] r16214 - in packages/python-django/trunk/debian (changelog rules)

lamby at users.alioth.debian.org lamby at users.alioth.debian.org
Thu Mar 24 15:24:04 UTC 2011


    Date: Thursday, March 24, 2011 @ 15:23:58
  Author: lamby
Revision: 16214

Add workaround for missing "backup~" file in release tarball. See <http://code.djangoproject.com/ticket/15677>.

Modified:
  packages/python-django/trunk/debian/changelog
  packages/python-django/trunk/debian/rules

Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog	2011-03-24 15:23:39 UTC (rev 16213)
+++ packages/python-django/trunk/debian/changelog	2011-03-24 15:23:58 UTC (rev 16214)
@@ -5,6 +5,8 @@
     - Update 07_disable_url_verify_model_tests.diff.
     - Merge patch from Krzysztof Klimonda to disable more network access tests.
       (Closes: #598674)
+  * Add workaround for missing "backup~" file in release tarball. See
+    <http://code.djangoproject.com/ticket/15677>.
 
  -- Chris Lamb <lamby at debian.org>  Thu, 24 Mar 2011 11:33:23 +0000
 

Modified: packages/python-django/trunk/debian/rules
===================================================================
--- packages/python-django/trunk/debian/rules	2011-03-24 15:23:39 UTC (rev 16213)
+++ packages/python-django/trunk/debian/rules	2011-03-24 15:23:58 UTC (rev 16214)
@@ -21,6 +21,7 @@
 
 override_dh_auto_clean:
 	rm -rf docs.debian tests/__init__.py
+	rm -f tests/regressiontests/staticfiles_tests/apps/test/static/test/backup~
 	find -name "*.DS_Store" -delete
 	dh_auto_clean
 
@@ -37,6 +38,8 @@
 
 override_dh_auto_test:
 	touch tests/__init__.py
+	echo 'should be ignored' > \
+		tests/regressiontests/staticfiles_tests/apps/test/static/test/backup~
 	LC_ALL=en_US.utf8 PYTHONPATH=. tests/runtests.py --settings=tests.test_sqlite --verbosity=2
 
 override_dh_install:




More information about the Python-modules-commits mailing list