svn commit: r526275 - in head/www: . py-dj22-jsonfield

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Feb 16 18:00:23 UTC 2020


Author: sunpoet
Date: Sun Feb 16 18:00:22 2020
New Revision: 526275
URL: https://svnweb.freebsd.org/changeset/ports/526275

Log:
  Add py-dj22-jsonfield 2.1.1 (copied from py-jsonfield)
  
  - Add CONFLICTS_INSTALL

Added:
  head/www/py-dj22-jsonfield/
     - copied from r526217, head/www/py-jsonfield/
Modified:
  head/www/Makefile
  head/www/py-dj22-jsonfield/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Feb 16 18:00:07 2020	(r526274)
+++ head/www/Makefile	Sun Feb 16 18:00:22 2020	(r526275)
@@ -1466,6 +1466,7 @@
     SUBDIR += py-dj22-djangoql
     SUBDIR += py-dj22-djangorestframework
     SUBDIR += py-dj22-drf-yasg
+    SUBDIR += py-dj22-jsonfield
     SUBDIR += py-dj22-jsonfield2
     SUBDIR += py-dj22-swapper
     SUBDIR += py-django

Modified: head/www/py-dj22-jsonfield/Makefile
==============================================================================
--- head/www/py-jsonfield/Makefile	Sat Feb 15 11:35:36 2020	(r526217)
+++ head/www/py-dj22-jsonfield/Makefile	Sun Feb 16 18:00:22 2020	(r526275)
@@ -5,7 +5,7 @@ PORTNAME=	jsonfield
 PORTVERSION=	2.1.1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj22-
 
 MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	Reusable JSONField model for Django to store validated JSON
@@ -13,12 +13,14 @@ COMMENT=	Reusable JSONField model for Django to store 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.5+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}jsonfield
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list