summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-08-31 23:07:00 +0000
committerwiz <wiz@pkgsrc.org>2020-08-31 23:07:00 +0000
commit1342ea5d4e9f75a100fcde155396a6b634d2db7a (patch)
tree95091f0e1c112f56d844f0d6a7a55d9882abee3e /math
parent7558ec01e87a54e7540aa0ca86781793741ee6a7 (diff)
downloadpkgsrc-1342ea5d4e9f75a100fcde155396a6b634d2db7a.tar.gz
*: switch to versioned_dependencies.mk for py-setuptools
Diffstat (limited to 'math')
-rw-r--r--math/py-kiwisolver/Makefile5
-rw-r--r--math/py-numba/Makefile5
-rw-r--r--math/py-xarray/Makefile5
3 files changed, 9 insertions, 6 deletions
diff --git a/math/py-kiwisolver/Makefile b/math/py-kiwisolver/Makefile
index 83b9c9eeaa0..34f17a26a1f 100644
--- a/math/py-kiwisolver/Makefile
+++ b/math/py-kiwisolver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/06/15 18:54:41 adam Exp $
+# $NetBSD: Makefile,v 1.3 2020/08/31 23:07:03 wiz Exp $
DISTNAME= kiwisolver-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,9 +10,10 @@ HOMEPAGE= https://github.com/nucleic/kiwi
COMMENT= Fast implementation of the Cassowary constraint solver
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+PYTHON_VERSIONED_DEPENDENCIES+= setuptools
USE_LANGUAGES= c c++
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-numba/Makefile b/math/py-numba/Makefile
index 524510d89b9..76577b40f05 100644
--- a/math/py-numba/Makefile
+++ b/math/py-numba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2020/08/21 20:33:15 adam Exp $
+# $NetBSD: Makefile,v 1.21 2020/08/31 23:07:03 wiz Exp $
DISTNAME= numba-0.51.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,11 +11,11 @@ COMMENT= NumPy aware dynamic Python compiler using LLVM
LICENSE= 2-clause-bsd
DEPENDS+= ${PYPKGPREFIX}-llvmlite>=0.33.0:../../devel/py-llvmlite
-DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
USE_LANGUAGES= c c++
PYTHON_VERSIONS_INCOMPATIBLE= 27
+PYTHON_VERSIONED_DEPENDENCIES+= setuptools
post-install:
.for cmd in numba pycc
@@ -25,4 +25,5 @@ post-install:
.include "../../lang/python/egg.mk"
.include "../../math/py-numpy/buildlink3.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-xarray/Makefile b/math/py-xarray/Makefile
index 444c26c55ca..4f7bdc5238a 100644
--- a/math/py-xarray/Makefile
+++ b/math/py-xarray/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/04/15 22:49:41 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2020/08/31 23:07:03 wiz Exp $
DISTNAME= xarray-0.15.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,11 +14,12 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-numpy>=1.0:../../math/py-numpy
DEPENDS+= ${PYPKGPREFIX}-pandas>=0.18.1:../../math/py-pandas
-DEPENDS+= ${PYPKGPREFIX}-setuptools>=41.2:../../devel/py-setuptools
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pandads
+PYTHON_VERSIONED_DEPENDENCIES+= setuptools
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"