Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2017 03:53:36 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441895 - head/www/py-django
Message-ID:  <201705280353.v4S3ragU077336@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun May 28 03:53:36 2017
New Revision: 441895
URL: https://svnweb.freebsd.org/changeset/ports/441895

Log:
  Convert to meta port

Deleted:
  head/www/py-django/distinfo
Modified:
  head/www/py-django/Makefile
  head/www/py-django/pkg-descr

Modified: head/www/py-django/Makefile
==============================================================================
--- head/www/py-django/Makefile	Sun May 28 03:53:31 2017	(r441894)
+++ head/www/py-django/Makefile	Sun May 28 03:53:36 2017	(r441895)
@@ -2,69 +2,32 @@
 # $FreeBSD$
 
 PORTNAME=	django
-PORTVERSION=	1.8.7
 CATEGORIES=	www python
-MASTER_SITES=	CHEESESHOP \
-		https://www.djangoproject.com/m/releases/${PORTVERSION}/
+PORTVERSION=	1.11.1
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	Django-${PORTVERSION}
-DIST_SUBDIR=	python
 
 MAINTAINER=	python@FreeBSD.org
-COMMENT=	High-level Python Web Framework
+COMMENT=	High-level Python Web Framework (meta port)
 
 LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cpe python
-USE_PYTHON=	autoplist distutils
+OPTIONS_SINGLE=	DJANGO
+OPTIONS_SINGLE_DJANGO=	DJANGO111 DJANGO110 DJANGO19 DJANGO18
+OPTIONS_DEFAULT=	DJANGO111
+DJANGO18_DESC=		Use Django 1.8.x
+DJANGO19_DESC=		Use Django 1.9.x
+DJANGO110_DESC=		Use Django 1.10.x
+DJANGO111_DESC=		Use Django 1.11.x
 
-CPE_VENDOR=	djangoproject
-
-CONFLICTS=	py[23][0-9]-django-devel-[0-9]* py[23][0-9]-django-1.[0-57-9].*
+PORTSCOUT=	ignore:1
 
-IGNORE=		This port will switch to a meta port soon. Please use py-django18 instead.
+USES=		cpe metaport python:run
 
-DOCSDIR=	${PREFIX}/share/doc/py-django
-
-OPTIONS_DEFINE=		FASTCGI HTMLDOCS
-OPTIONS_DEFAULT=	SQLITE
+CPE_VENDOR=	djangoproject
 
-OPTIONS_GROUP=		DATABASE
-OPTIONS_GROUP_DATABASE=	PGSQL MYSQL SQLITE
-
-HTMLDOCS_DESC=	Install HTML documentation (requires Sphinx)
-
-PLIST_FILES=	man/man1/django-admin.1.gz
-
-PGSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2
-MYSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:databases/py-MySQLdb
-SQLITE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
-FASTCGI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flup>0:www/py-flup
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MHTMLDOCS}
-.	if empty(PORT_OPTIONS:MDOCS)
-IGNORE=	you cannot build documentation with DOCS option disabled
-.	endif
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx
-PORTDOCS=	*
-.endif
-
-post-build:
-.if ${PORT_OPTIONS:MHTMLDOCS}
-	cd ${WRKSRC}/docs && ${MAKE} html
-.endif
-
-post-install:
-	${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${MAN1PREFIX}/man/man1
-	@${ECHO_MSG}	""
-	@${ECHO_MSG}	"			* See http://docs.djangoproject.com/ for complete documentation"
-	@${ECHO_MSG}	""
-.if ${PORT_OPTIONS:MHTMLDOCS}
-	${MKDIR} ${STAGEDIR}/${DOCSDIR}
-	${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR}
-.endif
+DJANGO18_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18
+DJANGO19_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django19>=0:www/py-django19
+DJANGO110_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django110>=0:www/py-django110
+DJANGO111_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111
 
 .include <bsd.port.mk>

Modified: head/www/py-django/pkg-descr
==============================================================================
--- head/www/py-django/pkg-descr	Sun May 28 03:53:31 2017	(r441894)
+++ head/www/py-django/pkg-descr	Sun May 28 03:53:36 2017	(r441895)
@@ -1,3 +1,5 @@
+This is a metaport for Django.
+
 Django is a high-level Python Web framework that encourages rapid development
 and clean, pragmatic design.
 



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