svn commit: r524117 - head/misc/py-eemeter

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


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

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

Modified:
  head/misc/py-eemeter/Makefile

Modified: head/misc/py-eemeter/Makefile
==============================================================================
--- head/misc/py-eemeter/Makefile	Sat Jan 25 18:31:14 2020	(r524116)
+++ head/misc/py-eemeter/Makefile	Sat Jan 25 18:31:19 2020	(r524117)
@@ -3,7 +3,7 @@
 PORTNAME=	eemeter
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.5.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -15,12 +15,19 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${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_GITHUB=	yes # PyPI doesn't have the latest version for some reason
 GH_ACCOUNT=	openeemeter
 USE_PYTHON=	distutils concurrent autoplist
 
-.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