svn commit: r524116 - head/math/py-seaborn

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Jan 25 18:31:15 UTC 2020


Author: sunpoet
Date: Sat Jan 25 18:31:14 2020
New Revision: 524116
URL: https://svnweb.freebsd.org/changeset/ports/524116

Log:
  Update RUN_DEPENDS for py-statsmodels 0.11.0 update
  
  - Bump PORTREVISION for dependency change

Modified:
  head/math/py-seaborn/Makefile

Modified: head/math/py-seaborn/Makefile
==============================================================================
--- head/math/py-seaborn/Makefile	Sat Jan 25 18:31:09 2020	(r524115)
+++ head/math/py-seaborn/Makefile	Sat Jan 25 18:31:14 2020	(r524116)
@@ -2,7 +2,7 @@
 
 PORTNAME=	seaborn
 PORTVERSION=	0.9.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,11 +17,18 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/
 		${NUMPY} \
 		${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}patsy>0:math/py-patsy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}statsmodels>0:math/py-statsmodels@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3500
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}statsmodels010>0:math/py-statsmodels010@${PY_FLAVOR}
+.else
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}statsmodels>0:math/py-statsmodels@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list