Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 20:36:41 +0000 (UTC)
From:      Carlo Strub <cs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334789 - in head/www: py-django-tables2 py-django-tinymce
Message-ID:  <201311242036.rAOKaf5j005013@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cs
Date: Sun Nov 24 20:36:40 2013
New Revision: 334789
URL: http://svnweb.freebsd.org/changeset/ports/334789

Log:
  - Allow ports to work with any django version avaliable.
  - Allow staging and use AUTOPLIST option for www/py-django-tables2
  
  PR:		ports/184147
  Submitted by:	Kozlov Sergey <kozlov.sergey.404@gmail.com> (maintainer)

Deleted:
  head/www/py-django-tables2/pkg-plist
Modified:
  head/www/py-django-tables2/Makefile
  head/www/py-django-tinymce/Makefile

Modified: head/www/py-django-tables2/Makefile
==============================================================================
--- head/www/py-django-tables2/Makefile	Sun Nov 24 20:23:02 2013	(r334788)
+++ head/www/py-django-tables2/Makefile	Sun Nov 24 20:36:40 2013	(r334789)
@@ -12,13 +12,13 @@ COMMENT=	Table/data-grid framework for D
 
 LICENSE=	BSD
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django>=1.2:${PORTSDIR}/www/py-django \
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django \
 		${PYTHON_PKGNAMEPREFIX}six>=0:${PORTSDIR}/devel/py-six
 
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
+USE_PYDISTUTILS=easy_install
+PYDISTUTILS_AUTOPLIST=yes
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} 's|classifiers=\[|zip_safe=False, classifiers=\[|' \
 		${WRKSRC}/setup.py

Modified: head/www/py-django-tinymce/Makefile
==============================================================================
--- head/www/py-django-tinymce/Makefile	Sun Nov 24 20:23:02 2013	(r334788)
+++ head/www/py-django-tinymce/Makefile	Sun Nov 24 20:36:40 2013	(r334789)
@@ -12,7 +12,7 @@ COMMENT=	Django application to use TinyM
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django>=1.0:${PORTSDIR}/www/py-django
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	easy_install



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