Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 10:31:51 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336056 - head/www/py-django-dpaste
Message-ID:  <201312101031.rBAAVpxP087439@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312101031.rBAAVpxP087439>