Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 16:02:20 GMT
From:      Kozlov Sergey <kozlov.sergey.404@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184147: [maintainer update] Fix and update my django-related ports
Message-ID:  <201311211602.rALG2Kjk026269@oldred.freebsd.org>
Resent-Message-ID: <201311211610.rALGA0Z3008950@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184147
>Category:       ports
>Synopsis:       [maintainer update] Fix and update my django-related ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 21 16:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kozlov Sergey
>Release:        9.1-RELEASE-p7
>Organization:
ARC
>Environment:
FreeBSD sonya 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #4: Tue Sep 10 18:39:35 EEST 2013     root@sonya:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
- Allow ports to work with any django version avaliable. 
- Allow staging and use AUTOPLIST option for www/py-django-tables2

Please delete www/py-django-tables2/pkg-plist file from the repo.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: www/py-django-tables2/Makefile
===================================================================
--- www/py-django-tables2/Makefile  (revision 334495)
+++ www/py-django-tables2/Makefile  (working copy)
@@ -12,13 +12,13 @@

 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
+PYDISTUTILS_AUTOPLIST= yes

-NO_STAGE=      yes
 post-patch:
        @${REINPLACE_CMD} 's|classifiers=\[|zip_safe=False, classifiers=\[|' \
                ${WRKSRC}/setup.py
Index: www/py-django-tinymce/Makefile
===================================================================
--- www/py-django-tinymce/Makefile  (revision 334495)
+++ www/py-django-tinymce/Makefile  (working copy)
@@ -12,7 +12,7 @@

 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

>Release-Note:
>Audit-Trail:
>Unformatted:



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