git: 12c3011c6779 - main - math/py-docplex: New port: IBM Decision Optimization CPLEX Modeling for Python

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 08 Aug 2022 22:17:09 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=12c3011c6779da2068eb648f513ca79ce836bfa8

commit 12c3011c6779da2068eb648f513ca79ce836bfa8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-08 20:35:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-08 22:17:01 +0000

    math/py-docplex: New port: IBM Decision Optimization CPLEX Modeling for Python
---
 math/Makefile             |  1 +
 math/py-docplex/Makefile  | 20 ++++++++++++++++++++
 math/py-docplex/distinfo  |  3 +++
 math/py-docplex/pkg-descr |  7 +++++++
 4 files changed, 31 insertions(+)

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