summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2020-12-28 23:02:12 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2020-12-28 23:02:12 +0000
commitaa7a6c429ea62d972467d6755fa7a6f52256b452 (patch)
tree3c451883d3bd4d2ffe401b2b6aee58825505d145 /math
parentx11-fonts/jetbrains-mono: Update to 2.221 (diff)
Drop python 2.7 support from a few ports
With hat: portmgr
Notes
Notes: svn path=/head/; revision=559531
Diffstat (limited to 'math')
-rw-r--r--math/py-GridDataFormats/Makefile2
-rw-r--r--math/py-MutatorMath/Makefile2
-rw-r--r--math/py-PuLP/Makefile2
-rw-r--r--math/py-PyMetis/Makefile2
-rw-r--r--math/py-PySCIPOpt/Makefile2
-rw-r--r--math/py-Pyomo/Makefile2
-rw-r--r--math/py-affine/Makefile2
-rw-r--r--math/py-algopy/Makefile2
-rw-r--r--math/py-altgraph/Makefile2
-rw-r--r--math/py-amply/Makefile2
-rw-r--r--math/py-autograd/Makefile2
-rw-r--r--math/py-bitmath/Makefile2
-rw-r--r--math/py-bitvector/Makefile2
-rw-r--r--math/py-bottleneck/Makefile2
-rw-r--r--math/py-cdecimal/Makefile2
-rw-r--r--math/py-cma/Makefile2
-rw-r--r--math/py-cryptominisat/Makefile2
-rw-r--r--math/py-cvxopt/Makefile2
-rw-r--r--math/py-fastdtw/Makefile2
-rw-r--r--math/py-gau2grid/Makefile2
-rw-r--r--math/py-gmpy/Makefile2
-rw-r--r--math/py-gmpy2/Makefile2
-rw-r--r--math/py-grandalf/Makefile2
-rw-r--r--math/py-graphillion/Makefile2
-rw-r--r--math/py-hdmedians/Makefile2
-rw-r--r--math/py-intspan/Makefile2
-rw-r--r--math/py-keras-applications/Makefile2
-rw-r--r--math/py-keras-preprocessing/Makefile2
-rw-r--r--math/py-levmar/Makefile2
-rw-r--r--math/py-libpoly/Makefile2
-rw-r--r--math/py-mpmath/Makefile2
-rw-r--r--math/py-munkres10/Makefile2
-rw-r--r--math/py-numexpr/Makefile2
-rw-r--r--math/py-numpoly/Makefile2
-rw-r--r--math/py-or-tools/Makefile2
-rw-r--r--math/py-pandas-datareader/Makefile2
-rw-r--r--math/py-pandas/Makefile2
-rw-r--r--math/py-patsy/Makefile2
-rw-r--r--math/py-permutation/Makefile2
-rw-r--r--math/py-petsc4py/Makefile2
-rw-r--r--math/py-piranha/Makefile2
-rw-r--r--math/py-primme/Makefile2
-rw-r--r--math/py-pyFFTW/Makefile2
-rw-r--r--math/py-pybloom/Makefile2
-rw-r--r--math/py-pyclipper/Makefile2
-rw-r--r--math/py-pycosat/Makefile2
-rw-r--r--math/py-pygsl/Makefile2
-rw-r--r--math/py-pygslodeiv2/Makefile2
-rw-r--r--math/py-pyhull/Makefile2
-rw-r--r--math/py-pyipopt/Makefile2
-rw-r--r--math/py-pynleq2/Makefile2
-rw-r--r--math/py-pyodeint/Makefile2
-rw-r--r--math/py-pystan/Makefile2
-rw-r--r--math/py-python-fcl/Makefile2
-rw-r--r--math/py-python-igraph/Makefile2
-rw-r--r--math/py-pyvtk/Makefile2
-rw-r--r--math/py-quadprog/Makefile2
-rw-r--r--math/py-random2/Makefile2
-rw-r--r--math/py-roman/Makefile2
-rw-r--r--math/py-secp256k1/Makefile2
-rw-r--r--math/py-simhash/Makefile2
-rw-r--r--math/py-slepc4py/Makefile2
-rw-r--r--math/py-snuggs/Makefile2
-rw-r--r--math/py-spectral/Makefile2
-rw-r--r--math/py-svgmath/Makefile2
-rw-r--r--math/py-sym/Makefile2
-rw-r--r--math/py-symcxx/Makefile2
-rw-r--r--math/py-triangle/Makefile2
-rw-r--r--math/py-uncertainties/Makefile2
-rw-r--r--math/py-vincenty/Makefile2
-rw-r--r--math/py-z3-solver/Makefile2
71 files changed, 71 insertions, 71 deletions
diff --git a/math/py-GridDataFormats/Makefile b/math/py-GridDataFormats/Makefile
index 8f5cb20b3811..1d556f5898ca 100644
--- a/math/py-GridDataFormats/Makefile
+++ b/math/py-GridDataFormats/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= MDAnalysis
USE_PYTHON= distutils autoplist concurrent
diff --git a/math/py-MutatorMath/Makefile b/math/py-MutatorMath/Makefile
index 14bd546587b9..548a4fa4249a 100644
--- a/math/py-MutatorMath/Makefile
+++ b/math/py-MutatorMath/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defcon>=0.3.5:x11-fonts/py-defcon@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fontMath>=0.4.8:x11-fonts/py-fontMath@${PY_FLAVOR}
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/math/py-PuLP/Makefile b/math/py-PuLP/Makefile
index 0537186c30c3..245e7862437a 100644
--- a/math/py-PuLP/Makefile
+++ b/math/py-PuLP/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amply>=0.1.2:math/py-amply@${PY_FLAVOR} \
cbc:math/cbc \
glpsol:math/glpk
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
diff --git a/math/py-PyMetis/Makefile b/math/py-PyMetis/Makefile
index 91cdaea77ba2..213c8f80adc3 100644
--- a/math/py-PyMetis/Makefile
+++ b/math/py-PyMetis/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
LIB_DEPENDS= libmetis.so:math/metis
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-USES= compiler:c++14-lang localbase python
+USES= compiler:c++14-lang localbase python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/math/py-PySCIPOpt/Makefile b/math/py-PySCIPOpt/Makefile
index 66d71db149e7..5a2abeb88a5e 100644
--- a/math/py-PySCIPOpt/Makefile
+++ b/math/py-PySCIPOpt/Makefile
@@ -13,7 +13,7 @@ LICENSE= MIT
LIB_DEPENDS= libscip.so:math/SCIP
-USES= localbase python
+USES= localbase python:3.6+
USE_PYTHON= distutils cython autoplist
post-install:
diff --git a/math/py-Pyomo/Makefile b/math/py-Pyomo/Makefile
index f2cab9c46e82..48f915742d26 100644
--- a/math/py-Pyomo/Makefile
+++ b/math/py-Pyomo/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}PyUtilib>=6.0.0:devel/py-PyUtilib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
diff --git a/math/py-affine/Makefile b/math/py-affine/Makefile
index 6d6416c4a7ec..9fbfdaf44fc9 100644
--- a/math/py-affine/Makefile
+++ b/math/py-affine/Makefile
@@ -13,7 +13,7 @@ COMMENT= Matrices describing affine transformation of the plane
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/math/py-algopy/Makefile b/math/py-algopy/Makefile
index a85f7fc0694e..834b9c32c24f 100644
--- a/math/py-algopy/Makefile
+++ b/math/py-algopy/Makefile
@@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYNUMPY}
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/math/py-altgraph/Makefile b/math/py-altgraph/Makefile
index d0398e136649..8cb82a222ec7 100644
--- a/math/py-altgraph/Makefile
+++ b/math/py-altgraph/Makefile
@@ -13,7 +13,7 @@ COMMENT= Python graph (network) package
LICENSE= MIT
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/math/py-amply/Makefile b/math/py-amply/Makefile
index 8fce386e2357..9225db62b950 100644
--- a/math/py-amply/Makefile
+++ b/math/py-amply/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@$
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/math/py-autograd/Makefile b/math/py-autograd/Makefile
index 41b55c4d7b02..d78290fcb687 100644
--- a/math/py-autograd/Makefile
+++ b/math/py-autograd/Makefile
@@ -14,7 +14,7 @@ LICENSE= MIT
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/math/py-bitmath/Makefile b/math/py-bitmath/Makefile
index dde9aa8f3334..579ba3d779d4 100644
--- a/math/py-bitmath/Makefile
+++ b/math/py-bitmath/Makefile
@@ -13,7 +13,7 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}progressbar>0:misc/py-progressbar@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/math/py-bitvector/Makefile b/math/py-bitvector/Makefile
index 9ec2d9338082..d88fab8802d3 100644
--- a/math/py-bitvector/Makefile
+++ b/math/py-bitvector/Makefile
@@ -13,7 +13,7 @@ COMMENT= Pure-Python memory-efficient packed representation for bit arrays
LICENSE= PSFL
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
PYDISTUTILS_PKGNAME= BitVector
diff --git a/math/py-bottleneck/Makefile b/math/py-bottleneck/Makefile
index 605f28d02daf..054ed31f8d32 100644
--- a/math/py-bottleneck/Makefile
+++ b/math/py-bottleneck/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent cython distutils
DOCS= README.rst RELEASE.rst \
diff --git a/math/py-cdecimal/Makefile b/math/py-cdecimal/Makefile
index 567671d7c2d5..19ba93a67bd1 100644
--- a/math/py-cdecimal/Makefile
+++ b/math/py-cdecimal/Makefile
@@ -14,7 +14,7 @@ COMMENT= Fast drop-in replacement for the Decimal module
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
post-install:
diff --git a/math/py-cma/Makefile b/math/py-cma/Makefile
index 614d3fd2825f..59e8935754bc 100644
--- a/math/py-cma/Makefile
+++ b/math/py-cma/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/cma/LICENSE
RUN_DEPENDS= ${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/math/py-cryptominisat/Makefile b/math/py-cryptominisat/Makefile
index ac582b9c742e..a620109c7f22 100644
--- a/math/py-cryptominisat/Makefile
+++ b/math/py-cryptominisat/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE_MIT= ${WRKSRC}/../LICENSE.txt
LIB_DEPENDS= libcryptominisat5.so:math/cryptominisat
-USES= compiler:c++11-lib python
+USES= compiler:c++11-lib python:3.6+
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
diff --git a/math/py-cvxopt/Makefile b/math/py-cvxopt/Makefile
index 6fe838348af2..963e979da141 100644
--- a/math/py-cvxopt/Makefile
+++ b/math/py-cvxopt/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libblas.so:math/blas \
liblapack.so:math/lapack \
libumfpack.so:math/suitesparse
-USES= python localbase:ldflags
+USES= python:3.6+ localbase:ldflags
USE_GITHUB= yes
USE_PYTHON= distutils autoplist
diff --git a/math/py-fastdtw/Makefile b/math/py-fastdtw/Makefile
index ce84bd827a3e..5811c3d0c35f 100644
--- a/math/py-fastdtw/Makefile
+++ b/math/py-fastdtw/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${P
RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes # tests are only on github
GH_ACCOUNT= slaypni
USE_PYTHON= distutils cython autoplist
diff --git a/math/py-gau2grid/Makefile b/math/py-gau2grid/Makefile
index a49d30d539eb..830b1f8d004c 100644
--- a/math/py-gau2grid/Makefile
+++ b/math/py-gau2grid/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYNUMPY} \
RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= cmake compiler:c11 python
+USES= cmake compiler:c11 python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= dgasmith
USE_PYTHON= flavors
diff --git a/math/py-gmpy/Makefile b/math/py-gmpy/Makefile
index 78d458db2007..59e2b3f656cd 100644
--- a/math/py-gmpy/Makefile
+++ b/math/py-gmpy/Makefile
@@ -13,7 +13,7 @@ COMMENT= Python Extension that Wraps the GMP Library
LIB_DEPENDS= libgmp.so:math/gmp
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= distutils autoplist
post-extract:
diff --git a/math/py-gmpy2/Makefile b/math/py-gmpy2/Makefile
index b8b95c09a2fa..79fe6c862fbc 100644
--- a/math/py-gmpy2/Makefile
+++ b/math/py-gmpy2/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libgmp.so:math/gmp \
libmpc.so:math/mpc \
libmpfr.so:math/mpfr
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= distutils autoplist
CONFLICTS= ${PYTHON_PKGNAMEPREFIX}gmpy2-devel-2.1*
diff --git a/math/py-grandalf/Makefile b/math/py-grandalf/Makefile
index 88765bcf2b81..4acf5e26008e 100644
--- a/math/py-grandalf/Makefile
+++ b/math/py-grandalf/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${P
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= bdcht
USE_PYTHON= distutils autoplist
diff --git a/math/py-graphillion/Makefile b/math/py-graphillion/Makefile
index a541ac1aaec0..fb1f7096a24e 100644
--- a/math/py-graphillion/Makefile
+++ b/math/py-graphillion/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
# Python 2.7,3.4+
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
post-install:
diff --git a/math/py-hdmedians/Makefile b/math/py-hdmedians/Makefile
index 20710127f2ca..3dc6965ba499 100644
--- a/math/py-hdmedians/Makefile
+++ b/math/py-hdmedians/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}nose>=1.0:devel/py-nose@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist cython distutils
post-install:
diff --git a/math/py-intspan/Makefile b/math/py-intspan/Makefile
index 0b0e5d723804..c4ebbae263f9 100644
--- a/math/py-intspan/Makefile
+++ b/math/py-intspan/Makefile
@@ -12,7 +12,7 @@ COMMENT= Finite element automatic tabulator
LICENSE= APACHE20
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/math/py-keras-applications/Makefile b/math/py-keras-applications/Makefile
index 539802cca29b..5f784e8318f9 100644
--- a/math/py-keras-applications/Makefile
+++ b/math/py-keras-applications/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}h5py>=0:science/py-h5py@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= keras-team
USE_PYTHON= autoplist distutils
diff --git a/math/py-keras-preprocessing/Makefile b/math/py-keras-preprocessing/Makefile
index 4815192b625d..00b32cf7d448 100644
--- a/math/py-keras-preprocessing/Makefile
+++ b/math/py-keras-preprocessing/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= keras-team
USE_PYTHON= autoplist distutils
diff --git a/math/py-levmar/Makefile b/math/py-levmar/Makefile
index 9e332512ff15..5325a49191ec 100644
--- a/math/py-levmar/Makefile
+++ b/math/py-levmar/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libblas.so:math/blas \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
post-patch:
diff --git a/math/py-libpoly/Makefile b/math/py-libpoly/Makefile
index 34cc18e15f1c..064c9a27aca5 100644
--- a/math/py-libpoly/Makefile
+++ b/math/py-libpoly/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENCE
LIB_DEPENDS= libpoly.so:math/libpoly
-USES= cmake localbase:ldflags python
+USES= cmake localbase:ldflags python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= SRI-CSL
USE_LDCONFIG= yes
diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile
index 1e9259b0b45e..7986042e5a9c 100644
--- a/math/py-mpmath/Makefile
+++ b/math/py-mpmath/Makefile
@@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gmpy.so:math/py-gmpy@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/math/py-munkres10/Makefile b/math/py-munkres10/Makefile
index 032b1c7e7496..40fd0984f84f 100644
--- a/math/py-munkres10/Makefile
+++ b/math/py-munkres10/Makefile
@@ -13,7 +13,7 @@ COMMENT= Munkres implementation for Python
LICENSE= APACHE20
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/math/py-numexpr/Makefile b/math/py-numexpr/Makefile
index 34984b6ec171..3482b16f92b8 100644
--- a/math/py-numexpr/Makefile
+++ b/math/py-numexpr/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${PYNUMPY}
-USES= dos2unix python
+USES= dos2unix python:3.6+
USE_PYTHON= autoplist concurrent distutils
post-install:
diff --git a/math/py-numpoly/Makefile b/math/py-numpoly/Makefile
index aff8aed50e35..c0645fcc1e57 100644
--- a/math/py-numpoly/Makefile
+++ b/math/py-numpoly/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/math/py-or-tools/Makefile b/math/py-or-tools/Makefile
index 62aff2030f66..6372df9ab6fb 100644
--- a/math/py-or-tools/Makefile
+++ b/math/py-or-tools/Makefile
@@ -31,7 +31,7 @@ LIB_DEPENDS= libabsl_base.so:devel/abseil \
libprotobuf.so:devel/protobuf
RUN_DEPENDS= ${PY_DEPENDS}
-USES= blaslapack cmake compiler:c++11-lang pkgconfig python
+USES= blaslapack cmake compiler:c++11-lang pkgconfig python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= google
USE_PYTHON= flavors
diff --git a/math/py-pandas-datareader/Makefile b/math/py-pandas-datareader/Makefile
index d45d7386811c..a3ac4f656c64 100644
--- a/math/py-pandas-datareader/Makefile
+++ b/math/py-pandas-datareader/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wrapt>0:devel/py-wrapt@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/math/py-pandas/Makefile b/math/py-pandas/Makefile
index e36666dce742..64fde965eace 100644
--- a/math/py-pandas/Makefile
+++ b/math/py-pandas/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
# Official support for 2.7, 3.5, 3.6, and 3.7
-USES= python
+USES= python:3.6+
OPTIONS_DEFINE= MPL SCIPY
OPTIONS_GROUP= ACCEL STORAGE HTML EXCEL
diff --git a/math/py-patsy/Makefile b/math/py-patsy/Makefile
index 38351f78a4cf..4d574a9d8279 100644
--- a/math/py-patsy/Makefile
+++ b/math/py-patsy/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/math/py-permutation/Makefile b/math/py-permutation/Makefile
index f41c4151c47a..bc996270dbc9 100644
--- a/math/py-permutation/Makefile
+++ b/math/py-permutation/Makefile
@@ -12,7 +12,7 @@ COMMENT= Permutations of finitely many positive integers
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/math/py-petsc4py/Makefile b/math/py-petsc4py/Makefile
index f2a2fc72a949..661a68f577af 100644
--- a/math/py-petsc4py/Makefile
+++ b/math/py-petsc4py/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libmpich.so:net/mpich \
libpetsc.so:science/PETSc
RUN_DEPENDS= ${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
MAKE_ENV= PETSC_DIR=${LOCALBASE}
diff --git a/math/py-piranha/Makefile b/math/py-piranha/Makefile
index 2b57ff8b9253..82bbb3733168 100644
--- a/math/py-piranha/Makefile
+++ b/math/py-piranha/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \
libmpfr.so:math/mpfr \
${PY_BOOST}
-USES= cmake compiler:c++14-lang python
+USES= cmake compiler:c++14-lang python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= bluescarni
USE_PYTHON= flavors
diff --git a/math/py-primme/Makefile b/math/py-primme/Makefile
index b13bfc0ea5dc..90a5f83c23c8 100644
--- a/math/py-primme/Makefile
+++ b/math/py-primme/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libprimme.so:math/primme
RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
-USES= fortran gmake localbase:ldflags python shebangfix
+USES= fortran gmake localbase:ldflags python:3.6+ shebangfix
SHEBANG_FILES= examples.py tests.py
USE_GITHUB= yes
USE_PYTHON= distutils cython autoplist
diff --git a/math/py-pyFFTW/Makefile b/math/py-pyFFTW/Makefile
index eb348c198cc8..26ded3fa269c 100644
--- a/math/py-pyFFTW/Makefile
+++ b/math/py-pyFFTW/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \
libfftw3f.so:math/fftw3-float
RUN_DEPENDS= ${PYNUMPY}
-USES= python localbase:ldflags
+USES= python:3.6+ localbase:ldflags
USE_PYTHON= distutils cython autoplist
.include <bsd.port.mk>
diff --git a/math/py-pybloom/Makefile b/math/py-pybloom/Makefile
index 8ec7e1f5d6de..8fe0da51a3ed 100644
--- a/math/py-pybloom/Makefile
+++ b/math/py-pybloom/Makefile
@@ -13,7 +13,7 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitarray>0:devel/py-bitarray@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
diff --git a/math/py-pyclipper/Makefile b/math/py-pyclipper/Makefile
index 6bccc5288ed2..8fdf6715eaa1 100644
--- a/math/py-pyclipper/Makefile
+++ b/math/py-pyclipper/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.11.1:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR}
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/math/py-pycosat/Makefile b/math/py-pycosat/Makefile
index 0d4cdaf98a83..4951aa9c461c 100644
--- a/math/py-pycosat/Makefile
+++ b/math/py-pycosat/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpicosat.so:math/picosat
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= autoplist distutils
PYDISTUTILS_BUILDARGS= build_ext \
diff --git a/math/py-pygsl/Makefile b/math/py-pygsl/Makefile
index f6dc7d2f190e..b77832c4dc7f 100644
--- a/math/py-pygsl/Makefile
+++ b/math/py-pygsl/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libgsl.so:math/gsl
RUN_DEPENDS= ${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
post-install:
diff --git a/math/py-pygslodeiv2/Makefile b/math/py-pygslodeiv2/Makefile
index 75d5b0d4c283..cbfbdb60c811 100644
--- a/math/py-pygslodeiv2/Makefile
+++ b/math/py-pygslodeiv2/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libgsl.so:math/gsl
RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= compiler:c++11-lang localbase python
+USES= compiler:c++11-lang localbase python:3.6+
USE_PYTHON= distutils autoplist
do-test:
diff --git a/math/py-pyhull/Makefile b/math/py-pyhull/Makefile
index 1e54355739bc..85f38b086084 100644
--- a/math/py-pyhull/Makefile
+++ b/math/py-pyhull/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.rst
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
post-install:
diff --git a/math/py-pyipopt/Makefile b/math/py-pyipopt/Makefile
index e00503bad571..138db39ecaeb 100644
--- a/math/py-pyipopt/Makefile
+++ b/math/py-pyipopt/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libipopt.so:math/ipopt
RUN_DEPENDS= ${PYNUMPY}
-USES= dos2unix python
+USES= dos2unix python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= xuy
GH_TAGNAME= 36bcb7f
diff --git a/math/py-pynleq2/Makefile b/math/py-pynleq2/Makefile
index 7eb7adb06547..8a21feecd8b4 100644
--- a/math/py-pynleq2/Makefile
+++ b/math/py-pynleq2/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY}
-USES= fortran:flang python
+USES= fortran:flang python:3.6+
USE_PYTHON= distutils autoplist
USE_GITHUB= nodefault
GH_TUPLE= PySCeS:pysces:0.9.6:fortran
diff --git a/math/py-pyodeint/Makefile b/math/py-pyodeint/Makefile
index 714dd1690e63..df2902aca78d 100644
--- a/math/py-pyodeint/Makefile
+++ b/math/py-pyodeint/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYNUMPY} \
${LOCALBASE}/include/boost/config.hpp:devel/boost-libs
RUN_DEPENDS= ${PYNUMPY}
-USES= compiler:c++11-lang localbase python
+USES= compiler:c++11-lang localbase python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/math/py-pystan/Makefile b/math/py-pystan/Makefile
index 3bf7c082a08a..b1803bc4fd28 100644
--- a/math/py-pystan/Makefile
+++ b/math/py-pystan/Makefile
@@ -13,7 +13,7 @@ COMMENT= Python interface for Stan
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= compiler:c++14-lang python shebangfix
+USES= compiler:c++14-lang python:3.6+ shebangfix
USE_PYTHON= autoplist distutils
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}
diff --git a/math/py-python-fcl/Makefile b/math/py-python-fcl/Makefile
index 7b5e865c33f0..a80df651d4e8 100644
--- a/math/py-python-fcl/Makefile
+++ b/math/py-python-fcl/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libfcl05.so:math/fcl05 \
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
-USES= compiler:c++11-lang eigen:3 python
+USES= compiler:c++11-lang eigen:3 python:3.6+
USE_PYTHON= distutils autoplist concurrent cython
diff --git a/math/py-python-igraph/Makefile b/math/py-python-igraph/Makefile
index ec16482a49bf..c20012be3dd4 100644
--- a/math/py-python-igraph/Makefile
+++ b/math/py-python-igraph/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libigraph.so:math/igraph \
aclocal:devel/automake
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_FLAVOR}
-USES= bison gnome libtool:build python
+USES= bison gnome libtool:build python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_GNOME= libxml2
diff --git a/math/py-pyvtk/Makefile b/math/py-pyvtk/Makefile
index bf402b1f1340..7b6d7bb5dcc8 100644
--- a/math/py-pyvtk/Makefile
+++ b/math/py-pyvtk/Makefile
@@ -13,7 +13,7 @@ COMMENT= Tools for manipulating VTK files in Python
LICENSE= GPLv2
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/math/py-quadprog/Makefile b/math/py-quadprog/Makefile
index b7a098ae6dc2..21ce853f68af 100644
--- a/math/py-quadprog/Makefile
+++ b/math/py-quadprog/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv2+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2,1:math/py-numpy@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist cython
.include <bsd.port.mk>
diff --git a/math/py-random2/Makefile b/math/py-random2/Makefile
index b33fda29820a..46a97152d0c1 100644
--- a/math/py-random2/Makefile
+++ b/math/py-random2/Makefile
@@ -11,7 +11,7 @@ COMMENT= Python 3 compatible Python 2 random module
LICENSE= PSFL
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/math/py-roman/Makefile b/math/py-roman/Makefile
index 58d891035d05..066e3e783da1 100644
--- a/math/py-roman/Makefile
+++ b/math/py-roman/Makefile
@@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Integer to Roman numerals converter
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/math/py-secp256k1/Makefile b/math/py-secp256k1/Makefile
index a4a3c110435b..2313f9b98bd5 100644
--- a/math/py-secp256k1/Makefile
+++ b/math/py-secp256k1/Makefile
@@ -15,7 +15,7 @@ LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR}
LIB_DEPENDS= libsecp256k1.so:math/secp256k1
-USES= localbase python pkgconfig
+USES= localbase python:3.6+ pkgconfig
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/math/py-simhash/Makefile b/math/py-simhash/Makefile
index 24d3f193236c..5762c5559e83 100644
--- a/math/py-simhash/Makefile
+++ b/math/py-simhash/Makefile
@@ -11,7 +11,7 @@ COMMENT= Python implementation of simhash algorithm
LICENSE= MIT
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/math/py-slepc4py/Makefile b/math/py-slepc4py/Makefile
index 2840e07bf405..f4cbc60971a7 100644
--- a/math/py-slepc4py/Makefile
+++ b/math/py-slepc4py/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libmpich.so:net/mpich \
libslepc.so:math/slepc
RUN_DEPENDS= ${PYNUMPY}
-USES= fortran python
+USES= fortran python:3.6+
USE_PYTHON= distutils autoplist
MAKE_ENV= PETSC_DIR=${LOCALBASE} SLEPC_DIR=${LOCALBASE}
diff --git a/math/py-snuggs/Makefile b/math/py-snuggs/Makefile
index 7df10de4d51e..6a307f4c9597 100644
--- a/math/py-snuggs/Makefile
+++ b/math/py-snuggs/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.6:devel/py-pyparsing@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/math/py-spectral/Makefile b/math/py-spectral/Makefile
index 9303acb332fb..6d47bd291ae1 100644
--- a/math/py-spectral/Makefile
+++ b/math/py-spectral/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/math/py-svgmath/Makefile b/math/py-svgmath/Makefile
index fd62d9934b97..9140b64da3af 100644
--- a/math/py-svgmath/Makefile
+++ b/math/py-svgmath/Makefile
@@ -11,7 +11,7 @@ DISTNAME= SVGMath-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= MathML to SVG Converter in Python
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/math/py-sym/Makefile b/math/py-sym/Makefile
index c8a08c9d311e..6eb76a8f4ce3 100644
--- a/math/py-sym/Makefile
+++ b/math/py-sym/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/math/py-symcxx/Makefile b/math/py-symcxx/Makefile
index f44c5c2bab6c..11358bb2b5e2 100644
--- a/math/py-symcxx/Makefile
+++ b/math/py-symcxx/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY}
-USES= compiler:c++11-lang fortran python # fortran because otherwise "import numpy" fails with wrong libgcc_s.so message
+USES= compiler:c++11-lang fortran python:3.6+ # fortran because otherwise "import numpy" fails with wrong libgcc_s.so message
USE_PYTHON= distutils autoplist
post-patch:
diff --git a/math/py-triangle/Makefile b/math/py-triangle/Makefile
index 1289b08c1e18..5580645c9b21 100644
--- a/math/py-triangle/Makefile
+++ b/math/py-triangle/Makefile
@@ -12,7 +12,7 @@ COMMENT= Python interface to triangle
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= compiler:c++11-lang python
+USES= compiler:c++11-lang python:3.6+
USE_PYTHON= distutils autoplist
diff --git a/math/py-uncertainties/Makefile b/math/py-uncertainties/Makefile
index 6e2e03b0fa2c..9595dc2c894b 100644
--- a/math/py-uncertainties/Makefile
+++ b/math/py-uncertainties/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYNUMPY}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/math/py-vincenty/Makefile b/math/py-vincenty/Makefile
index d93a1a520516..8377b20826f0 100644
--- a/math/py-vincenty/Makefile
+++ b/math/py-vincenty/Makefile
@@ -12,7 +12,7 @@ COMMENT= Calculate the geographical distance between 2 points
LICENSE= UNLICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/math/py-z3-solver/Makefile b/math/py-z3-solver/Makefile
index 9ed9b8f0088e..d8c299bc1e9b 100644
--- a/math/py-z3-solver/Makefile
+++ b/math/py-z3-solver/Makefile
@@ -16,7 +16,7 @@ BROKEN_i386= can't create dynamic relocation R_386_32 against symbol: .L.str in
# CAVEAT: There should have LIB_DEPENDS=libz3.so:math/z3, but currently it rebuilds all code, see https://github.com/Z3Prover/z3/issues/1767
-USES= compiler:c++11-lang python
+USES= compiler:c++11-lang python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= Z3Prover
GH_PROJECT= z3