aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-08-08 20:35:17 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-08-08 22:17:01 +0000
commit12c3011c6779da2068eb648f513ca79ce836bfa8 (patch)
treee7b133d294f2b48600d86e5b701295c19e1dbfc8
parent9cc5069bdcd1f3da51f5a63dbb31be7ca5ab92e4 (diff)
downloadports-12c3011c6779da2068eb648f513ca79ce836bfa8.tar.gz
ports-12c3011c6779da2068eb648f513ca79ce836bfa8.zip
math/py-docplex: New port: IBM Decision Optimization CPLEX Modeling for Python
-rw-r--r--math/Makefile1
-rw-r--r--math/py-docplex/Makefile20
-rw-r--r--math/py-docplex/distinfo3
-rw-r--r--math/py-docplex/pkg-descr7
4 files changed, 31 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 8920297d9a16..9afe7013d7ac 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -855,6 +855,7 @@
SUBDIR += py-cypari2
SUBDIR += py-deap
SUBDIR += py-dionysus
+ SUBDIR += py-docplex
SUBDIR += py-ducc0
SUBDIR += py-ecos
SUBDIR += py-faiss
diff --git a/math/py-docplex/Makefile b/math/py-docplex/Makefile
new file mode 100644
index 000000000000..51645fa9894c
--- /dev/null
+++ b/math/py-docplex/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= docplex
+DISTVERSION= 2.23.222
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= IBM Decision Optimization CPLEX Modeling for Python
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-docplex/distinfo b/math/py-docplex/distinfo
new file mode 100644
index 000000000000..967a770d84b5
--- /dev/null
+++ b/math/py-docplex/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1659990447
+SHA256 (docplex-2.23.222.tar.gz) = 7395e97c41939288e0ce4f804c7092cf3874e33784549104281a7e94f7d2fb1e
+SIZE (docplex-2.23.222.tar.gz) = 610785
diff --git a/math/py-docplex/pkg-descr b/math/py-docplex/pkg-descr
new file mode 100644
index 000000000000..6877bccf41c6
--- /dev/null
+++ b/math/py-docplex/pkg-descr
@@ -0,0 +1,7 @@
+docplex is an IBM Decision Optimization CPLEX Modeling for Python.
+
+With this library, you can quickly and easily add the power of optimization to
+your application. You need IBM ILOG CPLEX Optimization Studio to solve the
+models.
+
+WWW: https://www.ibm.com/cloud/decision-optimization-for-watson-studio