Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2019 18:50:28 +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: r499198 - head/devel/py-jaraco.functools
Message-ID:  <201904171850.x3HIoSJV040021@repo.freebsd.org>

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

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

Modified:
  head/devel/py-jaraco.functools/Makefile

Modified: head/devel/py-jaraco.functools/Makefile
==============================================================================
--- head/devel/py-jaraco.functools/Makefile	Wed Apr 17 18:50:23 2019	(r499197)
+++ head/devel/py-jaraco.functools/Makefile	Wed Apr 17 18:50:28 2019	(r499198)
@@ -3,6 +3,7 @@
 
 PORTNAME=	jaraco.functools
 PORTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,8 +15,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jaraco>=0:devel/py-jaraco@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}more-itertools>=2.7:devel/py-more-itertools@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jaraco>=0:devel/py-jaraco@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils
@@ -26,6 +26,12 @@ NO_ARCH=	yes
 
 .if ${PYTHON_REL} < 3000
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=1.0.3:devel/py-backports.functools_lru_cache@${PY_FLAVOR}
+.endif
+
+.if ${PYTHON_REL} >= 3400
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}more-itertools>=2.7:devel/py-more-itertools@${PY_FLAVOR}
+.else
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}more-itertools5>=2.7:devel/py-more-itertools5@${PY_FLAVOR}
 .endif
 
 POST_PLIST=	trim-jaraco-namespace



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