diff --git a/math/py-cvxopt/Makefile b/math/py-cvxopt/Makefile index fe709a7af7b2..355fc754a5c1 100644 --- a/math/py-cvxopt/Makefile +++ b/math/py-cvxopt/Makefile @@ -1,56 +1,59 @@ PORTNAME= cvxopt -DISTVERSION= 1.3.0 -PORTREVISION= 3 +DISTVERSION= 1.3.1 CATEGORIES= math python +MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python software for convex optimization WWW= https://github.com/cvxopt/cvxopt LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libblas.so:math/blas \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ liblapack.so:math/lapack \ libsuitesparseconfig.so:math/suitesparse-config \ libumfpack.so:math/suitesparse-umfpack TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python:3.6+ localbase:ldflags cpe -USE_GITHUB= yes -USE_PYTHON= distutils autoplist +#USE_GITHUB= yes +USE_PYTHON= pep517 autoplist CPE_VENDOR= cvxopt_project CFLAGS+= -I${LOCALBASE}/include/suitesparse OPTIONS_DEFINE= GSL FFTW GLPK DSDP OPTIONS_DEFAULT= GSL FFTW GLPK DSDP GSL_DESC= Build with GSL, the GNU scientific library GSL_MAKE_ENV= CVXOPT_BUILD_GSL=1 GSL_LIB_DEPENDS= libgsl.so:math/gsl FFTW_MAKE_ENV= CVXOPT_BUILD_FFTW=1 FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GLPK_DESC= Build with GLPK, the linear programming solver GLPK_MAKE_ENV= CVXOPT_BUILD_GLPK=1 GLPK_LIB_DEPENDS= libglpk.so:math/glpk DSDP_DESC= Build with DSDP, the interior-point method DSDP_MAKE_ENV= CVXOPT_BUILD_DSDP=1 DSDP_CFLAGS= -I${LOCALBASE}/include/dsdp DSDP_LIB_DEPENDS= libdsdp.so:math/dsdp post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cvxopt/*.so do-test: install @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest .include diff --git a/math/py-cvxopt/distinfo b/math/py-cvxopt/distinfo index 9cc1a34cefad..f0e3c782bfd7 100644 --- a/math/py-cvxopt/distinfo +++ b/math/py-cvxopt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1646861809 -SHA256 (cvxopt-cvxopt-1.3.0_GH0.tar.gz) = 7aac94a116b7142a5f362e567c4b6c3b7c67b04b4a6a2a3c3b90b4c9f0ac74e1 -SIZE (cvxopt-cvxopt-1.3.0_GH0.tar.gz) = 4120085 +TIMESTAMP = 1687054736 +SHA256 (cvxopt-1.3.1.tar.gz) = 8d567981cbfa2a4ba1667b3e6f73cb941cf1c6992bf1438911035963294aa498 +SIZE (cvxopt-1.3.1.tar.gz) = 3968630