From nobody Thu Feb 24 17:54:21 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DF9DC19C814F; Thu, 24 Feb 2022 17:54:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K4LBj5zKkz3nRr; Thu, 24 Feb 2022 17:54:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645725261; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DU5hS1fKjIgJca0OmF/F2abG4rx7pHNSnrSeveNcsFY=; b=bQR7whnZSJZFUpd3BOOaJ/UD3RxNWLP9/9lmIwOkfmcFFY/js+IDUTorxnmzNMlHWChr79 zsDLFCW+bY3/H2WQw+27E50qDHWIpz9uLdAx267HrDhQl4hEwe5jbckdSjXeUH5Me45yAQ I11IDKPmf8OlSCqzWyI/gnh6OCNqI/AMKkY0W4GWYZKFkJ5Aimofv4fkahs5qxytwkC1db Es+vDpJYKSMWbYC2+RxWX6QJSVUEpcKoE1WvqbR6EI1yb8UlMG/CIUHnF11hCp/y5/O19Z cNIrSKHSltuynZax7Xbp0QtKZa4Kx4ZQU634LcZPAVqujJMonV5tdbt8feY8xQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AD64610BA2; Thu, 24 Feb 2022 17:54:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21OHsLUJ033727; Thu, 24 Feb 2022 17:54:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21OHsLEl033726; Thu, 24 Feb 2022 17:54:21 GMT (envelope-from git) Date: Thu, 24 Feb 2022 17:54:21 GMT Message-Id: <202202241754.21OHsLEl033726@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: a25970a7d379 - main - math/py-ipyopt: New port: Python interface to Ipopt List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a25970a7d37960273cf707c7f8b749848a28f18d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645725261; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DU5hS1fKjIgJca0OmF/F2abG4rx7pHNSnrSeveNcsFY=; b=IFyUnLWKm1knzNg19He836Yl4Kuo6RUqBqZcBGja4GPERtfJukBSHtRvLIDvc+vu8DFSKm vgPM2Vyk4NcMmeX5kmGFK1Enjwvn5ifsbtzi90jDlrw7IIqXpVV8rfv2aHRP5UjBU4mbad +IL8jH0BTId005G/jL0dsEuyQi1n+q8NrB0cO1Fxrff/c3hHiV/e5u/VDbMXLor5E6258V NRqm+/aGsPEJwESacVmvumuJd+IEgVWPiuRJqWBV6LM21ToKtsgghwrN/6PCQuVYrNsq/l fKE3oAgWOGYgJqJNCiNsZC52fG3uqywHMevPZOCpoNxsUjbYv9VLainzjNxnwA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645725261; a=rsa-sha256; cv=none; b=xi9Fcj7chmtK1+oX6QAd+rQLhqHxFHIpISgkImr0REzvEP7n/7JBUr5+Fjxmmuqt2cY+sh xyKQ5k//2t+9CnO0gl/cyV2CV6d5v1QBFBuSpT5ie+DmW9QaBM9+uB64X6m8t9BIIMqS+t KPa9oO1ISVqWAMQUCLJ6btTumrw+qyD8Z3FA3JpmiLEfyM4LlqBZ0aKsNvVVSImO2t/DLF MThrWDl7AseSeudfmrTkl3khVi9+ceqAA/Hy73Jn2KaOf3PFulQc7xzP1JQ5RRANX6aw8w LEroumw4r+SmhGqgCLL8XAejSFP9ibO+XXYsXakHIsYk2HiKCeFod7uv9oDcfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a25970a7d37960273cf707c7f8b749848a28f18d commit a25970a7d37960273cf707c7f8b749848a28f18d Author: Yuri Victorovich AuthorDate: 2022-02-24 17:53:43 +0000 Commit: Yuri Victorovich CommitDate: 2022-02-24 17:54:19 +0000 math/py-ipyopt: New port: Python interface to Ipopt --- math/Makefile | 1 + math/py-ipyopt/Makefile | 31 +++++++++++++++++++++++++++++++ math/py-ipyopt/distinfo | 3 +++ math/py-ipyopt/pkg-descr | 3 +++ 4 files changed, 38 insertions(+) diff --git a/math/Makefile b/math/Makefile index 72a5e31e9b18..70451d05c518 100644 --- a/math/Makefile +++ b/math/Makefile @@ -850,6 +850,7 @@ SUBDIR += py-iminuit SUBDIR += py-intspan SUBDIR += py-iohexperimenter + SUBDIR += py-ipyopt SUBDIR += py-jax SUBDIR += py-keras SUBDIR += py-keras-applications diff --git a/math/py-ipyopt/Makefile b/math/py-ipyopt/Makefile new file mode 100644 index 000000000000..ee8a247a3a91 --- /dev/null +++ b/math/py-ipyopt/Makefile @@ -0,0 +1,31 @@ +PORTNAME= ipyopt +DISTVERSION= 0.12.2 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python interface to Ipopt + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +LIB_DEPENDS= libipopt.so:math/ipopt +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} + +USES= compiler:c++17-lang pkgconfig python:3.6+ +USE_PYTHON= distutils autoplist + +CXXFLAGS+= $(pkg-config --cflags ipopt) + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cpython-*.so + +do-test: # tests fail: https://gitlab.com/g-braeunlich/ipyopt/-/issues/6 + @cd ${WRKSRC} && pytest + +.include diff --git a/math/py-ipyopt/distinfo b/math/py-ipyopt/distinfo new file mode 100644 index 000000000000..beb76c6a4113 --- /dev/null +++ b/math/py-ipyopt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1645723676 +SHA256 (ipyopt-0.12.2.tar.gz) = bc92d0c83713fb81374aef6425db8af182c088eeae12233a274e56ee0bd2305c +SIZE (ipyopt-0.12.2.tar.gz) = 35177 diff --git a/math/py-ipyopt/pkg-descr b/math/py-ipyopt/pkg-descr new file mode 100644 index 000000000000..0aaaad22f440 --- /dev/null +++ b/math/py-ipyopt/pkg-descr @@ -0,0 +1,3 @@ +Python interface for the interior point optimizer COIN-OR IPOpt. + +WWW: https://gitlab.com/g-braeunlich/ipyopt