[Python-modules-commits] r23046 - in packages/django-reversion/trunk/debian (5 files)
fladi-guest at users.alioth.debian.org
fladi-guest at users.alioth.debian.org
Sat Nov 24 12:57:46 UTC 2012
Date: Saturday, November 24, 2012 @ 12:57:44
Author: fladi-guest
Revision: 23046
New upstream release.
Update d/watch to use github directly.
Change tehe way tests are run during build.
Added:
packages/django-reversion/trunk/debian/settings.py
Modified:
packages/django-reversion/trunk/debian/changelog
packages/django-reversion/trunk/debian/control
packages/django-reversion/trunk/debian/rules
packages/django-reversion/trunk/debian/watch
Modified: packages/django-reversion/trunk/debian/changelog
===================================================================
--- packages/django-reversion/trunk/debian/changelog 2012-11-24 05:39:37 UTC (rev 23045)
+++ packages/django-reversion/trunk/debian/changelog 2012-11-24 12:57:44 UTC (rev 23046)
@@ -1,3 +1,11 @@
+django-reversion (1.6.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Use github directly in d/watch.
+ * Run tests with django-admin and manage.py.
+
+ -- Michael Fladischer <FladischerMichael at fladi.at> Sat, 24 Nov 2012 13:44:17 +0100
+
django-reversion (1.6-1) unstable; urgency=low
* New upstream release.
Modified: packages/django-reversion/trunk/debian/control
===================================================================
--- packages/django-reversion/trunk/debian/control 2012-11-24 05:39:37 UTC (rev 23045)
+++ packages/django-reversion/trunk/debian/control 2012-11-24 12:57:44 UTC (rev 23046)
@@ -5,7 +5,7 @@
Uploaders: Michael Fladischer <FladischerMichael at fladi.at>
Build-Depends: debhelper (>= 7.0.50~),
python-all (>= 2.6.6-3~),
- python-django (>= 1.4),
+ python-django (>= 1.4.1),
python-django-south,
python-pybabel
Standards-Version: 3.9.3
@@ -16,7 +16,7 @@
Package: python-django-reversion
Architecture: all
-Depends: python-django (>= 1.3), ${misc:Depends}, ${python:Depends}
+Depends: python-django (>= 1.4.1), ${misc:Depends}, ${python:Depends}
Recommends: python-django-south
Description: Provides comprehensive version control facilities for Django
Reversion is an extension to the Django web framework that provides
Modified: packages/django-reversion/trunk/debian/rules
===================================================================
--- packages/django-reversion/trunk/debian/rules 2012-11-24 05:39:37 UTC (rev 23045)
+++ packages/django-reversion/trunk/debian/rules 2012-11-24 12:57:44 UTC (rev 23046)
@@ -5,9 +5,16 @@
.PHONY: override_dh_auto_test
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ django-admin startproject testproject
+ if [ -d testproject/testproject ]; then \
+ cp debian/settings.py testproject/testproject/settings.py; \
+ else \
+ cp debian/settings.py testproject ; \
+ fi
set -e; \
for python in $(shell pyversions -r); do \
- PYTHONPATH=src $$python src/test_project/manage.py test --settings=test_project.settings; \
+ rm -f testproject/test.db3 ; \
+ PYTHONPATH="src:testproject" $$python testproject/manage.py test --settings=testproject.settings reversion ; \
done
endif
@@ -19,9 +26,9 @@
done
dh_auto_build
-.PHONY: override_dh_installchangelogs
-override_dh_installchangelogs:
- dh_installchangelogs CHANGELOG.markdown
+#.PHONY: override_dh_installchangelogs
+#override_dh_installchangelogs:
+# dh_installchangelogs CHANGELOG.markdown
.PHONY: override_dh_auto_install
override_dh_auto_install:
Added: packages/django-reversion/trunk/debian/settings.py
===================================================================
--- packages/django-reversion/trunk/debian/settings.py (rev 0)
+++ packages/django-reversion/trunk/debian/settings.py 2012-11-24 12:57:44 UTC (rev 23046)
@@ -0,0 +1,16 @@
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'NAME': 'testproject/test.db3'
+ }
+}
+INSTALLED_APPS = ["reversion",
+ "django.contrib.auth",
+ "django.contrib.contenttypes",
+ "django.contrib.admin",
+ "django.contrib.sites",
+ "django.contrib.sessions",
+ ]
+SITE_ID = 1
+ROOT_URLCONF = "testproject.urls"
+SECRET_KEY = "1"
Modified: packages/django-reversion/trunk/debian/watch
===================================================================
--- packages/django-reversion/trunk/debian/watch 2012-11-24 05:39:37 UTC (rev 23045)
+++ packages/django-reversion/trunk/debian/watch 2012-11-24 12:57:44 UTC (rev 23046)
@@ -1,3 +1,3 @@
version=3
-opts=filenamemangle=s/.*-([\d\.]+)\.tar\.gz/django-reversion-$1\.tar\.gz/ \
-http://githubredir.debian.net/github/etianen/django-reversion /github/etianen/django-reversion/release-([\d\.]+)\.tar\.gz
+https://github.com/etianen/django-reversion/downloads \
+/downloads/etianen/django-reversion/django-reversion-([\d\.]+)\.tar\.gz
More information about the Python-modules-commits
mailing list