Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2019 18:50:53 +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: r499203 - head/www/py-cheroot
Message-ID:  <201904171850.x3HIorkd040565@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Apr 17 18:50:53 2019
New Revision: 499203
URL: https://svnweb.freebsd.org/changeset/ports/499203

Log:
  Change RUN_DEPENDS from py-more-itertools to py-more-itertools5 conditionally
  
  - Bump PORTREVISION for dependency change

Modified:
  head/www/py-cheroot/Makefile

Modified: head/www/py-cheroot/Makefile
==============================================================================
--- head/www/py-cheroot/Makefile	Wed Apr 17 18:50:48 2019	(r499202)
+++ head/www/py-cheroot/Makefile	Wed Apr 17 18:50:53 2019	(r499203)
@@ -3,6 +3,7 @@
 
 PORTNAME=	cheroot
 DISTVERSION=	6.0.0
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,11 +15,19 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}more-itertools>=2.6:devel/py-more-itertools@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	distutils autoplist
+
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 3400
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}more-itertools>=2.6:devel/py-more-itertools@${PY_FLAVOR}
+.else
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}more-itertools5>=2.6:devel/py-more-itertools5@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>



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