From bcb2c4fdab45fe833856b47cd59227c85f69a7ea Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Wed, 7 May 2025 20:37:17 +0200 Subject: [PATCH] math/py-Pyomo: Remove port Niche use case, not aligned with broad server application needs --- .portsignore | 1 + math/Makefile | 1 - math/py-Pyomo/Makefile | 38 -------------------------------------- math/py-Pyomo/distinfo | 3 --- math/py-Pyomo/pkg-descr | 22 ---------------------- 5 files changed, 1 insertion(+), 64 deletions(-) delete mode 100644 math/py-Pyomo/Makefile delete mode 100644 math/py-Pyomo/distinfo delete mode 100644 math/py-Pyomo/pkg-descr diff --git a/.portsignore b/.portsignore index 3bccc16bf2b1..95eae063f15b 100644 --- a/.portsignore +++ b/.portsignore @@ -5045,6 +5045,7 @@ math/py-PyMetis math/py-pyneqsys math/py-pynndescent math/py-pyodesys +math/py-Pyomo math/py-PySCIPOpt math/py-pystan math/py-pytensor diff --git a/math/Makefile b/math/Makefile index 132a8c1080c8..2b03bfc16213 100644 --- a/math/Makefile +++ b/math/Makefile @@ -220,7 +220,6 @@ SUBDIR += proxsuite SUBDIR += py-MutatorMath SUBDIR += py-PuLP - SUBDIR += py-Pyomo SUBDIR += py-altgraph SUBDIR += py-amply SUBDIR += py-awkward diff --git a/math/py-Pyomo/Makefile b/math/py-Pyomo/Makefile deleted file mode 100644 index 962376ec915a..000000000000 --- a/math/py-Pyomo/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -PORTNAME= Pyomo -DISTVERSION= 6.8.1 -PORTREVISION= 1 -CATEGORIES= math python -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= yuri@FreeBSD.org -COMMENT= Python Optimization Modeling Objects -WWW= https://github.com/Pyomo/pyomo \ - https://www.pyomo.org/ - -LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE.md - -LIB_DEPENDS= libCbc.so:math/cbc # this library is loaded dynamically -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ - glpsol:math/glpk -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-parallel>0:devel/py-pytest-parallel@${PY_FLAVOR} -TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}docplex>0:math/py-docplex@${PY_FLAVOR} \ - casadi>0:math/casadi \ - ipopt:math/ipopt - -USES= python -USE_PYTHON= distutils cython concurrent autoplist pytest # tests fail to run, see https://github.com/Pyomo/pyomo/issues/3424 - -TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} - -USE_GITHUB= yes -GH_PROJECT= pyomo - -NO_ARCH= yes - -BINARY_ALIAS= python=${PYTHON_CMD} # for tests - -.include diff --git a/math/py-Pyomo/distinfo b/math/py-Pyomo/distinfo deleted file mode 100644 index 8b48984df1c1..000000000000 --- a/math/py-Pyomo/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1731745977 -SHA256 (Pyomo-pyomo-6.8.1_GH0.tar.gz) = cd24e7de15e14ef12f75bd227b1f6af8c6f0c9499f04b837d70092236010904a -SIZE (Pyomo-pyomo-6.8.1_GH0.tar.gz) = 15043858 diff --git a/math/py-Pyomo/pkg-descr b/math/py-Pyomo/pkg-descr deleted file mode 100644 index 156584b35e7b..000000000000 --- a/math/py-Pyomo/pkg-descr +++ /dev/null @@ -1,22 +0,0 @@ -Pyomo is a Python-based open-source software package that supports a diverse -set of optimization capabilities for formulating and analyzing optimization -models. - -Modeling optimization applications is a core capability of Pyomo. Pyomo can be -used to define symbolic problems, create concrete problem instances, and solve -these instances with standard solvers. Thus, Pyomo provides a capability that is -commonly associated with algebraic modeling languages such as AMPL, AIMMS, and -GAMS, but Pyomo's modeling objects are embedded within a full-featured -high-level programming language with a rich set of supporting libraries. Pyomo -supports a wide range of problem types, including: -* Linear programming -* Quadratic programming -* Nonlinear programming -* Mixed-integer linear programming -* Mixed-integer quadratic programming -* Mixed-integer nonlinear programming -* Mixed-integer stochastic programming -* Generalized disjunctive programming -* Differential algebraic equations -* Bilevel programming -* Mathematical programming with equilibrium constraints