math/py-Pyomo: Remove port

Niche use case, not aligned with broad server application needs
This commit is contained in:
2025-05-07 20:37:17 +02:00
parent efb8d3c6f9
commit bcb2c4fdab
5 changed files with 1 additions and 64 deletions
+1
View File
@@ -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
-1
View File
@@ -220,7 +220,6 @@
SUBDIR += proxsuite
SUBDIR += py-MutatorMath
SUBDIR += py-PuLP
SUBDIR += py-Pyomo
SUBDIR += py-altgraph
SUBDIR += py-amply
SUBDIR += py-awkward
-38
View File
@@ -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 <bsd.port.mk>
-3
View File
@@ -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
-22
View File
@@ -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