diff options
author | Rene Ladan <rene@FreeBSD.org> | 2023-06-15 00:00:28 +0200 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2023-06-27 21:34:34 +0200 |
commit | 3d9a815d9c5acbb71f4bb07738bdeab4879feacb (patch) | |
tree | eb093f22197a2c68a88dd2372ec1922c3f6d3c10 /math | |
parent | Mk/Uses: bit more cleanup in USES=python now that 3.7 is sunset (diff) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Diffstat (limited to 'math')
201 files changed, 201 insertions, 201 deletions
diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile index 55db7cb38ec2..b29c6157bdc1 100644 --- a/math/asymptote/Makefile +++ b/math/asymptote/Makefile @@ -24,7 +24,7 @@ LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cson>=0.8:devel/py-cson@${PY_FLAVOR} \ ${PY_PILLOW} -USES= compiler:c++14-lang gettext-runtime ghostscript gl gmake gnome ncurses perl5 python:3.6+ \ +USES= compiler:c++14-lang gettext-runtime ghostscript gl gmake gnome ncurses perl5 python \ pyqt:5 shebangfix tar:tgz tex SHEBANG_FILES= GUI/*.py USE_GL= gl glu glut diff --git a/math/bcal/Makefile b/math/bcal/Makefile index 921edca875c8..3f576b958929 100644 --- a/math/bcal/Makefile +++ b/math/bcal/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/bc:math/gnubc \ calc:math/calc TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= gmake python:test,3.5+ readline +USES= gmake python:test readline USE_GITHUB= yes GH_ACCOUNT= jarun diff --git a/math/cadabra2/Makefile b/math/cadabra2/Makefile index 0381aa63d2a2..e2ce48c011db 100644 --- a/math/cadabra2/Makefile +++ b/math/cadabra2/Makefile @@ -21,7 +21,7 @@ LIB_DEPENDS= ${PY_BOOST} \ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/sympy/__init__.py:math/py-sympy@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR} -USES= compiler:c++14-lang cmake:noninja dos2unix gettext-runtime gnome localbase:ldflags pkgconfig python:3.7+ sqlite tex # USES=python picks random python versions +USES= compiler:c++14-lang cmake:noninja dos2unix gettext-runtime gnome localbase:ldflags pkgconfig python sqlite tex # USES=python picks random python versions USE_GITHUB= yes GH_ACCOUNT= kpeeters DOS2UNIX_FILES= cmake/version.cmake diff --git a/math/cantor/Makefile b/math/cantor/Makefile index 1d3fc6b5e45b..f9331a5c5b3a 100644 --- a/math/cantor/Makefile +++ b/math/cantor/Makefile @@ -17,7 +17,7 @@ BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook- docbook-xml>0:textproc/docbook-xml USES= cmake compiler:c++11-lang desktop-file-utils gettext kde:5 \ - pkgconfig python:3.7+ qt:5 shared-mime-info tar:xz xorg + pkgconfig python qt:5 shared-mime-info tar:xz xorg USE_KDE= attica auth archive bookmarks codecs completion config \ configwidgets coreaddons crash emoticons i18n iconthemes \ itemmodels itemviews init jobwidgets kdelibs4support kio \ diff --git a/math/convertall/Makefile b/math/convertall/Makefile index 3a9eb318c68b..f971fb8edbca 100644 --- a/math/convertall/Makefile +++ b/math/convertall/Makefile @@ -11,7 +11,7 @@ WWW= https://convertall.bellz.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/doc/LICENSE -USES= pyqt:5 python:3.5+ shebangfix +USES= pyqt:5 python shebangfix USE_PYQT= pyqt5 sip SHEBANG_FILES= source/convertall.py diff --git a/math/cvc5/Makefile b/math/cvc5/Makefile index e66fdc5dfa2e..eac795e5d7ae 100644 --- a/math/cvc5/Makefile +++ b/math/cvc5/Makefile @@ -23,7 +23,7 @@ LIB_DEPENDS= libantlr3c.so:devel/libantlr3c \ libboost_system.so:devel/boost-libs USES= cmake:testing ncurses compiler:c++17-lang \ - localbase:ldflags pkgconfig python:3.5+,build + localbase:ldflags pkgconfig python:build USE_LDCONFIG= yes USE_GITHUB= yes diff --git a/math/e-antic/Makefile b/math/e-antic/Makefile index 7cfe1fc0b680..6dd67f5ffc23 100644 --- a/math/e-antic/Makefile +++ b/math/e-antic/Makefile @@ -21,7 +21,7 @@ LIB_DEPENDS= libarb.so:math/arb \ libboost_thread.so:devel/boost-libs USES= autoreconf compiler:c++11-lang gmake libtool localbase \ - python:3.7+ + python USE_GITHUB= yes ANTIC_TAG= f4e8a60 diff --git a/math/elementary-calculator/Makefile b/math/elementary-calculator/Makefile index b0f051b4df41..0ac43448f7ce 100644 --- a/math/elementary-calculator/Makefile +++ b/math/elementary-calculator/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libgranite-7.so:x11-toolkits/granite7 -USES= gettext gnome meson pkgconfig python:3.6+,build vala:build +USES= gettext gnome meson pkgconfig python:build vala:build USE_GITHUB= yes GH_ACCOUNT= elementary diff --git a/math/gnome-calculator/Makefile b/math/gnome-calculator/Makefile index 48cfd6da2a69..0828e1131311 100644 --- a/math/gnome-calculator/Makefile +++ b/math/gnome-calculator/Makefile @@ -23,7 +23,7 @@ LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita \ PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gnome localbase:ldflags meson pkgconfig \ - python:3.6+,build tar:xz vala:build + python:build tar:xz vala:build USE_GNOME= gtk40 gtksourceview5 introspection libxml2 BINARY_ALIAS= python3=${PYTHON_VERSION} diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 3515c585b3c8..6dc9fce94a62 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -72,7 +72,7 @@ PLIST_SUB+= BLAS="@comment " CBLAS="@comment " LAPACK="@comment " XLAPACK="" LA # BUILD_TESTING to get tmglib. LIB_DEPENDS+= libblas.so:math/blas . if defined(MAINTAINER_MODE) -USES+= python:3.6+,build,test +USES+= python:build,test . endif CMAKE_ON+= USE_OPTIMIZED_BLAS BUILD_TESTING CMAKE_ARGS+= -DBLAS_LIBRARIES="${LOCALBASE}/lib/libblas.so" diff --git a/math/libflame/Makefile b/math/libflame/Makefile index 00577a139609..3b2d90684b82 100644 --- a/math/libflame/Makefile +++ b/math/libflame/Makefile @@ -14,7 +14,7 @@ ONLY_FOR_ARCHS_REASON= make system does not support other architectures yet BUILD_DEPENDS= bash:shells/bash GNU_CONFIGURE= yes -USES= compiler:c11 gmake python:3.7 +USES= compiler:c11 gmake prthon:3.8 USE_CSTD= c99 USE_LDCONFIG= yes diff --git a/math/libflame/files/patch-build_flatten-headers_py.diff b/math/libflame/files/patch-build_flatten-headers_py.diff index c4a62282e329..6739683a4280 100644 --- a/math/libflame/files/patch-build_flatten-headers_py.diff +++ b/math/libflame/files/patch-build_flatten-headers_py.diff @@ -2,7 +2,7 @@ +++ build/flatten-headers.py 2020-05-02 16:30:49.511257000 -0500 @@ -1,4 +1,4 @@ -#!/usr/bin/env python -+#!/usr/bin/env python3.7 ++#!/usr/bin/env python3.8 # # BLIS # An object-based framework for developing high-performance BLAS-like diff --git a/math/mathicsscript/Makefile b/math/mathicsscript/Makefile index ffeb57ab9c87..087d96ee45ec 100644 --- a/math/mathicsscript/Makefile +++ b/math/mathicsscript/Makefile @@ -33,7 +33,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} #USE_GITHUB= yes #GH_ACCOUNT= Mathics3 -USES= python:3.8+ readline shebangfix +USES= python readline shebangfix USE_PYTHON= distutils noflavors SHEBANG_GLOB= *.py diff --git a/math/mathlibtools/Makefile b/math/mathlibtools/Makefile index 923bcf6bf1b0..edf1890c93a3 100644 --- a/math/mathlibtools/Makefile +++ b/math/mathlibtools/Makefile @@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>0:devel/py-atomicwrites@${PY_FL ${PYTHON_PKGNAMEPREFIX}toml>=0.10.0:textproc/py-toml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils noflavors autoplist NO_ARCH= yes diff --git a/math/openfst/Makefile b/math/openfst/Makefile index 29593436272f..61bc70e54398 100644 --- a/math/openfst/Makefile +++ b/math/openfst/Makefile @@ -9,7 +9,7 @@ WWW= https://www.openfst.org/ LICENSE= APACHE20 -USES= compiler:c++17-lang libtool python:3.6+ +USES= compiler:c++17-lang libtool python USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip diff --git a/math/pspp/Makefile b/math/pspp/Makefile index ad5f24115054..b08580e89c26 100644 --- a/math/pspp/Makefile +++ b/math/pspp/Makefile @@ -18,7 +18,7 @@ LIB_DEPENDS= libcairo.so:graphics/cairo \ libgslcblas.so:math/gsl USES= cpe charsetfix gettext-tools gmake gnome iconv localbase \ - libtool perl5 pkgconfig python:3.7+,build readline + libtool perl5 pkgconfig python:build readline CPE_VENDOR= gnu USE_GNOME= libxml2 diff --git a/math/py-CyLP/Makefile b/math/py-CyLP/Makefile index 0556e80ecca8..ffe1617773e1 100644 --- a/math/py-CyLP/Makefile +++ b/math/py-CyLP/Makefile @@ -25,7 +25,7 @@ LIB_DEPENDS= libblas.so:math/blas \ libOsi.so:math/osi RUN_DEPENDS= ${PY_DEPENDS} -USES= compiler:c++11-lang python:3.6+ +USES= compiler:c++11-lang python USE_PYTHON= distutils cython autoplist pytest USE_GITHUB= yes diff --git a/math/py-Diofant/Makefile b/math/py-Diofant/Makefile index 1a0392ae91e8..1afb04106034 100644 --- a/math/py-Diofant/Makefile +++ b/math/py-Diofant/Makefile @@ -25,7 +25,7 @@ RUN_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}theano>=0.9.0:math/py-theano@${PY_FLAVOR} \ ${PYNUMPY} -USES= python:3.7+ +USES= python USE_PYTHON= distutils cython autoplist NO_ARCH= yes diff --git a/math/py-GridDataFormats/Makefile b/math/py-GridDataFormats/Makefile index 4fd648cd7c0b..833e5c705ebd 100644 --- a/math/py-GridDataFormats/Makefile +++ b/math/py-GridDataFormats/Makefile @@ -15,7 +15,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}mrcfile>0:biology/py-mrcfile@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist concurrent pytest USE_GITHUB= yes diff --git a/math/py-MutatorMath/Makefile b/math/py-MutatorMath/Makefile index acb07ab7cad8..5ca11d8d11e6 100644 --- a/math/py-MutatorMath/Makefile +++ b/math/py-MutatorMath/Makefile @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defcon>=0.3.5:x11-fonts/py-defcon@${PY_FLAVO ${PYTHON_PKGNAMEPREFIX}fontMath>=0.4.8:x11-fonts/py-fontMath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} -USES= python:3.6+ zip +USES= python zip USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/math/py-PuLP/Makefile b/math/py-PuLP/Makefile index 95134f8a853b..ebc3d3a25a0b 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= cpe python:3.6+ +USES= cpe python CPE_VENDOR= ${PORTNAME:tl}project USE_PYTHON= distutils concurrent autoplist diff --git a/math/py-PyMetis/Makefile b/math/py-PyMetis/Makefile index cabb748f199f..bd6012448f0f 100644 --- a/math/py-PyMetis/Makefile +++ b/math/py-PyMetis/Makefile @@ -17,7 +17,7 @@ LIB_DEPENDS= libmetis.so:math/metis RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= pytest:devel/py-pytest@${PY_FLAVOR} -USES= compiler:c++14-lang localbase python:3.6+ +USES= compiler:c++14-lang localbase python USE_PYTHON= distutils autoplist TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/math/py-PySCIPOpt/Makefile b/math/py-PySCIPOpt/Makefile index 25457fc54ff7..8ad595319ece 100644 --- a/math/py-PySCIPOpt/Makefile +++ b/math/py-PySCIPOpt/Makefile @@ -14,7 +14,7 @@ LICENSE= MIT LIB_DEPENDS= libscip.so:math/SCIP -USES= localbase python:3.6+ +USES= localbase python USE_PYTHON= distutils cython autoplist pytest USE_GITHUB= yes diff --git a/math/py-PyWavelets/Makefile b/math/py-PyWavelets/Makefile index f90201ccc030..6b5bf6f3e52d 100644 --- a/math/py-PyWavelets/Makefile +++ b/math/py-PyWavelets/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYNUMPY} USE_GITHUB= yes GH_PROJECT= pywt -USES= python:3.7+ +USES= python USE_PYTHON= autoplist distutils cython cython_run PYDISTUTILS_BUILD_TARGET= build build_ext diff --git a/math/py-Pyomo/Makefile b/math/py-Pyomo/Makefile index 4b89fa6f184c..4fd5084ab712 100644 --- a/math/py-Pyomo/Makefile +++ b/math/py-Pyomo/Makefile @@ -16,7 +16,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-parallel>0:devel/py-pytest-parallel@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= distutils cython concurrent autoplist pytest # 1 test fails, see https://github.com/Pyomo/pyomo/issues/2547 USE_GITHUB= yes diff --git a/math/py-affine/Makefile b/math/py-affine/Makefile index e0908df6c43d..391c0e6d6cd1 100644 --- a/math/py-affine/Makefile +++ b/math/py-affine/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/math/py-algopy/Makefile b/math/py-algopy/Makefile index 6f2d992b1ada..e108662d6d3a 100644 --- a/math/py-algopy/Makefile +++ b/math/py-algopy/Makefile @@ -13,7 +13,7 @@ LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYNUMPY} -USES= python:3.6+ zip +USES= python zip USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-altgraph/Makefile b/math/py-altgraph/Makefile index e30b21b15ffa..7e1bdaf06b0d 100644 --- a/math/py-altgraph/Makefile +++ b/math/py-altgraph/Makefile @@ -11,7 +11,7 @@ WWW= https://github.com/ronaldoussoren/altgraph LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.6+ +USES= python USE_PYTHON= autoplist concurrent distutils unittest NO_ARCH= yes diff --git a/math/py-amply/Makefile b/math/py-amply/Makefile index 26d0134bae83..d3d3a1572d09 100644 --- a/math/py-amply/Makefile +++ b/math/py-amply/Makefile @@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@$ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0.3:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/math/py-animatplot-ng/Makefile b/math/py-animatplot-ng/Makefile index 5dbd2e732805..58d27b1fa035 100644 --- a/math/py-animatplot-ng/Makefile +++ b/math/py-animatplot-ng/Makefile @@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@$ ${PY_DEPENDS} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2:math/py-matplotlib@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-animatplot/Makefile b/math/py-animatplot/Makefile index 3dbb1e51577b..d702fd58d29a 100644 --- a/math/py-animatplot/Makefile +++ b/math/py-animatplot/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2:math/py-matplotlib@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2:math/py-matplotlib@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-apgl/Makefile b/math/py-apgl/Makefile index 18c1085e1121..62771131c0a0 100644 --- a/math/py-apgl/Makefile +++ b/math/py-apgl/Makefile @@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0.7.0:science/py-scipy@${PY_FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils .include <bsd.port.mk> diff --git a/math/py-arviz/Makefile b/math/py-arviz/Makefile index 27b4a45e0e9a..4e05e1b3c540 100644 --- a/math/py-arviz/Makefile +++ b/math/py-arviz/Makefile @@ -24,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.2:math/py-matplotlib@${PY_FLAV RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cloudpickle>0:devel/py-cloudpickle@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= distutils autoplist pytest # tests have 13 warnings, 1 error, see https://github.com/arviz-devs/arviz/issues/2084 NO_ARCH= yes diff --git a/math/py-arybo/Makefile b/math/py-arybo/Makefile index 1afc5b6a60b6..90167841d065 100644 --- a/math/py-arybo/Makefile +++ b/math/py-arybo/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytanque>=1.0:math/py-pytanque@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} -USES= compiler:c++14-lang python:3.5+ +USES= compiler:c++14-lang python USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes diff --git a/math/py-autograd/Makefile b/math/py-autograd/Makefile index bfb325e78dd2..6f4b6817073c 100644 --- a/math/py-autograd/Makefile +++ b/math/py-autograd/Makefile @@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes diff --git a/math/py-baycomp/Makefile b/math/py-baycomp/Makefile index e2ed734e4cea..59e146515082 100644 --- a/math/py-baycomp/Makefile +++ b/math/py-baycomp/Makefile @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.2:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.19.1:science/py-scipy@${PY_FLAVOR} -USES= localbase:ldflags python:3.7+ +USES= localbase:ldflags python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-bayesian-optimization/Makefile b/math/py-bayesian-optimization/Makefile index 2386e936146c..c5fa2dfbec1b 100644 --- a/math/py-bayesian-optimization/Makefile +++ b/math/py-bayesian-optimization/Makefile @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.5:devel/py-colorama@${PY_FLAVO ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.18.0:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0.0:science/py-scipy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-benford_py/Makefile b/math/py-benford_py/Makefile index 4b934a46eaae..d0a46091b958 100644 --- a/math/py-benford_py/Makefile +++ b/math/py-benford_py/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= distutils autoplist USE_GITHUB= yes diff --git a/math/py-bitmath/Makefile b/math/py-bitmath/Makefile index eda73d6a9881..1c48f4852edf 100644 --- a/math/py-bitmath/Makefile +++ b/math/py-bitmath/Makefile @@ -12,7 +12,7 @@ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}progressbar>0:misc/py-progressbar@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils .include <bsd.port.mk> diff --git a/math/py-bottleneck/Makefile b/math/py-bottleneck/Makefile index 3d02493d9d0a..ec20f34cc7dc 100644 --- a/math/py-bottleneck/Makefile +++ b/math/py-bottleneck/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent cython distutils DOCS= README.rst RELEASE.rst \ diff --git a/math/py-brial/Makefile b/math/py-brial/Makefile index f73079e0521e..9fa3ce171e35 100644 --- a/math/py-brial/Makefile +++ b/math/py-brial/Makefile @@ -16,7 +16,7 @@ USE_GITHUB= yes GH_ACCOUNT= BRiAl GH_PROJECT= ${GH_ACCOUNT} -USES= python:3.6+ +USES= python WRKSRC_SUBDIR= sage-brial USE_PYTHON= distutils diff --git a/math/py-chaospy/Makefile b/math/py-chaospy/Makefile index 3fa89ec3311d..2d99d5297d2b 100644 --- a/math/py-chaospy/Makefile +++ b/math/py-chaospy/Makefile @@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes diff --git a/math/py-claripy/Makefile b/math/py-claripy/Makefile index 01797a62de9d..2507c49bbf99 100644 --- a/math/py-claripy/Makefile +++ b/math/py-claripy/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>0:devel/py-cachetools@${PY_FLAVOR ${PYTHON_PKGNAMEPREFIX}z3-solver>4.8.5.0:math/py-z3-solver@${PY_FLAVOR} TEST_DEPENDS= z3>4.8.5.0:math/z3 -USES= angr:nose python:3.6+ +USES= angr:nose python USE_GITHUB= yes GH_ACCOUNT= angr USE_PYTHON= autoplist distutils diff --git a/math/py-clingcon/Makefile b/math/py-clingcon/Makefile index 0f8f30755c50..f042b0e22010 100644 --- a/math/py-clingcon/Makefile +++ b/math/py-clingcon/Makefile @@ -17,7 +17,7 @@ BUILD_DEPENDS= cmake:devel/cmake-core \ ${PYTHON_PKGNAMEPREFIX}clingo>0:math/py-clingo@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}clingo>0:math/py-clingo@${PY_FLAVOR} -USES= compiler:c++17-lang python:3.6+ +USES= compiler:c++17-lang python USE_PYTHON= distutils autoplist post-install: diff --git a/math/py-clingo/Makefile b/math/py-clingo/Makefile index 19fb40168268..2b96f59cd367 100644 --- a/math/py-clingo/Makefile +++ b/math/py-clingo/Makefile @@ -17,7 +17,7 @@ BUILD_DEPENDS= cmake:devel/cmake-core \ ${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} -USES= compiler:c++14-lang python:3.6+ +USES= compiler:c++14-lang python USE_PYTHON= distutils autoplist unittest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/clingo diff --git a/math/py-cma/Makefile b/math/py-cma/Makefile index 5a9f6272e979..6364c46db49f 100644 --- a/math/py-cma/Makefile +++ b/math/py-cma/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/cma/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-cmaes/Makefile b/math/py-cmaes/Makefile index fcecdbd68d68..ed523dcf9101 100644 --- a/math/py-cmaes/Makefile +++ b/math/py-cmaes/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-cmyt/Makefile b/math/py-cmyt/Makefile index a0f52aef1db5..6d67ef7d85b8 100644 --- a/math/py-cmyt/Makefile +++ b/math/py-cmyt/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}more-itertools>=8.4:devel/py-more-itertools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}colorspacious>=1.1.2:devel/py-colorspacious@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= pep517 concurrent autoplist NO_ARCH= yes diff --git a/math/py-colormath/Makefile b/math/py-colormath/Makefile index c89c53d25924..c326059eaa1a 100644 --- a/math/py-colormath/Makefile +++ b/math/py-colormath/Makefile @@ -14,7 +14,7 @@ LICENSE= BSD2CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=1.9.1:math/py-networkx@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/math/py-contourpy/Makefile b/math/py-contourpy/Makefile index b45153807fc8..fad79e471227 100644 --- a/math/py-contourpy/Makefile +++ b/math/py-contourpy/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pybind11:devel/py-pybind11@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} -USES= python:3.8+ +USES= python USE_PYTHON= autoplist concurrent distutils .include <bsd.port.mk> diff --git a/math/py-cryptominisat/Makefile b/math/py-cryptominisat/Makefile index 5c92a5ffa44e..cc509ebbd504 100644 --- a/math/py-cryptominisat/Makefile +++ b/math/py-cryptominisat/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libcryptominisat5.so:math/cryptominisat -USES= compiler:c++11-lib python:3.6+ +USES= compiler:c++11-lib python USE_PYTHON= autoplist distutils USE_GITHUB= yes diff --git a/math/py-cvxopt/Makefile b/math/py-cvxopt/Makefile index 355fc754a5c1..f3700149d08d 100644 --- a/math/py-cvxopt/Makefile +++ b/math/py-cvxopt/Makefile @@ -23,7 +23,7 @@ LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libumfpack.so:math/suitesparse-umfpack TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= python:3.6+ localbase:ldflags cpe +USES= python localbase:ldflags cpe #USE_GITHUB= yes USE_PYTHON= pep517 autoplist diff --git a/math/py-cvxpy/Makefile b/math/py-cvxpy/Makefile index f025ee7aa6ba..8a2541ce5199 100644 --- a/math/py-cvxpy/Makefile +++ b/math/py-cvxpy/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scs>=1.1.6:math/py-scs@${PY_FLAVOR} TEST_DEPENDS= pytest:devel/py-pytest@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/math/py-cyipopt/Makefile b/math/py-cyipopt/Makefile index f7793e19e067..82d9fe9fa9d7 100644 --- a/math/py-cyipopt/Makefile +++ b/math/py-cyipopt/Makefile @@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} -USES= fortran python:3.6+ pkgconfig # fortran because ipopt's pkg-config returns gcc libs +USES= fortran python pkgconfig # fortran because ipopt's pkg-config returns gcc libs USE_PYTHON= distutils cython autoplist pytest USE_GITHUB= yes diff --git a/math/py-cypari2/Makefile b/math/py-cypari2/Makefile index 1155b82a9a36..3b151e2178f6 100644 --- a/math/py-cypari2/Makefile +++ b/math/py-cypari2/Makefile @@ -19,7 +19,7 @@ TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} #USE_GITHUB= yes #GH_ACCOUNT= sagemath -USES= compiler:c11 python:3.6+ +USES= compiler:c11 python USE_PYTHON= cython distutils .if !defined(WITH_DEBUG) diff --git a/math/py-deap/Makefile b/math/py-deap/Makefile index fbf633d278a9..c037e762208e 100644 --- a/math/py-deap/Makefile +++ b/math/py-deap/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} -USES= python:3.5+ +USES= python USE_PYTHON= distutils autoplist pytest # tests fail, see https://github.com/DEAP/deap/issues/668 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/math/py-dgl/Makefile b/math/py-dgl/Makefile index 61fda08b370f..b4c0c5158e10 100644 --- a/math/py-dgl/Makefile +++ b/math/py-dgl/Makefile @@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}networkx>=2.2:math/py-networkx@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \ ${BACKEND_DEPENDS} -USES= python:3.7+ localbase +USES= python localbase USE_PYTHON= distutils cython autoplist WRKSRC_SUBDIR= python diff --git a/math/py-disjoint-set/Makefile b/math/py-disjoint-set/Makefile index 7d395c1614a9..addbf4e31256 100644 --- a/math/py-disjoint-set/Makefile +++ b/math/py-disjoint-set/Makefile @@ -11,7 +11,7 @@ WWW= https://github.com/mrapacz/disjoint-set LICENSE= MIT -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist pytest NO_ARCH= yes diff --git a/math/py-docplex/Makefile b/math/py-docplex/Makefile index cf446e5c70d4..61e7687619d8 100644 --- a/math/py-docplex/Makefile +++ b/math/py-docplex/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-ducc0/Makefile b/math/py-ducc0/Makefile index 65749b20b0ac..6c264b195297 100644 --- a/math/py-ducc0/Makefile +++ b/math/py-ducc0/Makefile @@ -17,7 +17,7 @@ BROKEN_i386= non-constant-expression cannot be narrowed from type 'long long' to BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} -USES= compiler:c++17-lang python:3.6+ +USES= compiler:c++17-lang python USE_PYTHON= distutils autoplist pytest diff --git a/math/py-ecos/Makefile b/math/py-ecos/Makefile index 66b1d23cf2ec..582d3f17ad17 100644 --- a/math/py-ecos/Makefile +++ b/math/py-ecos/Makefile @@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.9:science/py-scipy@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist pre-configure: diff --git a/math/py-fastcluster/Makefile b/math/py-fastcluster/Makefile index 7683635cc03e..859e76602684 100644 --- a/math/py-fastcluster/Makefile +++ b/math/py-fastcluster/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9,1:math/py-numpy@${PY_FLAVOR} -USES= compiler python:3.7+ +USES= compiler python USE_PYTHON= autoplist concurrent distutils .include <bsd.port.pre.mk> diff --git a/math/py-fastdtw/Makefile b/math/py-fastdtw/Makefile index 8426c39d5267..47e40254817a 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:3.6+ +USES= python USE_GITHUB= yes # tests are only on github GH_ACCOUNT= slaypni diff --git a/math/py-flax/Makefile b/math/py-flax/Makefile index cb7a899e93b5..d4c559a327a2 100644 --- a/math/py-flax/Makefile +++ b/math/py-flax/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jax>=0.4.2:math/py-jax@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=11.1:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.1:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-fpylll/Makefile b/math/py-fpylll/Makefile index 3ab832af143e..2df0cc43eacb 100644 --- a/math/py-fpylll/Makefile +++ b/math/py-fpylll/Makefile @@ -29,7 +29,7 @@ TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= fplll -USES= compiler:c++11-lang python:3.6+ +USES= compiler:c++11-lang python USE_PYTHON= distutils .if !defined(WITH_DEBUG) LDFLAGS+= -s diff --git a/math/py-fraction/Makefile b/math/py-fraction/Makefile index b68691fa40ef..53623eb711ae 100644 --- a/math/py-fraction/Makefile +++ b/math/py-fraction/Makefile @@ -13,7 +13,7 @@ WWW= https://github.com/bradley101/fraction LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-fvcore/Makefile b/math/py-fvcore/Makefile index b9f34f9a733b..50b508012db5 100644 --- a/math/py-fvcore/Makefile +++ b/math/py-fvcore/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}iopath>0:devel/py-iopath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yacs>0:devel/py-yacs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-gau2grid/Makefile b/math/py-gau2grid/Makefile index 9b34c561ced2..c8db9c37f5e5 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:3.6+ +USES= cmake compiler:c11 python USE_GITHUB= yes GH_ACCOUNT= dgasmith USE_PYTHON= flavors diff --git a/math/py-gimmik/Makefile b/math/py-gimmik/Makefile index 994bc6dbd2ab..3451e6e61f13 100644 --- a/math/py-gimmik/Makefile +++ b/math/py-gimmik/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} -USES= python:3.3+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-gmpy/Makefile b/math/py-gmpy/Makefile index 8e14907663f8..8d959ddaa932 100644 --- a/math/py-gmpy/Makefile +++ b/math/py-gmpy/Makefile @@ -14,7 +14,7 @@ EXPIRATION_DATE=2023-06-30 LIB_DEPENDS= libgmp.so:math/gmp -USES= python:3.6+ zip +USES= python zip USE_PYTHON= distutils autoplist post-extract: diff --git a/math/py-grandalf/Makefile b/math/py-grandalf/Makefile index 19c1fda75485..cfd2a4b0d046 100644 --- a/math/py-grandalf/Makefile +++ b/math/py-grandalf/Makefile @@ -15,7 +15,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:3.6+ +USES= python USE_GITHUB= yes GH_ACCOUNT= bdcht USE_PYTHON= distutils autoplist diff --git a/math/py-graphillion/Makefile b/math/py-graphillion/Makefile index 628aeb504702..ff31f2697e10 100644 --- a/math/py-graphillion/Makefile +++ b/math/py-graphillion/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} # Python 2.7,3.4+ -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils post-install: diff --git a/math/py-gym-notices/Makefile b/math/py-gym-notices/Makefile index 4bb4972aac39..6907d3397ff5 100644 --- a/math/py-gym-notices/Makefile +++ b/math/py-gym-notices/Makefile @@ -11,7 +11,7 @@ WWW= https://github.com/Farama-Foundation/gym-notices LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-gym/Makefile b/math/py-gym/Makefile index 77e110e79b95..7e6e087a0875 100644 --- a/math/py-gym/Makefile +++ b/math/py-gym/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudpickle>=1.2.0:devel/py-cloudpickle@${PY ${PYTHON_PKGNAMEPREFIX}numpy>=1.18.0,1:math/py-numpy@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-hdbscan/Makefile b/math/py-hdbscan/Makefile index 4115af00ecbe..d10d3ad92f26 100644 --- a/math/py-hdbscan/Makefile +++ b/math/py-hdbscan/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}joblib>=1.0:devel/py-joblib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.20:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent cython distutils post-install: diff --git a/math/py-hdmedians/Makefile b/math/py-hdmedians/Makefile index 6036f98c90ef..731445589ce0 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:3.6+ +USES= python USE_PYTHON= distutils cython autoplist post-install: diff --git a/math/py-heyoka/Makefile b/math/py-heyoka/Makefile index 15f20329a7ed..adc53017e0d4 100644 --- a/math/py-heyoka/Makefile +++ b/math/py-heyoka/Makefile @@ -28,7 +28,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} -USES= cmake compiler:c++17-lang python:3.7+ +USES= cmake compiler:c++17-lang python USE_PYTHON= flavors USE_GITHUB= yes diff --git a/math/py-igraph/Makefile b/math/py-igraph/Makefile index 76871eddd819..41c46f383d55 100644 --- a/math/py-igraph/Makefile +++ b/math/py-igraph/Makefile @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_ ${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR} TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} -USES= bison gnome pkgconfig python:3.6+ +USES= bison gnome pkgconfig python USE_PYTHON= distutils concurrent autoplist USE_GNOME= libxml2 diff --git a/math/py-intspan/Makefile b/math/py-intspan/Makefile index 81d5f3ea82fd..753e697e7647 100644 --- a/math/py-intspan/Makefile +++ b/math/py-intspan/Makefile @@ -10,7 +10,7 @@ WWW= https://github.com/jonathaneunice/intspan LICENSE= APACHE20 -USES= python:3.6+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-iohexperimenter/Makefile b/math/py-iohexperimenter/Makefile index aed098789269..cae66a4d73df 100644 --- a/math/py-iohexperimenter/Makefile +++ b/math/py-iohexperimenter/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} -USES= compiler:c++14-lang dos2unix python:3.7+ +USES= compiler:c++14-lang dos2unix python USE_PYTHON= autoplist concurrent distutils unittest USE_CXXSTD= c++14 diff --git a/math/py-ipyopt/Makefile b/math/py-ipyopt/Makefile index 4c0b1e87add9..b50c100492dc 100644 --- a/math/py-ipyopt/Makefile +++ b/math/py-ipyopt/Makefile @@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PY_DEPENDS} LIB_DEPENDS= libipopt.so:math/ipopt RUN_DEPENDS= ${PY_DEPENDS} -USES= compiler:c++17-lang pkgconfig python:3.6+ +USES= compiler:c++17-lang pkgconfig python USE_PYTHON= distutils autoplist pytest CXXFLAGS+= $(pkg-config --cflags ipopt) diff --git a/math/py-jax/Makefile b/math/py-jax/Makefile index 2a90d5702b8a..85e49bd7bb20 100644 --- a/math/py-jax/Makefile +++ b/math/py-jax/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ml-dtypes>=0.1.0:math/py-ml-dtypes@${PY_FLAV ${PYTHON_PKGNAMEPREFIX}opt-einsum>=0:math/py-opt-einsum@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.7:science/py-scipy@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/math/py-keras-applications/Makefile b/math/py-keras-applications/Makefile index 8035bab0d028..193e2f91d6d3 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:3.7+ +USES= python 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 efc9e8e49551..62ea76183e50 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:3.6+ +USES= python USE_GITHUB= yes GH_ACCOUNT= keras-team USE_PYTHON= autoplist distutils diff --git a/math/py-keras/Makefile b/math/py-keras/Makefile index 27075134d203..55791760d60f 100644 --- a/math/py-keras/Makefile +++ b/math/py-keras/Makefile @@ -28,7 +28,7 @@ BUILD_DEPENDS= ${RUN_DEPENDS} \ bazel:devel/bazel5 \ bash:shells/bash -USES= python:3.7+ +USES= python USE_GITHUB= yes GH_ACCOUNT= keras-team diff --git a/math/py-kiwisolver/Makefile b/math/py-kiwisolver/Makefile index b82216e62be7..0ab3fddb5c97 100644 --- a/math/py-kiwisolver/Makefile +++ b/math/py-kiwisolver/Makefile @@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cppy>=1.1.0:devel/py-cppy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -USES= compiler:c++11-lang python:3.7+ +USES= compiler:c++11-lang python USE_PYTHON= autoplist concurrent distutils .include <bsd.port.mk> diff --git a/math/py-levmar/Makefile b/math/py-levmar/Makefile index d1175087fc0e..3e5e28f7451c 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}pytest4>0:devel/py-pytest4@${PY_FLAVOR} \ ${PYNUMPY} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist .include <bsd.port.pre.mk> diff --git a/math/py-libpoly/Makefile b/math/py-libpoly/Makefile index 12adafe54ac9..e022cee6dec7 100644 --- a/math/py-libpoly/Makefile +++ b/math/py-libpoly/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENCE LIB_DEPENDS= libpoly.so:math/libpoly -USES= cmake localbase:ldflags python:3.6+ +USES= cmake localbase:ldflags python USE_GITHUB= yes GH_ACCOUNT= SRI-CSL USE_LDCONFIG= yes diff --git a/math/py-linearmodels/Makefile b/math/py-linearmodels/Makefile index f2c7b6f3b790..202985f316a5 100644 --- a/math/py-linearmodels/Makefile +++ b/math/py-linearmodels/Makefile @@ -32,7 +32,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}seaborn>0:math/py-seaborn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xarray>=0.13:devel/py-xarray@${PY_FLAVOR} -USES= python:3.7+ shebangfix +USES= python shebangfix USE_PYTHON= distutils cython autoplist pytest # tests fail to run, see https://github.com/bashtage/linearmodels/issues/512 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/math/py-lmfit/Makefile b/math/py-lmfit/Makefile index 681a1ae1d7bb..bc968d82492c 100644 --- a/math/py-lmfit/Makefile +++ b/math/py-lmfit/Makefile @@ -25,7 +25,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numdifftools>0:math/py-numdifftools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ -USES= python:3.6+ +USES= python USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes diff --git a/math/py-lrcalc/Makefile b/math/py-lrcalc/Makefile index 3095f64e7fab..5f6ea21ea209 100644 --- a/math/py-lrcalc/Makefile +++ b/math/py-lrcalc/Makefile @@ -12,7 +12,7 @@ LICENSE= GPLv3 LIB_DEPENDS= liblrcalc.so:math/lrcalc -USES= localbase python:3.6+ +USES= localbase python USE_PYTHON= cython distutils diff --git a/math/py-luminol/Makefile b/math/py-luminol/Makefile index c66fc8818694..e673b8dc7770 100644 --- a/math/py-luminol/Makefile +++ b/math/py-luminol/Makefile @@ -15,7 +15,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/math/py-mathics-scanner/Makefile b/math/py-mathics-scanner/Makefile index 8405e571f654..b7ba66eff737 100644 --- a/math/py-mathics-scanner/Makefile +++ b/math/py-mathics-scanner/Makefile @@ -23,7 +23,7 @@ TEST_DEPENDS= gmake:devel/gmake \ #USE_GITHUB= yes #GH_ACCOUNT= Mathics3 -USES= python:3.6+ shebangfix +USES= python shebangfix USE_PYTHON= distutils noflavors NO_ARCH= yes diff --git a/math/py-mathics/Makefile b/math/py-mathics/Makefile index 8548f37bbf1e..3478d3c1039f 100644 --- a/math/py-mathics/Makefile +++ b/math/py-mathics/Makefile @@ -67,7 +67,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ #USE_GITHUB= yes #GH_ACCOUNT= ${PORTNAME:tl} -USES= python:3.8+ shebangfix +USES= python shebangfix USE_PYTHON= cython distutils noflavors MAKE_ENV+= USE_CYTHON=yes SHEBANG_GLOB= *.py diff --git a/math/py-matplotlib-inline/Makefile b/math/py-matplotlib-inline/Makefile index 08147dc65c27..931576cf7e43 100644 --- a/math/py-matplotlib-inline/Makefile +++ b/math/py-matplotlib-inline/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-matplotlib-scalebar/Makefile b/math/py-matplotlib-scalebar/Makefile index 8ef2a62d092d..be8179f9940b 100644 --- a/math/py-matplotlib-scalebar/Makefile +++ b/math/py-matplotlib-scalebar/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_LOCALE= en_US.UTF-8 USE_PYTHON= autoplist distutils diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile index 4a0fa7bd5b1d..da5b482ef487 100644 --- a/math/py-matplotlib/Makefile +++ b/math/py-matplotlib/Makefile @@ -38,7 +38,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=4.22.0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} -USES= compiler:c++11-lib gettext gnome localbase pkgconfig python:3.7+ shebangfix uniquefiles:dirs +USES= compiler:c++11-lib gettext gnome localbase pkgconfig python shebangfix uniquefiles:dirs USE_PYTHON= distutils PLIST_SUB= VER=${PORTVERSION} diff --git a/math/py-matplotlib2/Makefile b/math/py-matplotlib2/Makefile index 743a1e59c7a8..52c0c407af4e 100644 --- a/math/py-matplotlib2/Makefile +++ b/math/py-matplotlib2/Makefile @@ -25,7 +25,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}kiwisolver>=1.0.0:math/py-kiwisolver@${PY_FLAVOR} -USES= compiler:c++11-lib gettext gnome pkgconfig python:3.6+ shebangfix uniquefiles:dirs +USES= compiler:c++11-lib gettext gnome pkgconfig python shebangfix uniquefiles:dirs USE_PYTHON= autoplist distutils CFLAGS+= -I${LOCALBASE}/include diff --git a/math/py-minorminer/Makefile b/math/py-minorminer/Makefile index c00e710d4260..2cac5b0f3ac1 100644 --- a/math/py-minorminer/Makefile +++ b/math/py-minorminer/Makefile @@ -21,7 +21,7 @@ PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fasteners>=0.15:devel/py-fasteners@${PY_FLAVO BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.6+ +USES= python USE_PYTHON= distutils cython autoplist pytest # 9 tests fail, see https://github.com/dwavesystems/minorminer/issues/231 USE_GITHUB= yes diff --git a/math/py-mip/Makefile b/math/py-mip/Makefile index 9b928925b0db..f8ce8279270e 100644 --- a/math/py-mip/Makefile +++ b/math/py-mip/Makefile @@ -14,7 +14,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} -USES= python:3.5+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-mixsimulator/Makefile b/math/py-mixsimulator/Makefile index d874e7cb2a6d..f92a95439570 100644 --- a/math/py-mixsimulator/Makefile +++ b/math/py-mixsimulator/Makefile @@ -11,7 +11,7 @@ WWW= https://github.com/Foloso/MixSimulator LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.6+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-ml-dtypes/Makefile b/math/py-ml-dtypes/Makefile index 5d37ea2b56bb..b4dabe001c00 100644 --- a/math/py-ml-dtypes/Makefile +++ b/math/py-ml-dtypes/Makefile @@ -19,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3:math/py-numpy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent pep517 post-install: diff --git a/math/py-mnnpy/Makefile b/math/py-mnnpy/Makefile index a4cf71d62b95..adf1fd1e9a0b 100644 --- a/math/py-mnnpy/Makefile +++ b/math/py-mnnpy/Makefile @@ -19,7 +19,7 @@ PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anndata>0:devel/py-anndata@${PY_FLAVOR} \ BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.4+ +USES= python USE_PYTHON= distutils cython autoplist post-install: diff --git a/math/py-moarchiving/Makefile b/math/py-moarchiving/Makefile index 20156184ac57..be07e62582ec 100644 --- a/math/py-moarchiving/Makefile +++ b/math/py-moarchiving/Makefile @@ -10,7 +10,7 @@ WWW= https://github.com/CMA-ES/moarchiving LICENSE= BSD3CLAUSE -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile index 86a0feb32522..afb9f135dcc3 100644 --- a/math/py-mpmath/Makefile +++ b/math/py-mpmath/Makefile @@ -13,7 +13,7 @@ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy>=0:math/py-gmpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-munkres/Makefile b/math/py-munkres/Makefile index d9ee87afdc59..95b22554d717 100644 --- a/math/py-munkres/Makefile +++ b/math/py-munkres/Makefile @@ -11,7 +11,7 @@ WWW= https://software.clapper.org/munkres/ \ LICENSE= APACHE20 -USES= python:3.5+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-munkres10/Makefile b/math/py-munkres10/Makefile index 07bd06c4d41c..356c1a79c93b 100644 --- a/math/py-munkres10/Makefile +++ b/math/py-munkres10/Makefile @@ -11,7 +11,7 @@ WWW= https://software.clapper.org/munkres/ LICENSE= APACHE20 -USES= python:3.6+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-ndindex/Makefile b/math/py-ndindex/Makefile index fecea5c11c38..d7bd17b6a92a 100644 --- a/math/py-ndindex/Makefile +++ b/math/py-ndindex/Makefile @@ -11,7 +11,7 @@ WWW= https://github.com/Quansight-Labs/ndindex LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile index 6ce110df6ff7..f115a901f124 100644 --- a/math/py-networkx/Makefile +++ b/math/py-networkx/Makefile @@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=4.3.0:devel/py-decorator@${PY_FLAVOR} -USES= cpe python:3.8+ shebangfix +USES= cpe python shebangfix USE_PYTHON= autoplist concurrent distutils pytest SHEBANG_GLOB= *.py NO_ARCH= yes diff --git a/math/py-nevergrad/Makefile b/math/py-nevergrad/Makefile index 62652c48a02e..1d53e00eec89 100644 --- a/math/py-nevergrad/Makefile +++ b/math/py-nevergrad/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bayesian-optimization>=1.2.0:math/py-bayesia ${PYTHON_PKGNAMEPREFIX}cma>=2.6.0:math/py-cma@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.15.0,1:math/py-numpy@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-numdifftools/Makefile b/math/py-numdifftools/Makefile index d9327d34d29f..7c7ba59ce5cc 100644 --- a/math/py-numdifftools/Makefile +++ b/math/py-numdifftools/Makefile @@ -25,7 +25,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=3.56:devel/py-hypothesis@${PY_F ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-pep8>0:devel/py-pytest-pep8@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist pytest # test dependencies fail to install due to inter-package conflicts NO_ARCH= yes diff --git a/math/py-numexpr/Makefile b/math/py-numexpr/Makefile index 9b4ad1cdf5d8..171291f8a529 100644 --- a/math/py-numexpr/Makefile +++ b/math/py-numexpr/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.13.3,1:math/py-numpy@${PY_FLAVOR} -USES= dos2unix python:3.7+ +USES= dos2unix python USE_PYTHON= autoplist concurrent distutils post-install: diff --git a/math/py-numpoly/Makefile b/math/py-numpoly/Makefile index 529a08b3ce76..74993b711d99 100644 --- a/math/py-numpoly/Makefile +++ b/math/py-numpoly/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYNUMPY} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-numpy-stl/Makefile b/math/py-numpy-stl/Makefile index 151c95d59740..cbe082b51596 100644 --- a/math/py-numpy-stl/Makefile +++ b/math/py-numpy-stl/Makefile @@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}python-utils>=2.3.0:misc/py-python-utils@${PY_FLAVOR} -USES= python:3.4+ +USES= python USE_PYTHON= cython distutils autoplist post-install: diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index f4082a64ca27..e9196f587af9 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -25,7 +25,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>=6.24.1:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= compiler:c11 cpe fortran python:3.8+ +USES= compiler:c11 cpe fortran python USE_PYTHON= allflavors autoplist concurrent cython distutils GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so// diff --git a/math/py-openTSNE/Makefile b/math/py-openTSNE/Makefile index 18e3227b8d38..0025ea4f5ace 100644 --- a/math/py-openTSNE/Makefile +++ b/math/py-openTSNE/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.20:science/py-scikit-learn@${PY_FLAVOR} -USES= compiler:c++14-lang localbase:ldflags python:3.6+ +USES= compiler:c++14-lang localbase:ldflags python USE_PYTHON= pep517 cython autoplist pytest # tests fail to run, see https://github.com/pavlin-policar/openTSNE/issues/237 TEST_WRKSRC= ${WRKSRC}/tests diff --git a/math/py-opt-einsum/Makefile b/math/py-opt-einsum/Makefile index f1e8ff232b47..05780886838d 100644 --- a/math/py-opt-einsum/Makefile +++ b/math/py-opt-einsum/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.7,1:math/py-numpy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-optuna/Makefile b/math/py-optuna/Makefile index 8e9d3b0961a0..e3d0dc1d9caa 100644 --- a/math/py-optuna/Makefile +++ b/math/py-optuna/Makefile @@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}alembic14>0:databases/py-alembic14@${PY_FLAV ${PYTHON_PKGNAMEPREFIX}sqlalchemy12>0:databases/py-sqlalchemy12@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/math/py-or-tools/Makefile b/math/py-or-tools/Makefile index eb011d748bf5..00e501d5c5e5 100644 --- a/math/py-or-tools/Makefile +++ b/math/py-or-tools/Makefile @@ -41,7 +41,7 @@ LIB_DEPENDS= libabsl_base.so:devel/abseil \ libre2.so:devel/re2 RUN_DEPENDS= ${PY_DEPENDS} -USES= blaslapack cmake:insource compiler:c++17-lang eigen:3 pkgconfig python:3.6+ +USES= blaslapack cmake:insource compiler:c++17-lang eigen:3 pkgconfig python USE_PYTHON= flavors pytest # tests fail, see https://github.com/google/or-tools/issues/3464 USE_GITHUB= yes diff --git a/math/py-osqp/Makefile b/math/py-osqp/Makefile index f7daf1f16da0..415c739abe8d 100644 --- a/math/py-osqp/Makefile +++ b/math/py-osqp/Makefile @@ -20,7 +20,7 @@ BUILD_DEPENDS= ${PY_DEPENDS} \ cmake:devel/cmake-core RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-pandas-datareader/Makefile b/math/py-pandas-datareader/Makefile index a6a5f40639d4..17e1aefb5787 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:3.7+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-pandas/Makefile b/math/py-pandas/Makefile index cc438260ac1f..403b4e98e17a 100644 --- a/math/py-pandas/Makefile +++ b/math/py-pandas/Makefile @@ -24,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.33<3:lang/cython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzdata>=2022.1:devel/py-tzdata@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0:devel/py-arrow@${PY_FLAVOR} -USES= cpe python:3.8+ +USES= cpe python CPE_VENDOR= numfocus USE_PYTHON= autoplist cython pep517 diff --git a/math/py-patsy/Makefile b/math/py-patsy/Makefile index 28e787a8bd20..112e1b9eb865 100644 --- a/math/py-patsy/Makefile +++ b/math/py-patsy/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.4,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-pdal/Makefile b/math/py-pdal/Makefile index 6391fb865c80..abfa36e6efb5 100644 --- a/math/py-pdal/Makefile +++ b/math/py-pdal/Makefile @@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} ${PYNUMPY} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= compiler:c++11-lang ninja:build python:3.6+ +USES= compiler:c++11-lang ninja:build python USE_PYTHON= autoplist cython distutils post-install: diff --git a/math/py-permutation/Makefile b/math/py-permutation/Makefile index 0ba5c05899b8..188a1bbb7591 100644 --- a/math/py-permutation/Makefile +++ b/math/py-permutation/Makefile @@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAV ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes diff --git a/math/py-petsc4py/Makefile b/math/py-petsc4py/Makefile index 8978daa7d213..6977e73a0525 100644 --- a/math/py-petsc4py/Makefile +++ b/math/py-petsc4py/Makefile @@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libpetsc.so:science/PETSc RUN_DEPENDS= ${PYNUMPY} -USES= python:3.6+ +USES= python USE_PYTHON= distutils cython autoplist pytest # tests fail to run, see https://gitlab.com/petsc/petsc/-/issues/1301 MAKE_ENV= PETSC_DIR=${LOCALBASE} diff --git a/math/py-piranha/Makefile b/math/py-piranha/Makefile index eb0e068792f3..683a4fe25b3c 100644 --- a/math/py-piranha/Makefile +++ b/math/py-piranha/Makefile @@ -22,7 +22,7 @@ LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libmpfr.so:math/mpfr \ ${PY_BOOST} -USES= cmake compiler:c++14-lang python:3.6+ +USES= cmake compiler:c++14-lang python USE_GITHUB= yes GH_ACCOUNT= bluescarni USE_PYTHON= flavors diff --git a/math/py-plastex/Makefile b/math/py-plastex/Makefile index 7c29a963afc3..d39e685a3666 100644 --- a/math/py-plastex/Makefile +++ b/math/py-plastex/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unidecode>=0.4.21:converters/py-unidecode@${PY_FLAVOR} -USES= python:3.6+ tex +USES= python tex USE_PYTHON= autoplist concurrent distutils USE_TEX= base:run diff --git a/math/py-point-annotator/Makefile b/math/py-point-annotator/Makefile index 6bc5a2f1ce1e..be0aa680e250 100644 --- a/math/py-point-annotator/Makefile +++ b/math/py-point-annotator/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/math/py-pplpy/Makefile b/math/py-pplpy/Makefile index 37ea58f7eda3..b3e3178f4d47 100644 --- a/math/py-pplpy/Makefile +++ b/math/py-pplpy/Makefile @@ -24,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR} TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} -USES= compiler:c++11-lang localbase python:3.6+ +USES= compiler:c++11-lang localbase python USE_PYTHON= cython distutils .if !defined(WITH_DEBUG) diff --git a/math/py-primecountpy/Makefile b/math/py-primecountpy/Makefile index 107b7a16a047..acac2d6b11d0 100644 --- a/math/py-primecountpy/Makefile +++ b/math/py-primecountpy/Makefile @@ -17,7 +17,7 @@ LIB_DEPENDS= libpari.so:math/pari \ libprimesieve.so:math/primesieve RUN_DEPENDS= ${PYDEPS} -USES= localbase python:3.7+ +USES= localbase python USE_PYTHON= cython distutils .if !defined(WITH_DEBUG) LDFLAGS+= -s diff --git a/math/py-primme/Makefile b/math/py-primme/Makefile index 7a80981e675d..a52af0aa4fa0 100644 --- a/math/py-primme/Makefile +++ b/math/py-primme/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} -USES= fortran gmake localbase:ldflags python:3.6+ shebangfix +USES= fortran gmake localbase:ldflags python shebangfix USE_PYTHON= distutils cython autoplist TEST_TARGET= test diff --git a/math/py-py-find-1st/Makefile b/math/py-py-find-1st/Makefile index 1a3e816016fd..dd1d9a35651a 100644 --- a/math/py-py-find-1st/Makefile +++ b/math/py-py-find-1st/Makefile @@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=46.4.0:devel/py-setuptools@${P ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} -USES= python:3.6+ +USES= python USE_PYTHON= pep517 autoplist pytest # tests are broken, see https://github.com/roebel/py_find_1st/issues/13 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/math/py-pyFFTW/Makefile b/math/py-pyFFTW/Makefile index 3c26dc5ddd90..81a1b931d092 100644 --- a/math/py-pyFFTW/Makefile +++ b/math/py-pyFFTW/Makefile @@ -19,7 +19,7 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.8+ localbase:ldflags +USES= python localbase:ldflags USE_PYTHON= distutils cython autoplist post-install: diff --git a/math/py-pybloom/Makefile b/math/py-pybloom/Makefile index 48b177a0b6db..086383052ba0 100644 --- a/math/py-pybloom/Makefile +++ b/math/py-pybloom/Makefile @@ -12,7 +12,7 @@ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitarray>0:devel/py-bitarray@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist USE_GITHUB= yes diff --git a/math/py-pyclipper/Makefile b/math/py-pyclipper/Makefile index f411bb299425..7e84bd38aa3d 100644 --- a/math/py-pyclipper/Makefile +++ b/math/py-pyclipper/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.11.1:devel/py-setuptools_scm@${PY_FLAVOR} -USES= python:3.6+ zip +USES= python zip USE_PYTHON= distutils cython autoplist .include <bsd.port.mk> diff --git a/math/py-pycosat/Makefile b/math/py-pycosat/Makefile index e2db7b7703b1..f3dcf33eac22 100644 --- a/math/py-pycosat/Makefile +++ b/math/py-pycosat/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpicosat.so:math/picosat -USES= python:3.6+ zip +USES= python zip USE_PYTHON= autoplist distutils PYDISTUTILS_BUILDARGS= build_ext \ diff --git a/math/py-pygsl/Makefile b/math/py-pygsl/Makefile index d2675b69fc9f..6521110f13ee 100644 --- a/math/py-pygsl/Makefile +++ b/math/py-pygsl/Makefile @@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ LIB_DEPENDS= libgsl.so:math/gsl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent pep517 post-install: diff --git a/math/py-pygslodeiv2/Makefile b/math/py-pygslodeiv2/Makefile index 7f689992fe1d..ecd19415a09e 100644 --- a/math/py-pygslodeiv2/Makefile +++ b/math/py-pygslodeiv2/Makefile @@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libgsl.so:math/gsl RUN_DEPENDS= ${PYNUMPY} -USES= compiler:c++11-lang localbase python:3.6+ pytest +USES= compiler:c++11-lang localbase python pytest USE_PYTHON= distutils autoplist pre-test: diff --git a/math/py-pyhdfe/Makefile b/math/py-pyhdfe/Makefile index 7bf4a765b465..7be5904e987c 100644 --- a/math/py-pyhdfe/Makefile +++ b/math/py-pyhdfe/Makefile @@ -17,7 +17,7 @@ PY_DEPENDS= ${PYNUMY} \ BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.7+ +USES= python USE_PYTHON= distutils autoplist pytest NO_ARCH= yes diff --git a/math/py-pyhull/Makefile b/math/py-pyhull/Makefile index d73ae7a7f4f3..270088bb4dcf 100644 --- a/math/py-pyhull/Makefile +++ b/math/py-pyhull/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.rst BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils post-install: diff --git a/math/py-pymc3/Makefile b/math/py-pymc3/Makefile index 24c470f7130c..f60a0863ae50 100644 --- a/math/py-pymc3/Makefile +++ b/math/py-pymc3/Makefile @@ -25,7 +25,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}theano>0:math/py-theano@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_GITHUB= yes GH_ACCOUNT= pymc-devs USE_PYTHON= distutils concurrent autoplist diff --git a/math/py-pynauty/Makefile b/math/py-pynauty/Makefile index c33c0f356d31..972d5f6ff41a 100644 --- a/math/py-pynauty/Makefile +++ b/math/py-pynauty/Makefile @@ -13,7 +13,7 @@ LICENSE= GPLv3 BUILD_DEPENDS= gmake:devel/gmake TEST_DEPENDS= pytest:devel/py-pytest@${PY_FLAVOR} -USES= python:3.6+ shebangfix +USES= python shebangfix USE_PYTHON= distutils autoplist SHEBANG_FILES= src/pynauty/tests/test_minimal.py diff --git a/math/py-pyneqsys/Makefile b/math/py-pyneqsys/Makefile index 6ddd32651281..d2ee3eecba81 100644 --- a/math/py-pyneqsys/Makefile +++ b/math/py-pyneqsys/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}sym>=0.3.1:math/py-sym@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sympy>=1.3:math/py-sympy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-pynleq2/Makefile b/math/py-pynleq2/Makefile index 5ec81ed90144..1d58bda83588 100644 --- a/math/py-pynleq2/Makefile +++ b/math/py-pynleq2/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYNUMPY} -USES= fortran python:3.6+ +USES= fortran python USE_PYTHON= distutils autoplist USE_GITHUB= nodefault GH_TUPLE= PySCeS:pysces:0.9.8:fortran diff --git a/math/py-pynndescent/Makefile b/math/py-pynndescent/Makefile index f7a1e3f4be75..8a2c9531dad9 100644 --- a/math/py-pynndescent/Makefile +++ b/math/py-pynndescent/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.18:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://github.com/lmcinnes/pynndescent/issues/216 ; in 0.5.10 tests fail @ 64% w/out any error message NO_ARCH= yes diff --git a/math/py-pyodeint/Makefile b/math/py-pyodeint/Makefile index 82463547125c..a551febbf881 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:3.6+ +USES= compiler:c++11-lang localbase python USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-pyodesys/Makefile b/math/py-pyodesys/Makefile index dac38a5a57e7..f9ca2a4bb2aa 100644 --- a/math/py-pyodesys/Makefile +++ b/math/py-pyodesys/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.5:math/py-matplotlib@${PY_FL TEST_DEPENDS= ${LOCALBASE}/include/boost/numeric/ublas/matrix.hpp:devel/boost-libs \ ${LOCALBASE}/include/gsl/gsl_errno.h:math/gsl -USES= display:test localbase:ldflags python:3.7+ shebangfix +USES= display:test localbase:ldflags python shebangfix USE_PYTHON= distutils autoplist pytest SHEBANG_GLOB= *.py diff --git a/math/py-pysmt/Makefile b/math/py-pysmt/Makefile index f77c7f539987..880eb10ea804 100644 --- a/math/py-pysmt/Makefile +++ b/math/py-pysmt/Makefile @@ -17,7 +17,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ z3>0:math/z3 \ cvc5>0:math/cvc5 # CVC4 was replaced with CVC5 - tests are now broken untile this is resolved: https://github.com/pysmt/pysmt/issues/744 -USES= python:3.5+ +USES= python USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils PYDISTUTILS_PKGNAME= PySMT diff --git a/math/py-pystan/Makefile b/math/py-pystan/Makefile index 49c000839c65..2b2d8316e177 100644 --- a/math/py-pystan/Makefile +++ b/math/py-pystan/Makefile @@ -12,7 +12,7 @@ WWW= https://github.com/stan-dev/pystan LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= compiler:c++14-lang python:3.6+ shebangfix +USES= compiler:c++14-lang python shebangfix USE_PYTHON= autoplist distutils .include <bsd.port.pre.mk> diff --git a/math/py-pysym/Makefile b/math/py-pysym/Makefile index 6e2aaf22602a..1db134952182 100644 --- a/math/py-pysym/Makefile +++ b/math/py-pysym/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} \ ${PYNUMPY} -USES= python:3.5+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-pytanque/Makefile b/math/py-pytanque/Makefile index fedd9c42ef14..6f8f2076632c 100644 --- a/math/py-pytanque/Makefile +++ b/math/py-pytanque/Makefile @@ -12,7 +12,7 @@ LICENSE= BSD3CLAUSE BROKEN_riscv64= ld: error: lto.tmp: cannot link object files with different floating-point ABI -USES= compiler:c++14-lang python:3.6+ +USES= compiler:c++14-lang python USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-pytensor/Makefile b/math/py-pytensor/Makefile index e5aa596b05aa..a19e888b34da 100644 --- a/math/py-pytensor/Makefile +++ b/math/py-pytensor/Makefile @@ -25,7 +25,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=48.0.0:devel/py-setuptools@${P ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.8+ shebangfix +USES= python shebangfix USE_PYTHON= pep517 cython autoplist pytest # tests fail to run, see https://github.com/pymc-devs/pytensor/issues/355 SHEBANG_FILES= bin/pytensor-cache diff --git a/math/py-python-fcl/Makefile b/math/py-python-fcl/Makefile index c30e003584eb..1d74503a7fca 100644 --- a/math/py-python-fcl/Makefile +++ b/math/py-python-fcl/Makefile @@ -17,7 +17,7 @@ LIB_DEPENDS= libfcl05.so:math/fcl05 \ BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} -USES= compiler:c++11-lang eigen:3 python:3.6+ +USES= compiler:c++11-lang eigen:3 python USE_PYTHON= distutils autoplist concurrent cython diff --git a/math/py-python-louvain/Makefile b/math/py-python-louvain/Makefile index d8b11a1dab31..8bd8a586fd44 100644 --- a/math/py-python-louvain/Makefile +++ b/math/py-python-louvain/Makefile @@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes diff --git a/math/py-python-picard/Makefile b/math/py-python-picard/Makefile index 949d50ab2313..2cd909c59539 100644 --- a/math/py-python-picard/Makefile +++ b/math/py-python-picard/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes diff --git a/math/py-pytorchvideo/Makefile b/math/py-pytorchvideo/Makefile index 3d2064220aee..614130287748 100644 --- a/math/py-pytorchvideo/Makefile +++ b/math/py-pytorchvideo/Makefile @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}av>0:multimedia/py-av@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iopath>0:devel/py-iopath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-pyvtk/Makefile b/math/py-pyvtk/Makefile index de2796949108..08fdf43c3019 100644 --- a/math/py-pyvtk/Makefile +++ b/math/py-pyvtk/Makefile @@ -11,7 +11,7 @@ WWW= https://github.com/pearu/pyvtk LICENSE= GPLv2 -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/math/py-qdldl/Makefile b/math/py-qdldl/Makefile index c6dfd461d532..2ea7f20fce90 100644 --- a/math/py-qdldl/Makefile +++ b/math/py-qdldl/Makefile @@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.13.2:science/py-scipy@${PY_FLAVOR} TEST_DEPENDS= pytest:devel/py-pytest@${PY_FLAVOR} -USES= compiler:c++11-lang python:3.6+ +USES= compiler:c++11-lang python USE_PYTHON= distutils autoplist post-install: diff --git a/math/py-quadprog/Makefile b/math/py-quadprog/Makefile index 1a0aab4c33b8..d9c35c603dd8 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:3.6+ +USES= python USE_PYTHON= distutils autoplist cython .include <bsd.port.mk> diff --git a/math/py-random2/Makefile b/math/py-random2/Makefile index 59e06a9e7c75..3b78cbe541da 100644 --- a/math/py-random2/Makefile +++ b/math/py-random2/Makefile @@ -10,7 +10,7 @@ WWW= https://pypi.org/project/random2/ LICENSE= PSFL -USES= python:3.6+ zip +USES= python zip USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-rectangle-packer/Makefile b/math/py-rectangle-packer/Makefile index ed2ad6659f56..bcd83d504b5c 100644 --- a/math/py-rectangle-packer/Makefile +++ b/math/py-rectangle-packer/Makefile @@ -10,7 +10,7 @@ WWW= https://github.com/Penlect/rectangle-packer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -USES= python:3.6+ +USES= python USE_PYTHON= distutils cython autoplist unittest USE_GITHUB= yes diff --git a/math/py-resample/Makefile b/math/py-resample/Makefile index f2c361465b7d..e9795f17b31d 100644 --- a/math/py-resample/Makefile +++ b/math/py-resample/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYNUMPY} \ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= pep517 autoplist pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/math/py-roman/Makefile b/math/py-roman/Makefile index a54e01d2f55e..259a8d5236ad 100644 --- a/math/py-roman/Makefile +++ b/math/py-roman/Makefile @@ -8,7 +8,7 @@ MAINTAINER= wen@FreeBSD.org COMMENT= Integer to Roman numerals converter WWW= https://pypi.org/project/roman/ -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-rpy2/Makefile b/math/py-rpy2/Makefile index 26317b1b74bb..a7f81ac263ce 100644 --- a/math/py-rpy2/Makefile +++ b/math/py-rpy2/Makefile @@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.10.0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzlocal>=0<5.0:devel/py-tzlocal@${PY_FLAVOR} -USES= compiler:c11 fortran python:3.7+ readline +USES= compiler:c11 fortran python readline USE_PYTHON= autoplist concurrent pep517 MAKE_ENV= RPY2_CFFI_MODE=BOTH diff --git a/math/py-rustworkx/Makefile b/math/py-rustworkx/Makefile index 8b31b55b46b7..d9ee29088689 100644 --- a/math/py-rustworkx/Makefile +++ b/math/py-rustworkx/Makefile @@ -18,7 +18,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.0:math/py-matplotlib@${PY_FLA ${PYTHON_PKGNAMEPREFIX}pillow>=5.4:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} -USES= cargo python:3.7+ +USES= cargo python USE_PYTHON= autoplist distutils USE_GITHUB= yes diff --git a/math/py-rvlib/Makefile b/math/py-rvlib/Makefile index 4e734aff1b33..ac24e10ad162 100644 --- a/math/py-rvlib/Makefile +++ b/math/py-rvlib/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils post-install: diff --git a/math/py-scikit-umfpack/Makefile b/math/py-scikit-umfpack/Makefile index f964eac86fdc..ee9e48d76bc5 100644 --- a/math/py-scikit-umfpack/Makefile +++ b/math/py-scikit-umfpack/Makefile @@ -23,7 +23,7 @@ LIB_DEPENDS= libamd.so:math/suitesparse-amd \ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils cython autoplist pytest # tests fail, see https://github.com/scikit-umfpack/scikit-umfpack/issues/77 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/math/py-scs/Makefile b/math/py-scs/Makefile index f6a3cc3ece9a..880ad52c2c45 100644 --- a/math/py-scs/Makefile +++ b/math/py-scs/Makefile @@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.13.2:science/py-scipy@${PY_FLAVOR} -USES= python:3.6+ blaslapack:openblas fortran # fortran is for openblas +USES= python blaslapack:openblas fortran # fortran is for openblas USE_PYTHON= distutils autoplist CONFIGURE_ENV= BLAS_LAPACK_LIBS="openblas" diff --git a/math/py-seaborn/Makefile b/math/py-seaborn/Makefile index 2070a43e5cad..bb9ef29b87e9 100644 --- a/math/py-seaborn/Makefile +++ b/math/py-seaborn/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}statsmodels>0:math/py-statsmodels@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/math/py-secp256k1/Makefile b/math/py-secp256k1/Makefile index 7103f7aa059f..75dbba665e7a 100644 --- a/math/py-secp256k1/Makefile +++ b/math/py-secp256k1/Makefile @@ -14,7 +14,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:3.6+ pkgconfig +USES= localbase python pkgconfig USE_PYTHON= autoplist distutils .include <bsd.port.mk> diff --git a/math/py-seriate/Makefile b/math/py-seriate/Makefile index ac287269cf4c..a11289668951 100644 --- a/math/py-seriate/Makefile +++ b/math/py-seriate/Makefile @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} -USES= python:3.5+ +USES= python USE_GITHUB= yes GH_ACCOUNT= src-d USE_PYTHON= distutils autoplist diff --git a/math/py-simhash/Makefile b/math/py-simhash/Makefile index ad55fad4b4bc..ab2df98a8eef 100644 --- a/math/py-simhash/Makefile +++ b/math/py-simhash/Makefile @@ -10,7 +10,7 @@ WWW= https://leons.im/posts/a-python-implementation-of-simhash-algorithm/ LICENSE= MIT -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-slepc4py/Makefile b/math/py-slepc4py/Makefile index 775e6fb329c3..07ca599296bc 100644 --- a/math/py-slepc4py/Makefile +++ b/math/py-slepc4py/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= libmpich.so:net/mpich \ libslepc.so:math/slepc RUN_DEPENDS= ${PYNUMPY} -USES= fortran python:3.6+ +USES= fortran python USE_PYTHON= distutils cython autoplist pytest MAKE_ENV= PETSC_DIR=${LOCALBASE} SLEPC_DIR=${LOCALBASE} diff --git a/math/py-snuggs/Makefile b/math/py-snuggs/Makefile index 482add36c737..f59d8cc633ef 100644 --- a/math/py-snuggs/Makefile +++ b/math/py-snuggs/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.6:devel/py-pyparsing@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-spectral/Makefile b/math/py-spectral/Makefile index 96f9b448d764..1c06b86d8b2d 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:3.6+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-spglm/Makefile b/math/py-spglm/Makefile index ec78944f9fd2..7d8273cab51d 100644 --- a/math/py-spglm/Makefile +++ b/math/py-spglm/Makefile @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpysal>=4.0.0:science/py-libpysal@${PY_FLA ${PYTHON_PKGNAMEPREFIX}scipy>=0.11:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}spreg>=1.0.4:math/py-spreg@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-spint/Makefile b/math/py-spint/Makefile index 3134076a1f01..f36c52406d18 100644 --- a/math/py-spint/Makefile +++ b/math/py-spint/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpysal>=4.0.0:science/py-libpysal@${PY_FLA ${PYTHON_PKGNAMEPREFIX}spglm>=1.0.6:math/py-spglm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}spreg>=0:math/py-spreg@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-splot/Makefile b/math/py-splot/Makefile index dd15e3503559..edd06b14cd90 100644 --- a/math/py-splot/Makefile +++ b/math/py-splot/Makefile @@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}esda>=0:science/py-esda@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}seaborn>=0:math/py-seaborn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}spreg>=0:math/py-spreg@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-spopt/Makefile b/math/py-spopt/Makefile index f3d7767e1a9e..7ea723c285e2 100644 --- a/math/py-spopt/Makefile +++ b/math/py-spopt/Makefile @@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geopandas>=0.10.0:graphics/py-geopandas@${PY ${PYTHON_PKGNAMEPREFIX}spaghetti>=0:science/py-spaghetti@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.27.0:misc/py-tqdm@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-spot/Makefile b/math/py-spot/Makefile index c101640ee57f..86f72aecad41 100644 --- a/math/py-spot/Makefile +++ b/math/py-spot/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libspot.so:math/spot -USES= compiler:c++17-lang gmake libtool python:3.4+ +USES= compiler:c++17-lang gmake libtool python GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --disable-static diff --git a/math/py-spreg/Makefile b/math/py-spreg/Makefile index 5c4437530928..60a4f63fe4d4 100644 --- a/math/py-spreg/Makefile +++ b/math/py-spreg/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpysal>=4.0.0:science/py-libpysal@${PY_FLA ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.22:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.11:science/py-scipy@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-spvcm/Makefile b/math/py-spvcm/Makefile index 750ee16b3262..4e3ae6978146 100644 --- a/math/py-spvcm/Makefile +++ b/math/py-spvcm/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpysal>=0:science/py-libpysal@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}seaborn>=0:math/py-seaborn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}spreg>=0:math/py-spreg@${PY_FLAVOR} -USES= python:3.7+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-ssm/Makefile b/math/py-ssm/Makefile index e5c006edfb5c..ecdbbcd10338 100644 --- a/math/py-ssm/Makefile +++ b/math/py-ssm/Makefile @@ -23,7 +23,7 @@ PY_DEPENDS= ${PYNUMPY} \ BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.7+ +USES= python USE_PYTHON= distutils cython concurrent autoplist post-install: diff --git a/math/py-statsmodels/Makefile b/math/py-statsmodels/Makefile index 7ac048cecc67..fc9907424951 100644 --- a/math/py-statsmodels/Makefile +++ b/math/py-statsmodels/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.17,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}patsy>=0.5.2:math/py-patsy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.3:science/py-scipy@${PY_FLAVOR} -USES= python:3.8+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent cython distutils SHEBANG_GLOB= *.py diff --git a/math/py-svgmath/Makefile b/math/py-svgmath/Makefile index 995b518be935..34ae0a620ebf 100644 --- a/math/py-svgmath/Makefile +++ b/math/py-svgmath/Makefile @@ -9,7 +9,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= MathML to SVG Converter in Python WWW= http://svgmath.sf.net -USES= dos2unix python:3.6+ +USES= dos2unix python USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/math/py-sym/Makefile b/math/py-sym/Makefile index 018d85738278..d7837bfe545a 100644 --- a/math/py-sym/Makefile +++ b/math/py-sym/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYNUMPY} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-symengine/Makefile b/math/py-symengine/Makefile index 6d4892ea2e7b..de547c027a83 100644 --- a/math/py-symengine/Makefile +++ b/math/py-symengine/Makefile @@ -22,7 +22,7 @@ LIB_DEPENDS= libarb.so:math/arb \ libsymengine.so:math/symengine TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} # see https://github.com/symengine/symengine.py/issues/416 -USES= cmake compiler:c++11-lang python:3.7+ +USES= cmake compiler:c++11-lang python USE_PYTHON= cython flavors pytest USE_GITHUB= yes diff --git a/math/py-sympy/Makefile b/math/py-sympy/Makefile index 6ed884005861..f2af7b120535 100644 --- a/math/py-sympy/Makefile +++ b/math/py-sympy/Makefile @@ -13,7 +13,7 @@ LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpmath>=0.19:math/py-mpmath@${PY_FLAVOR} -USES= python:3.8+ +USES= python USE_PYTHON= distutils concurrent autoplist pytest NO_ARCH= yes diff --git a/math/py-theano/Makefile b/math/py-theano/Makefile index 23737a07bbfc..46df66eca6d9 100644 --- a/math/py-theano/Makefile +++ b/math/py-theano/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.8.0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= concurrent distutils autoplist NO_ARCH= yes diff --git a/math/py-timple/Makefile b/math/py-timple/Makefile index c70d84bb5c8d..26d69757b689 100644 --- a/math/py-timple/Makefile +++ b/math/py-timple/Makefile @@ -14,7 +14,7 @@ LICENSE= MIT RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-triangle/Makefile b/math/py-triangle/Makefile index 4206e24c5e6f..05716f3006a0 100644 --- a/math/py-triangle/Makefile +++ b/math/py-triangle/Makefile @@ -11,7 +11,7 @@ WWW= https://rufat.be/triangle LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= compiler:c++11-lang python:3.6-3.9 +USES= compiler:c++11-lang python:3.8-3.9 USE_PYTHON= distutils autoplist diff --git a/math/py-umap-learn/Makefile b/math/py-umap-learn/Makefile index 7efd527e9ffc..d4f1dc770b40 100644 --- a/math/py-umap-learn/Makefile +++ b/math/py-umap-learn/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>=0.49:devel/py-numba@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=3.4.0:misc/py-tqdm@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist pytest NO_ARCH= yes diff --git a/math/py-uncertainties/Makefile b/math/py-uncertainties/Makefile index c61a9e1b0a8e..1d85910f0866 100644 --- a/math/py-uncertainties/Makefile +++ b/math/py-uncertainties/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYNUMPY} \ TEST_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/math/py-unyt/Makefile b/math/py-unyt/Makefile index df970dbca2b5..ebebc6084e76 100644 --- a/math/py-unyt/Makefile +++ b/math/py-unyt/Makefile @@ -16,7 +16,7 @@ PY_DEPENDS= ${PYNUMPY} \ BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.6+ +USES= python USE_PYTHON= distutils autoplist pytest NO_ARCH= yes diff --git a/math/py-vincenty/Makefile b/math/py-vincenty/Makefile index 9cce58531121..0f8f2739dc2c 100644 --- a/math/py-vincenty/Makefile +++ b/math/py-vincenty/Makefile @@ -10,7 +10,7 @@ WWW= https://github.com/maurycyp/vincenty LICENSE= UNLICENSE -USES= python:3.6+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/math/py-yt/Makefile b/math/py-yt/Makefile index 12a778d856cf..fef9b107c107 100644 --- a/math/py-yt/Makefile +++ b/math/py-yt/Makefile @@ -32,7 +32,7 @@ RUN_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}tqdm>=3.4.0:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unyt>=2.8.0:math/py-unyt@${PY_FLAVOR} -USES= dos2unix localbase python:3.8+ +USES= dos2unix localbase python USE_PYTHON= distutils cython autoplist concurrent post-patch: diff --git a/math/py-z3-solver/Makefile b/math/py-z3-solver/Makefile index 481dd9980574..d496b3e8c2db 100644 --- a/math/py-z3-solver/Makefile +++ b/math/py-z3-solver/Makefile @@ -16,7 +16,7 @@ BROKEN_riscv64= fails to configure, see https://github.com/Z3Prover/z3/issues/61 BUILD_DEPENDS= cmake:devel/cmake-core -USES= compiler:c++11-lang python:3.6+ +USES= compiler:c++11-lang python USE_PYTHON= distutils autoplist USE_GITHUB= yes diff --git a/math/rpcalc/Makefile b/math/rpcalc/Makefile index 3a955f6223a9..4181d54cbc3f 100644 --- a/math/rpcalc/Makefile +++ b/math/rpcalc/Makefile @@ -11,7 +11,7 @@ WWW= https://rpcalc.bellz.org/index.html LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/doc/LICENSE -USES= pyqt:5 python:3.4+ shebangfix +USES= pyqt:5 python shebangfix USE_PYQT= pyqt5 sip SHEBANG_FILES= source/rpcalc.py diff --git a/math/sage/Makefile b/math/sage/Makefile index fad7fdc2d117..8241da7a8081 100644 --- a/math/sage/Makefile +++ b/math/sage/Makefile @@ -338,7 +338,7 @@ RUN_DEPENDS= bash:shells/bash \ USES= autoreconf blaslapack:openblas compiler:c++11-lib fortran \ gettext gmake gnome iconv jpeg libtool localbase magick:6,build \ - ncurses ninja:build perl5 pkgconfig python:3.7+ readline shebangfix \ + ncurses ninja:build perl5 pkgconfig python readline shebangfix \ sqlite tex tk xorg USE_TEX= latex:build pdftex:build tex:build USE_XORG= x11 xext xscrnsaver diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile index dbb407f5feea..43d1ae076cdb 100644 --- a/math/vtk9/Makefile +++ b/math/vtk9/Makefile @@ -66,7 +66,7 @@ GROUPS_DESC= Groups $w_DESC= Enable $w group .endfor -PYTHON_USES= python:3.6+ +PYTHON_USES= python PYTHON_CMAKE_BOOL= VTK_WRAP_PYTHON PYTHON_CMAKE_ON= -DVTK_PYTHON_VERSION=${PYTHON_MAJOR_VER} -DPython3_EXECUTABLE=${PYTHON_CMD} PYTHON_VARS= SUB_FILES=PKG-INFO SUB_LIST=PORTVERSION=${PORTVERSION} |