[Python-modules-commits] r25428 - in packages/python-django-threadedcomments/trunk/debian (3 files)

ockham-guest at users.alioth.debian.org ockham-guest at users.alioth.debian.org
Wed Aug 7 13:25:19 UTC 2013


    Date: Wednesday, August 7, 2013 @ 13:25:17
  Author: ockham-guest
Revision: 25428

Remove debian/testsettings.py -- generate dynamically instead.

Modified:
  packages/python-django-threadedcomments/trunk/debian/changelog
  packages/python-django-threadedcomments/trunk/debian/rules
Deleted:
  packages/python-django-threadedcomments/trunk/debian/testsettings.py

Modified: packages/python-django-threadedcomments/trunk/debian/changelog
===================================================================
--- packages/python-django-threadedcomments/trunk/debian/changelog	2013-08-07 13:08:22 UTC (rev 25427)
+++ packages/python-django-threadedcomments/trunk/debian/changelog	2013-08-07 13:25:17 UTC (rev 25428)
@@ -14,8 +14,7 @@
   * debian/patches/series, debian/patches/add_markup_deps_to_install,
     debian/patches/gravatar_default_url, debian/patches/django14:
     Remove patches, as obsolete.
-  * debian/rules, debian/testsettings.py (added):
-    Add a SECRET_KEY for tests during building. (Closes: #711369)
+  * debian/rules: Add a SECRET_KEY for tests during building. (Closes: #711369)
 
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.

Modified: packages/python-django-threadedcomments/trunk/debian/rules
===================================================================
--- packages/python-django-threadedcomments/trunk/debian/rules	2013-08-07 13:08:22 UTC (rev 25427)
+++ packages/python-django-threadedcomments/trunk/debian/rules	2013-08-07 13:25:17 UTC (rev 25428)
@@ -5,7 +5,7 @@
 
 override_dh_auto_test:
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
-	cp debian/testsettings.py threadedcomments/; \
+	echo "SECRET_KEY='test'" > threadedcomments/testsettings.py; \
 	set -e; \
 	for python in $(shell pyversions -r); do \
 		DJANGO_SETTINGS_MODULE="threadedcomments.testsettings" \

Deleted: packages/python-django-threadedcomments/trunk/debian/testsettings.py
===================================================================
--- packages/python-django-threadedcomments/trunk/debian/testsettings.py	2013-08-07 13:08:22 UTC (rev 25427)
+++ packages/python-django-threadedcomments/trunk/debian/testsettings.py	2013-08-07 13:25:17 UTC (rev 25428)
@@ -1 +0,0 @@
-SECRET_KEY="test"




More information about the Python-modules-commits mailing list