Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2020 05:21:04 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r540748 - head/www/py-django
Message-ID:  <202006290521.05T5L48q027453@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Mon Jun 29 05:21:04 2020
New Revision: 540748
URL: https://svnweb.freebsd.org/changeset/ports/540748

Log:
  www/py-django: Set DJANGO22 option as default
  
  * Switch to Django 2.2 (current LTS release) because Django 1.11 is
    End-of-Life.
  
  * Introduce a DJANGO30 option to make use of the Django 3.0 port and set the
    Python version accordingly for each option.
  
  * Keep the DJANGO111 option for now as long as Django 1.11 is still present
    in the Ports tree.
  
    Django 1.11 is still required for www/py-django-mezzanine, www/seahub and
    their dependencies.  There's is work in progress by upstream to make these
    ports compatible for Django 2.2+ .
  
  PR:		245309
  Submitted by:	wen (via private e-mail, based on)
  Reviewed by:	sunpoet
  Differential Revision:	https://reviews.freebsd.org/D25495

Modified:
  head/www/py-django/Makefile

Modified: head/www/py-django/Makefile
==============================================================================
--- head/www/py-django/Makefile	Mon Jun 29 05:15:00 2020	(r540747)
+++ head/www/py-django/Makefile	Mon Jun 29 05:21:04 2020	(r540748)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	django
-PORTVERSION=	1.11.29
+PORTVERSION=	2.2.13
 CATEGORIES=	www python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,19 +12,24 @@ COMMENT=	High-level Python Web Framework (meta port)
 LICENSE=	BSD3CLAUSE
 
 OPTIONS_SINGLE=	DJANGO
-OPTIONS_SINGLE_DJANGO=	DJANGO111 DJANGO22
-OPTIONS_DEFAULT=DJANGO111
+OPTIONS_SINGLE_DJANGO=	DJANGO111 DJANGO22 DJANGO30
+OPTIONS_DEFAULT=DJANGO22
 DJANGO111_DESC=	Use Django 1.11.x (Deprecated: EoL since April 2020)
 DJANGO22_DESC=	Use Django 2.2.x
+DJANGO30_DESC=	Use Django 3.0.x
 
 PORTSCOUT=	ignore:1
 
-USES=		cpe metaport python:run
+USES=		cpe metaport
 USE_PYTHON=	flavors
 
 CPE_VENDOR=	djangoproject
 
 DJANGO111_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR}
+DJANGO111_USES=		python:run
 DJANGO22_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=0:www/py-django22@${PY_FLAVOR}
+DJANGO22_USES=		python:3.5+,run
+DJANGO30_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django30>=0:www/py-django30@${PY_FLAVOR}
+DJANGO30_USES=		python:3.6+,run
 
 .include <bsd.port.mk>



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