svn commit: r499203 - head/www/py-cheroot

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Apr 17 18:50:58 UTC 2019


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>


More information about the svn-ports-head mailing list