diff options
author | koobs <koobs@FreeBSD.org> | 2015-06-21 16:00:29 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2015-06-21 16:00:29 +0800 |
commit | aaaef82a17ea7ad7bd93d811d11e453a916e9315 (patch) | |
tree | ef9ca4c6334774ed44d1a5167449cc105fd12d94 | |
parent | 54fa6e47e55d5a306e56925d22c90004d04d366b (diff) | |
download | freebsd-ports-gnome-aaaef82a17ea7ad7bd93d811d11e453a916e9315.tar.gz freebsd-ports-gnome-aaaef82a17ea7ad7bd93d811d11e453a916e9315.tar.zst freebsd-ports-gnome-aaaef82a17ea7ad7bd93d811d11e453a916e9315.zip |
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.
-rw-r--r-- | www/py-django-contrib-comments/Makefile | 9 | ||||
-rw-r--r-- | www/py-django-contrib-comments/distinfo | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/www/py-django-contrib-comments/Makefile b/www/py-django-contrib-comments/Makefile index f612d0e87daf..108b7147a63b 100644 --- a/www/py-django-contrib-comments/Makefile +++ b/www/py-django-contrib-comments/Makefile @@ -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@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> diff --git a/www/py-django-contrib-comments/distinfo b/www/py-django-contrib-comments/distinfo index 4c1df51a361f..98734f2fd594 100644 --- a/www/py-django-contrib-comments/distinfo +++ b/www/py-django-contrib-comments/distinfo @@ -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 |