pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-abcpmc py-abcpmc: disallow Python 2.7 because ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9bcf1dccdb6
branches:  trunk
changeset: 335199:e9bcf1dccdb6
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jun 15 06:55:51 2019 +0000

description:
py-abcpmc: disallow Python 2.7 because of py-scipy

diffstat:

 math/py-abcpmc/Makefile |  24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)

diffs (40 lines):

diff -r 9f8542b37748 -r e9bcf1dccdb6 math/py-abcpmc/Makefile
--- a/math/py-abcpmc/Makefile   Sat Jun 15 06:46:36 2019 +0000
+++ b/math/py-abcpmc/Makefile   Sat Jun 15 06:55:51 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/10/12 19:51:45 kamil Exp $
+# $NetBSD: Makefile,v 1.4 2019/06/15 06:55:51 adam Exp $
 
 DISTNAME=      abcpmc-0.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,21 +10,17 @@
 COMMENT=       Approximate Bayesian Computation Population Monte Carlo
 LICENSE=       gnu-gpl-v3
 
+DEPENDS+=      ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
+DEPENDS+=      ${PYPKGPREFIX}-scipy>=0.15:../../math/py-scipy
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.3:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
 USE_LANGUAGES= # none
 
-# TEST_DEPENDS
-.include "../../lang/python/pyversion.mk"
-
-.if ${_PYTHON_VERSION} < 33
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs
-.endif
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-
-DEPENDS+=      ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
-DEPENDS+=      ${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy
+PYTHON_VERSIONS_INCOMPATIBLE=  27      # py-scipy
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index