Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2018 18:31:38 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457996 - head/www/py-django-netfields
Message-ID:  <201801031831.w03IVceW007729@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Wed Jan  3 18:31:38 2018
New Revision: 457996
URL: https://svnweb.freebsd.org/changeset/ports/457996

Log:
  www/py-django-netfields: Use PY_IPADDRESS for conditional dependency
  
  Reported by:	mat
  Differential Revision:	https://reviews.freebsd.org/D3804

Modified:
  head/www/py-django-netfields/Makefile   (contents, props changed)

Modified: head/www/py-django-netfields/Makefile
==============================================================================
--- head/www/py-django-netfields/Makefile	Wed Jan  3 17:30:44 2018	(r457995)
+++ head/www/py-django-netfields/Makefile	Wed Jan  3 18:31:38 2018	(r457996)
@@ -12,18 +12,13 @@ COMMENT=	Django PostgreSQL netfields implementation
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django18>0:www/py-django18@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}netaddr>=0:net/py-netaddr@${FLAVOR} \
+		${PY_IPADDRESS}
+
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django18>0:www/py-django18@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}netaddr>=0:net/py-netaddr@${FLAVOR}
-
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3300
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ipaddress>=0:net/py-ipaddress@${FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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