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

Kubilay Kocak koobs at FreeBSD.org
Sun Jun 21 08:00:30 UTC 2015


Author: koobs
Date: Sun Jun 21 08:00:29 2015
New Revision: 390184
URL: https://svnweb.freebsd.org/changeset/ports/390184

Log:
  www/py-django-contrib-comments: Update to 1.6.1
  
  - Update to 1.6.1
  - Add LICENSE file
  - Switch RUN_DEPENDS to file detection
  
  This allows for an existing installation of py-djangoXY to be
  identified, which avoids attempting to install py-django (currently
  1.8), which will cause installation conflicts for Ports that depend on
  contrib-comments, but DONT support Django 1.8 (eg: Mezzanine) and use
  www/djangoXY ports.

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

Modified: head/www/py-django-contrib-comments/Makefile
==============================================================================
--- head/www/py-django-contrib-comments/Makefile	Sun Jun 21 05:34:53 2015	(r390183)
+++ head/www/py-django-contrib-comments/Makefile	Sun Jun 21 08:00:29 2015	(r390184)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	django-contrib-comments
-PORTVERSION=	1.5
+PORTVERSION=	1.6.1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,15 @@ MAINTAINER=	koobs at FreeBSD.org
 COMMENT=	Code formerly known as django.contrib.comments
 
 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-django # >= 1.5
+TEST_DEPENDS:=	${RUN_DEPENDS}
 
 USES=		python
 USE_PYTHON=	autoplist distutils
 
+regression-test: build
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
 .include <bsd.port.mk>

Modified: head/www/py-django-contrib-comments/distinfo
==============================================================================
--- head/www/py-django-contrib-comments/distinfo	Sun Jun 21 05:34:53 2015	(r390183)
+++ head/www/py-django-contrib-comments/distinfo	Sun Jun 21 08:00:29 2015	(r390184)
@@ -1,2 +1,2 @@
-SHA256 (django-contrib-comments-1.5.tar.gz) = b05f239beb650b972b6e546c0d1b24d3e2d26d1bcfd7bb91aacbacdfff528e26
-SIZE (django-contrib-comments-1.5.tar.gz) = 27753
+SHA256 (django-contrib-comments-1.6.1.tar.gz) = ef82f5f2f23b5a4e83d1ebcc67e974453368de51b7a38631a1ac5a933c0a244b
+SIZE (django-contrib-comments-1.6.1.tar.gz) = 601181


More information about the svn-ports-all mailing list