svn commit: r400569 - head/www/py-django-contrib-comments

Kubilay Kocak koobs at FreeBSD.org
Sat Oct 31 11:58:49 UTC 2015


Author: koobs
Date: Sat Oct 31 11:58:47 2015
New Revision: 400569
URL: https://svnweb.freebsd.org/changeset/ports/400569

Log:
  www/py-django-contrib-comments: Use Django 1.6 for RUN_DEPENDS
  
  Default to using Django 1.6 (www/py-django16) because the current version
  of www/py-django-mezzanine does not support anything later than 1.6, and
  installation currently causes a conflict as installation of both django16
  and django18 are attempted:
  
      py-django-mezzanine -> www/django16, www/py-django-contrib-comments
      py-django-contrib-comments -> www/django (1.8)
  
  This fixes a new (py-django-mezzanine) failure in 2015Q4 reported by
  pkg-fallout.
  
  This is the least of all current evils, without having to update Mezzanine
  to it's latest versions (*and* have to MFH that update). It has zero impact
  on other ports as mezzanine is the only port that currently consumes/depends
  on it.
  
  While I'm here, switch back to file-based dependency declaration because
  django* matches all django packages, and we can't anchor using $, resulting
  in `pkg info "$1" potentially returning multiple matches.
  
  Scripts/do-depends.sh should probably check for multiple results
  and error out if there is.
  
  Reviewed by:		antoine
  MFH:			2015Q4 (pre-approved: antoine)
  Differential Revision:	https://reviews.freebsd.org/D4047

Modified:
  head/www/py-django-contrib-comments/Makefile

Modified: head/www/py-django-contrib-comments/Makefile
==============================================================================
--- head/www/py-django-contrib-comments/Makefile	Sat Oct 31 11:27:45 2015	(r400568)
+++ head/www/py-django-contrib-comments/Makefile	Sat Oct 31 11:58:47 2015	(r400569)
@@ -3,6 +3,7 @@
 
 PORTNAME=	django-contrib-comments
 PORTVERSION=	1.6.1
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ COMMENT=	Code formerly known as django.c
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django*>=1.5:${PORTSDIR}/www/py-django
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django16
 
 USES=		python
 USE_PYTHON=	autoplist distutils


More information about the svn-ports-all mailing list