Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2019 22:34:10 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496690 - in head/www: . py-dj21-django-extensions py-django-extensions
Message-ID:  <201903232234.x2NMYAml072556@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grembo
Date: Sat Mar 23 22:34:10 2019
New Revision: 496690
URL: https://svnweb.freebsd.org/changeset/ports/496690

Log:
  Add a port of django-extensions specifically for Django 2.1
  
  This uses the approach taken by kai@ for various django ports
  in r492690: Depend on Django 2.1, require python 3.5 or
  higher and add a conflict variable to the Django 1.x version
  of the port.
  
  This also updates the port to 2.1.6, while the Django 1.x
  version remains at 2.1.5 for the time being.
  
  PR:		236682

Added:
  head/www/py-dj21-django-extensions/
     - copied from r496669, head/www/py-django-extensions/
Modified:
  head/www/Makefile
  head/www/py-dj21-django-extensions/Makefile
  head/www/py-dj21-django-extensions/distinfo
  head/www/py-django-extensions/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sat Mar 23 22:26:25 2019	(r496689)
+++ head/www/Makefile	Sat Mar 23 22:34:10 2019	(r496690)
@@ -1515,6 +1515,7 @@
     SUBDIR += py-dj21-django-cors-headers
     SUBDIR += py-dj21-django-crispy-forms
     SUBDIR += py-dj21-django-debug-toolbar
+    SUBDIR += py-dj21-django-extensions
     SUBDIR += py-dj21-django-filter
     SUBDIR += py-dj21-django-js-asset
     SUBDIR += py-dj21-django-mptt

Modified: head/www/py-dj21-django-extensions/Makefile
==============================================================================
--- head/www/py-django-extensions/Makefile	Sat Mar 23 16:39:59 2019	(r496669)
+++ head/www/py-dj21-django-extensions/Makefile	Sat Mar 23 22:34:10 2019	(r496690)
@@ -1,31 +1,25 @@
-# Created by: Kevin Golding <ports@caomhin.org>
 # $FreeBSD$
 
 PORTNAME=	django-extensions
-PORTVERSION=	2.1.5
-PORTREVISION=	1
+PORTVERSION=	2.1.6
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj21-
 
-MAINTAINER=	ports@caomhin.org
+MAINTAINER=	grembo@FreeBSD.org
 COMMENT=	Global custom management extensions for the Django Framework
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django21>0:www/py-django21@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.2:devel/py-six@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.5+
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-extensions
 
-.if ${PYTHON_REL} < 3500
-RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}typing>=0:devel/py-typing@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/py-dj21-django-extensions/distinfo
==============================================================================
--- head/www/py-django-extensions/distinfo	Sat Mar 23 16:39:59 2019	(r496669)
+++ head/www/py-dj21-django-extensions/distinfo	Sat Mar 23 22:34:10 2019	(r496690)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1549044755
-SHA256 (django-extensions-2.1.5.tar.gz) = a607459e5fa8c579a672131b63366fa52fab80adb2a862d362f5fb48cd2d2cac
-SIZE (django-extensions-2.1.5.tar.gz) = 485854
+TIMESTAMP = 1553000474
+SHA256 (django-extensions-2.1.6.tar.gz) = 307766e5e6c1caffe76c5d99239d8115d14ae3f7cab2cd991fcffd763dad904b
+SIZE (django-extensions-2.1.6.tar.gz) = 486207

Modified: head/www/py-django-extensions/Makefile
==============================================================================
--- head/www/py-django-extensions/Makefile	Sat Mar 23 22:26:25 2019	(r496689)
+++ head/www/py-django-extensions/Makefile	Sat Mar 23 22:34:10 2019	(r496690)
@@ -22,6 +22,8 @@ USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj21-django-extensions
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 3500



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