svn commit: r336056 - head/www/py-django-dpaste
Kubilay Kocak
koobs at FreeBSD.org
Tue Dec 10 10:31:51 UTC 2013
Author: koobs
Date: Tue Dec 10 10:31:51 2013
New Revision: 336056
URL: http://svnweb.freebsd.org/changeset/ports/336056
Log:
www/py-django-dpaste: Add option for MIGRATIONS support (via south)
A few migrations come packaged with this Django application and the author
notes they are "preferred", but not required.
Regarding the option naming, it was furiously debated in #freebsd-python and
I opted for naming the "feature that is enabled" rather than the application
enabling it. Another data point is the common use of the term "schema
migrations" in Django parlance.
Thank you xmj for being a great sounding board as always!
Reported by: Johannes Meixner (xmj, via IRC)
Reviewed by: Johannes Meixner
Modified:
head/www/py-django-dpaste/Makefile
Modified: head/www/py-django-dpaste/Makefile
==============================================================================
--- head/www/py-django-dpaste/Makefile Tue Dec 10 10:13:13 2013 (r336055)
+++ head/www/py-django-dpaste/Makefile Tue Dec 10 10:31:51 2013 (r336056)
@@ -16,6 +16,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}djan
${PYTHON_PKGNAMEPREFIX}pygments>=1.6:${PORTSDIR}/textproc/py-pygments \
${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:${PORTSDIR}/www/py-requests
+OPTIONS_DEFINE= MIGRATIONS
+
+MIGRATIONS_DESC= Schema and data migration support (via south)
+MIGRATIONS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}south>=0.8.2:${PORTSDIR}/databases/py-south
+
USE_GITHUB= yes
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
More information about the svn-ports-all
mailing list