Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2017 12:48:30 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455403 - head/devel/py-arrow
Message-ID:  <201712031248.vB3CmUgF055940@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Dec  3 12:48:30 2017
New Revision: 455403
URL: https://svnweb.freebsd.org/changeset/ports/455403

Log:
  Fix runtime dependencies with python 2.7

Modified:
  head/devel/py-arrow/Makefile

Modified: head/devel/py-arrow/Makefile
==============================================================================
--- head/devel/py-arrow/Makefile	Sun Dec  3 12:32:42 2017	(r455402)
+++ head/devel/py-arrow/Makefile	Sun Dec  3 12:48:30 2017	(r455403)
@@ -3,6 +3,7 @@
 
 PORTNAME=	arrow
 PORTVERSION=	0.11.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,4 +19,10 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:deve
 USES=		python
 USE_PYTHON=	autoplist distutils
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=0:devel/py-backports.functools_lru_cache@${FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>



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