--- python-django-south-0.7.5.orig/debian/changelog +++ python-django-south-0.7.5/debian/changelog @@ -0,0 +1,70 @@ +python-django-south (0.7.5-1.1build1) trusty; urgency=medium + + * Rebuild to drop files installed into /usr/share/pyshared. + + -- Matthias Klose Sun, 23 Feb 2014 13:51:23 +0000 + +python-django-south (0.7.5-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove extraneous debdiff files. + * Resolve compatibility issues with Django 1.6. (Closes: #729412) + + -- Luke Faraone Thu, 07 Nov 2013 17:42:57 -0500 + +python-django-south (0.7.5-1) unstable; urgency=low + + * New upstream release + + -- David Watson Wed, 20 Jun 2012 15:27:17 +0100 + +python-django-south (0.7.4-1) unstable; urgency=low + + * New upstream release + * Updated standards version + + -- David Watson Thu, 26 Apr 2012 15:06:19 +0100 + +python-django-south (0.7.3-1) unstable; urgency=low + + * New upstream release + * Updated standards version + + -- David Watson Wed, 26 Jan 2011 09:53:40 +0000 + +python-django-south (0.7-1) unstable; urgency=low + + * New upstream release. (Closes: #576502) + + -- David Watson Thu, 29 Apr 2010 20:13:56 +0100 + +python-django-south (0.7~rc1-1) experimental; urgency=low + + * New upstream release + * Updated Standards version, no changes needed + + -- David Watson Mon, 22 Mar 2010 11:19:30 +0000 + +python-django-south (0.6.2-1) unstable; urgency=low + + * New upstream release + + -- David Watson Fri, 05 Feb 2010 15:09:59 +0000 + +python-django-south (0.6-1) unstable; urgency=low + + * New upstream release + + -- David Watson Thu, 20 Aug 2009 14:13:41 +0100 + +python-django-south (0.5-2) unstable; urgency=low + + * Add python-setuptools to Build-Depends (Closes: #527821) + + -- David Watson Fri, 08 May 2009 22:43:41 +0100 + +python-django-south (0.5-1) unstable; urgency=low + + * Initial release (Closes: #526348, #527328) + + -- David Watson Thu, 02 May 2009 09:56:35 +0100 --- python-django-south-0.7.5.orig/debian/compat +++ python-django-south-0.7.5/debian/compat @@ -0,0 +1 @@ +7 --- python-django-south-0.7.5.orig/debian/control +++ python-django-south-0.7.5/debian/control @@ -0,0 +1,23 @@ +Source: python-django-south +Section: python +Priority: optional +Maintainer: David Watson +Build-Depends: python-all, debhelper (>= 7), python-setuptools +Standards-Version: 3.9.3 +Homepage: http://south.aeracode.org/ + +Package: python-django-south +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-django (>= 1.0.2) +Description: Intelligent schema migrations for django apps + An intelligent database migrations library for the Django web framework. + It is database-independent and DVCS-friendly, as well as a whole host of + other features. + . + * Intelligent; it knows if you've missed out a migration or two + * Database independent, so there's no hassle if you need to move databases. + * Easy; it can write migrations for you, and it takes about a minute to + convert your app over to use South. + * Designed for a pluggable Django world; you can declare dependencies + between apps so they all migrate together correctly, and you can + still use syncdb for your non-migrated apps without it interfering. --- python-django-south-0.7.5.orig/debian/copyright +++ python-django-south-0.7.5/debian/copyright @@ -0,0 +1,45 @@ +Author: Andrew Godwin & Andy McCurdy +Download: http://south.aeracode.org/wiki/Download + +Files: * +Copyright: © 2008 Andrew Godwin & Andy McCurdy +License: Apache-2.0 + +Files: debian/* +Copyright: © 2009 Bashton Ltd +License: GPL-2 + +License: Apache-2.0 + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + . + On Debian systems, the complete text of the Apache License Version 2.0 + can be found in the /usr/share/common-licenses/Apache-2.0 file. + + +License: GPL-2 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + On Debian systems, the complete text of the GNU General Public License + can be found in the /usr/share/common-licenses/GPL-2 file. --- python-django-south-0.7.5.orig/debian/rules +++ python-django-south-0.7.5/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with=python2 --- python-django-south-0.7.5.orig/debian/source/format +++ python-django-south-0.7.5/debian/source/format @@ -0,0 +1 @@ +1.0 --- python-django-south-0.7.5.orig/debian/watch +++ python-django-south-0.7.5/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://www.aeracode.org/releases/south/south-(.*)\.tar\.gz --- python-django-south-0.7.5.orig/south/hacks/django_1_0.py +++ python-django-south-0.7.5/south/hacks/django_1_0.py @@ -2,6 +2,7 @@ Hacks for the Django 1.0/1.0.2 releases. """ +import django from django.conf import settings from django.db import models from django.db.backends.creation import BaseDatabaseCreation @@ -51,7 +52,7 @@ """ a = AppCache() a.loaded = False - a.handled = {} + a.handled = set() if django.VERSION >= (1, 6) else {} a.postponed = [] a.app_store = SortedDict() a.app_models = SortedDict() --- python-django-south-0.7.5.orig/south/management/commands/datamigration.py +++ python-django-south-0.7.5/south/management/commands/datamigration.py @@ -103,7 +103,7 @@ MIGRATION_TEMPLATE = """# -*- coding: utf-8 -*- -import datetime +from south.utils import datetime_utils as datetime from south.db import db from south.v2 import DataMigration from django.db import models --- python-django-south-0.7.5.orig/south/management/commands/schemamigration.py +++ python-django-south-0.7.5/south/management/commands/schemamigration.py @@ -173,7 +173,7 @@ MIGRATION_TEMPLATE = """# -*- coding: utf-8 -*- -import datetime +from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models --- python-django-south-0.7.5.orig/south/test_shim.py +++ python-django-south-0.7.5/south/test_shim.py @@ -0,0 +1,6 @@ +""" +This file is needed as 1.6 only finds tests in files labelled test_*, +and ignores tests/__init__.py. +""" + +from south.tests import * --- python-django-south-0.7.5.orig/south/v2.py +++ python-django-south-0.7.5/south/v2.py @@ -9,7 +9,9 @@ def gf(self, field_name): "Gets a field by absolute reference." - return ask_for_it_by_name(field_name) + field = ask_for_it_by_name(field_name) + field.model = FakeModel + return field class SchemaMigration(BaseMigration): pass @@ -17,3 +19,7 @@ class DataMigration(BaseMigration): # Data migrations shouldn't be dry-run no_dry_run = True + +class FakeModel(object): + "Fake model so error messages on fields don't explode" + pass