svn commit: r455403 - head/devel/py-arrow
Antoine Brodin
antoine at FreeBSD.org
Sun Dec 3 12:48:32 UTC 2017
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>
More information about the svn-ports-head
mailing list