Bug 184147 - [maintainer update] Fix and update my django-related ports
Summary: [maintainer update] Fix and update my django-related ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-21 16:10 UTC by Serhii (Sergey) Kozlov
Modified: 2013-11-24 20:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.18 KB, patch)
2013-11-21 16:10 UTC, Serhii (Sergey) Kozlov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2013-11-21 16:10:00 UTC
- 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.

Fix: Patch attached with submission follows:
Comment 1 Carlo Strub freebsd_committer freebsd_triage 2013-11-21 23:33:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cs

I'll take it
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-24 20:36:48 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Carlo Strub freebsd_committer freebsd_triage 2013-11-24 20:36:58 UTC
State Changed
From-To: open->closed

Committed. Thank you very much.