This is South, intelligent schema migrations for Django apps.

South is:

    * 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.
    * Useful for data too; you can write migrations to transform legacy data.
    * Better (we think, anyway) than the alternatives.

WWW: http://south.aeracode.org/

PR:		ports/137234
Submitted by:	Stanislav Svirid <count at 211.ru>
This commit is contained in:
Martin Wilke 2009-07-29 13:20:20 +00:00
parent 74c3376eb9
commit e48e1a9ea0
5 changed files with 133 additions and 0 deletions

View file

@ -569,6 +569,7 @@
SUBDIR += py-rrdpipe
SUBDIR += py-rrdtool_lgpl
SUBDIR += py-simplecouchdb
SUBDIR += py-south
SUBDIR += py-sqlalchemy
SUBDIR += py-sqlite3
SUBDIR += py-sqlobject

View file

@ -0,0 +1,22 @@
# New ports collection makefile for: py-south
# Date created: July 29 2009
# Whom: Stanislav Svirid <count@211.ru>
#
# $FreeBSD$
#
PORTNAME= south
PORTVERSION= 0.5
CATEGORIES= databases python
MASTER_SITES= http://www.aeracode.org/releases/south/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= count@211.ru
COMMENT= This is South, intelligent schema migrations for Django apps
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_PYTHON= yes
PYDISTUTILS_PKGNAME= South
USE_PYDISTUTILS= easy_install
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (south-0.5.tar.gz) = 5a7c6396858d45b53ab01ba429587043
SHA256 (south-0.5.tar.gz) = 803ff31f3828e558d2ed8b12c9e36d0a1a08a00493a7e33d89d3e44a17abf3d3
SIZE (south-0.5.tar.gz) = 40942

View file

@ -0,0 +1,15 @@
This is South, intelligent schema migrations for Django apps.
South is:
* 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.
* Useful for data too; you can write migrations to transform legacy data.
* Better (we think, anyway) than the alternatives.
WWW: http://south.aeracode.org/

View file

@ -0,0 +1,92 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/modelsparser.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/models.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/orm.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/migration.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/modelsparser.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/models.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/orm.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/migration.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/sqlite3.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/postgresql_psycopg2.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/generic.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/mysql.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/sqlite3.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/postgresql_psycopg2.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/generic.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/mysql.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/sqlite3.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/postgresql_psycopg2.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/generic.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db/mysql.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/syncdb.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/test.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/migrate.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/startmigration.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/syncdb.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/test.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/migrate.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/startmigration.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/syncdb.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/test.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/migrate.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands/startmigration.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/logic.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/modelsparser.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/db.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/logic.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/modelsparser.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/db.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/models.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/models.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/0002_eggs.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/0003_alter_spam.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/0001_spam.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/0002_eggs.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/0003_alter_spam.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/0001_spam.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/0002_eggs.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/0003_alter_spam.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations/0001_spam.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/models.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/logic.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/modelsparser.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/db.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/modelsparser.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/models.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/orm.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/migration.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/db
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management/commands
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/management
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp/migrations
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests/fakeapp
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south/tests
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/south
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%