aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-07-29 21:20:20 +0800
committermiwi <miwi@FreeBSD.org>2009-07-29 21:20:20 +0800
commit47ed885259d95771d660b48a1ba4ba4fd978f9eb (patch)
treee662ff69d0022d5ebe06e64a2db9c70a18d17fed /databases
parent9c526cd50fe67ba4a3326b6e170d0670af82cb94 (diff)
downloadfreebsd-ports-gnome-47ed885259d95771d660b48a1ba4ba4fd978f9eb.tar.gz
freebsd-ports-gnome-47ed885259d95771d660b48a1ba4ba4fd978f9eb.tar.zst
freebsd-ports-gnome-47ed885259d95771d660b48a1ba4ba4fd978f9eb.zip
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>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-south/Makefile22
-rw-r--r--databases/py-south/distinfo3
-rw-r--r--databases/py-south/pkg-descr15
-rw-r--r--databases/py-south/pkg-plist92
5 files changed, 133 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index d9feddf8da09..87b2f6a9ad02 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -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
diff --git a/databases/py-south/Makefile b/databases/py-south/Makefile
new file mode 100644
index 000000000000..d49daf0602fc
--- /dev/null
+++ b/databases/py-south/Makefile
@@ -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>
diff --git a/databases/py-south/distinfo b/databases/py-south/distinfo
new file mode 100644
index 000000000000..f41ff470e2dc
--- /dev/null
+++ b/databases/py-south/distinfo
@@ -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
diff --git a/databases/py-south/pkg-descr b/databases/py-south/pkg-descr
new file mode 100644
index 000000000000..ac6484477440
--- /dev/null
+++ b/databases/py-south/pkg-descr
@@ -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/
diff --git a/databases/py-south/pkg-plist b/databases/py-south/pkg-plist
new file mode 100644
index 000000000000..a1d352168ded
--- /dev/null
+++ b/databases/py-south/pkg-plist
@@ -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%%