diff --git a/math/py-docplex/Makefile b/math/py-docplex/Makefile index 61e7687619d8..fe1d198af704 100644 --- a/math/py-docplex/Makefile +++ b/math/py-docplex/Makefile @@ -1,21 +1,23 @@ PORTNAME= docplex -DISTVERSION= 2.23.222 +DISTVERSION= 2.28.240 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= IBM Decision Optimization CPLEX Modeling for Python WWW= https://www.ibm.com/cloud/decision-optimization-for-watson-studio LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= pep517 autoplist NO_ARCH= yes .include diff --git a/math/py-docplex/distinfo b/math/py-docplex/distinfo index 967a770d84b5..f109b03d7f70 100644 --- a/math/py-docplex/distinfo +++ b/math/py-docplex/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1659990447 -SHA256 (docplex-2.23.222.tar.gz) = 7395e97c41939288e0ce4f804c7092cf3874e33784549104281a7e94f7d2fb1e -SIZE (docplex-2.23.222.tar.gz) = 610785 +TIMESTAMP = 1733708005 +SHA256 (docplex-2.28.240.tar.gz) = c0de407e33f8709bb4cd91b6efeb96fd88bfecbdce2caec51afb79253bde6ff5 +SIZE (docplex-2.28.240.tar.gz) = 643369 diff --git a/math/py-docplex/files/patch-pyproject.toml b/math/py-docplex/files/patch-pyproject.toml new file mode 100644 index 000000000000..eddbfdfc534f --- /dev/null +++ b/math/py-docplex/files/patch-pyproject.toml @@ -0,0 +1,7 @@ +--- pyproject.toml.orig 2024-12-09 01:56:45 UTC ++++ pyproject.toml +@@ -1,3 +1,3 @@ + [build-system] +-requires = ["setuptools~=68.2.2"] ++requires = ["setuptools"] + build-backend = "setuptools.build_meta"