Bug 170496 - [PATCH] www/py-django13: update to 1.3.3
Summary: [PATCH] www/py-django13: update to 1.3.3
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: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-09 04:00 UTC by Po-Chien Lin
Modified: 2012-08-31 19:00 UTC (History)
1 user (show)

See Also:


Attachments
py27-django-1.3.3.patch (2.76 KB, patch)
2012-08-09 04:00 UTC, Po-Chien Lin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Po-Chien Lin 2012-08-09 04:00:08 UTC
- Update to 1.3.3
- Convert to new options framework

Port maintainer (lwhsu@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: suffix)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-09 04:00:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lwhsu

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2012-08-31 18:55:28 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-08-31 18:55:35 UTC
Author: lwhsu
Date: Fri Aug 31 17:55:22 2012
New Revision: 303438
URL: http://svn.freebsd.org/changeset/ports/303438

Log:
  - Update to 1.3.3
  - Convert to new options framework
  
  PR:		ports/170496
  Submitted by:	Po-Chien Lin <linpc@cs.nctu.edu.tw>

Modified:
  head/www/py-django13/Makefile
  head/www/py-django13/distinfo

Modified: head/www/py-django13/Makefile
==============================================================================
--- head/www/py-django13/Makefile	Fri Aug 31 17:36:09 2012	(r303437)
+++ head/www/py-django13/Makefile	Fri Aug 31 17:55:22 2012	(r303438)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	django
-PORTVERSION=	1.3.2
+PORTVERSION=	1.3.3
 CATEGORIES=	www python
 MASTER_SITES=	http://www.djangoproject.com/m/releases/${PORTVERSION:R}/ \
 		CHEESESHOP
@@ -30,11 +30,10 @@ CONFLICTS=	py2[0-9]-django-devel-[0-9]* 
 
 DOCSDIR=	${PREFIX}/share/doc/py-django
 
-OPTIONS=	POSTGRESQL	"PostgreSQL support"	off \
-		MYSQL	"MySQL support"	off \
-		SQLITE	"SQLite support"	off \
-		FASTCGI	"FastCGI support"	off \
-		DOCS	"Install HTML documentation (requires Sphinx)"	off
+OPTIONS_DEFINE=	PGSQL MYSQL SQLITE FASTCGI HTMLDOCS
+OPTIONS_DEFAULT=
+
+HTMLDOCS_DESC=	Build and install the HTML documentation (requires Sphinx)
 
 MAN1=		daily_cleanup.1 django-admin.1 gather_profile_stats.1
 
@@ -43,34 +42,34 @@ OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_POSTGRESQL)
+.if ${PORT_OPTIONS:MPGSQL}
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so:${PORTSDIR}/databases/py-psycopg2
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-changeset_16520.diff
 .endif
 
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
 .endif
 
-.if defined(WITH_SQLITE)
+.if ${PORT_OPTIONS:MSQLITE}
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
 .endif
 
-.if defined(WITH_FASTCGI)
+.if ${PORT_OPTIONS:MFASTCGI}
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
 .endif
 
-.if defined(WITH_DOCS)
+.if ${PORT_OPTIONS:MHTMLDOCS}
+.	if defined(NOPORTDOCS)
+IGNORE=	you cannot build documentation while setting NOPORTDOCS
+.	endif
 BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-changeset_16223_16231.diff
 PORTDOCS=	*
 .endif
 
 post-build:
-.if defined(WITH_DOCS)
-.	if defined(NOPORTDOCS)
-IGNORE=	you cannot build documentation while setting NOPORTDOCS
-.	endif
+.if ${PORT_OPTIONS:MHTMLDOCS}
 	cd ${WRKSRC}/docs && ${MAKE} html
 .endif
 
@@ -79,7 +78,7 @@ post-install:
 	@${ECHO_MSG}	""
 	@${ECHO_MSG}	"			* See http://docs.djangoproject.com/ for complete documentation"
 	@${ECHO_MSG}	""
-.if defined(WITH_DOCS)
+.if ${PORT_OPTIONS:MHTMLDOCS}
 	${MKDIR} ${DOCSDIR}
 	${CP} -R ${WRKSRC}/docs/_build/html ${DOCSDIR}
 .endif

Modified: head/www/py-django13/distinfo
==============================================================================
--- head/www/py-django13/distinfo	Fri Aug 31 17:36:09 2012	(r303437)
+++ head/www/py-django13/distinfo	Fri Aug 31 17:55:22 2012	(r303438)
@@ -1,2 +1,2 @@
-SHA256 (python/Django-1.3.2.tar.gz) = 72c4080fe30863c4581521ef6f7bfcc12d01e7c55b9ad1935acaa43e466dd764
-SIZE (python/Django-1.3.2.tar.gz) = 6507042
+SHA256 (python/Django-1.3.3.tar.gz) = 8ef44cfd89dee0331018ec56a2ed27dc14ae8d65feb664c10e128b3437cbd46a
+SIZE (python/Django-1.3.3.tar.gz) = 6507280
_______________________________________________
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"