Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2015 07:09:07 +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: r390535 - head/www/py-django-mptt
Message-ID:  <201506250709.t5P797t4087105@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Thu Jun 25 07:09:06 2015
New Revision: 390535
URL: https://svnweb.freebsd.org/changeset/ports/390535

Log:
  www/py-django-mptt: Fix Django dependency causing conflicts
  
  Tweak RUN_DEPENDS, switching to file-based django detection, instead of
  by package name.
  
  This ensures that if a port that depends on this one, also depends on a
  different django version, it will see and use the installed version,
  rather than attempting to install another one, which results in a
  conflict as all django ports conflict with each other.
  
  www/py-django-dpaste depends on py-django-mptt but is about to be
  limited to Django <= 1.6 (it does not currently support higher).
  
  Since py-django-mptt depends on www/py-django (currently 1.8.x), this
  results in the conflict described above.
  
  The same change will also be made in www/py-django-dpaste for any ports
  that may depend on *it* in the future.
  
  This change is a NOOP for other conditions.
  
  See r390184 [1] for another instance of this issue.
  
  [1] https://svnweb.freebsd.org/changeset/ports/390184
  
  Approved by:	portmgr (blanket: trivial, tested, build fixes)

Modified:
  head/www/py-django-mptt/Makefile

Modified: head/www/py-django-mptt/Makefile
==============================================================================
--- head/www/py-django-mptt/Makefile	Thu Jun 25 06:02:14 2015	(r390534)
+++ head/www/py-django-mptt/Makefile	Thu Jun 25 07:09:06 2015	(r390535)
@@ -11,7 +11,7 @@ COMMENT=	Utilities for implementing a pr
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django>=1.4.2:${PORTSDIR}/www/py-django
+BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django # >= 1.4.2
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USE_GITHUB=	yes



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