public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ipopt/
@ 2019-04-24 21:13 Andreas Sturmlechner
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Sturmlechner @ 2019-04-24 21:13 UTC (permalink / raw
  To: gentoo-commits

commit:     cd8cc7d5f3ab34d627660d8841cb1a48b8558b35
Author:     Gerhard Bräunlich <g.braeunlich <AT> disroot <DOT> org>
AuthorDate: Mon Oct 29 10:10:48 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Apr 24 21:13:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd8cc7d5

sci-libs/ipopt: Version bump to 3.12.12, EAPI 5 -> 6

Signed-off-by: Gerhard Bräunlich <g.braeunlich <AT> disroot.org>

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/10293
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/ipopt/Manifest             |  1 +
 sci-libs/ipopt/ipopt-3.12.12.ebuild | 92 +++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/sci-libs/ipopt/Manifest b/sci-libs/ipopt/Manifest
index 0def53e2908..bc13ac4fb94 100644
--- a/sci-libs/ipopt/Manifest
+++ b/sci-libs/ipopt/Manifest
@@ -1,2 +1,3 @@
 DIST Ipopt-3.11.7.tgz 4749511 BLAKE2B c344634e427a6603544e50d661cafcf6004b4192a3912453dee96cfa143ca5f290f0efc39f46e983dcba6fe5b8a0becb2fa75bd6cc6f27be5c8ea8dc05f1ec4c SHA512 a9edd33b59c9744dc4e09d709519be1fc3d014cc4f50254402784aa8035d21617323f2879c430245886f2a13165cc81d26779331dc1601f0edfc406953dca56f
 DIST Ipopt-3.11.8.tgz 4749758 BLAKE2B c5ee5d3f01f1e8b4b6a1cd7606e2ad1a24c09fb0a8d8ed93fda7af61d543ac4f4579d7bb8817607d916223d9214693e1156f908cef1233a75df8759a1099b5d2 SHA512 1f60ea769dd7305348af3a5d4ed56938f04e59c36fb7a3fa0b808e4788dccee4711f82c3767e2aae87d21618d2a840d0bb22491c21c40bc2f9ebdf4b3a01aeec
+DIST Ipopt-3.12.12.tgz 4530034 BLAKE2B 8a8e24e4e5d8ad5bc1fcfa2de525e1e39c88a4c6dd77b51c0549249f517b3d6a1279e355a7cb606ebd8e606551031b653b78cd4d1cb51dd369e051ffa010011f SHA512 c543695feaa39a69b01e0025ebcd8a8772deb369ea1072f17da4ba34c1b522d322959067f3a6cfc40446e00c2e6dd2d6704a55623aba5d61dff44333727368cb

diff --git a/sci-libs/ipopt/ipopt-3.12.12.ebuild b/sci-libs/ipopt/ipopt-3.12.12.ebuild
new file mode 100644
index 00000000000..7aba7e67254
--- /dev/null
+++ b/sci-libs/ipopt/ipopt-3.12.12.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED="mumps"
+
+inherit autotools fortran-2 toolchain-funcs
+
+MY_PN=${PN^}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Interior-Point Optimizer for large-scale nonlinear optimization"
+HOMEPAGE="https://projects.coin-or.org/Ipopt/"
+SRC_URI="http://www.coin-or.org/download/source/${MY_PN}/${MY_P}.tgz"
+
+LICENSE="EPL-1.0 hsl? ( HSL )"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples hsl lapack mpi mumps static-libs test"
+RESTRICT="test" # Fails to compile
+
+RDEPEND="
+	virtual/blas
+	hsl? ( sci-libs/coinhsl:0= )
+	lapack? ( virtual/lapack )
+	mpi? ( virtual/mpi )
+	mumps? ( sci-libs/mumps:0=[mpi=] )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen[dot] )
+	test? ( sci-libs/coinor-sample sci-libs/mumps )"
+
+S="${WORKDIR}/${MY_PN}-${PV}/${MY_PN}"
+
+src_prepare() {
+	if use mpi ; then
+		export CXX=mpicxx FC=mpif77 F77=mpif77 CC=mpicc
+	fi
+	default
+}
+
+src_configure() {
+	# needed for --with-coin-instdir
+	dodir /usr
+	local myeconfargs=(
+		--enable-dependency-linking
+		--with-blas-lib="$($(tc-getPKG_CONFIG) --libs blas)"
+		--with-coin-instdir="${ED%/}"/usr
+		$(use_with doc dot)
+	)
+
+	if use lapack; then
+		myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" )
+	else
+		myeconfargs+=( --without-lapack )
+	fi
+	if use mumps; then
+		myeconfargs+=(
+			--with-mumps-incdir="${EPREFIX}"/usr/include$(usex mpi '' '/mpiseq')
+			--with-mumps-lib="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" )
+	else
+		myeconfargs+=( --without-mumps )
+	fi
+	if use hsl; then
+		myeconfargs+=(
+			--with-hsl-incdir="${EPREFIX}"/usr/include
+			--with-hsl-lib="$($(tc-getPKG_CONFIG) --libs coinhsl)" )
+	else
+		myeconfargs+=( --without-hsl )
+	fi
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake all
+	use doc && emake doxydoc
+}
+
+src_test() {
+	emake test
+}
+
+src_install() {
+	default
+	local HTML_DOCS DOCS
+	use doc && HTML_DOCS=("${S}/doxydoc/html/.")
+	use examples && DOCS+=( examples )
+	einstalldocs
+
+	rm -r "${ED%/}"/usr/share/coin || die
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ipopt/
@ 2022-01-11 14:37 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2022-01-11 14:37 UTC (permalink / raw
  To: gentoo-commits

commit:     b918eb1a1f6e50a4a81d1400416486e2e9fd5ea7
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 11 14:37:27 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 11 14:37:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b918eb1a

sci-libs/ipopt: add version 3.14.4

Closes: https://bugs.gentoo.org/804130
Bug: https://bugs.gentoo.org/710382
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-libs/ipopt/Manifest            |  1 +
 sci-libs/ipopt/ipopt-3.14.4.ebuild | 76 ++++++++++++++++++++++++++++++++++++++
 sci-libs/ipopt/metadata.xml        | 26 +++++++------
 3 files changed, 92 insertions(+), 11 deletions(-)

diff --git a/sci-libs/ipopt/Manifest b/sci-libs/ipopt/Manifest
index 88b452baabea..8004e88e371b 100644
--- a/sci-libs/ipopt/Manifest
+++ b/sci-libs/ipopt/Manifest
@@ -1 +1,2 @@
 DIST Ipopt-3.12.12.tgz 4530034 BLAKE2B 8a8e24e4e5d8ad5bc1fcfa2de525e1e39c88a4c6dd77b51c0549249f517b3d6a1279e355a7cb606ebd8e606551031b653b78cd4d1cb51dd369e051ffa010011f SHA512 c543695feaa39a69b01e0025ebcd8a8772deb369ea1072f17da4ba34c1b522d322959067f3a6cfc40446e00c2e6dd2d6704a55623aba5d61dff44333727368cb
+DIST ipopt-3.14.4.tar.gz 1843885 BLAKE2B 83f6a983db282ced6e52237ff326c860a92df2c92dbd53db7581110d3003fd7b557a68453c74e48d780832d2c9c55d9eb4ea54e68f504c161952fce6bb81caaf SHA512 a27a08ae24c94da96efcfa236034cec79d79111d7dc9c028d808b412d5abb21495a0011f075a87db65b91ba69e191653552e7f99fe8da88c3b580d971eac3652

diff --git a/sci-libs/ipopt/ipopt-3.14.4.ebuild b/sci-libs/ipopt/ipopt-3.14.4.ebuild
new file mode 100644
index 000000000000..6a2bac46ff03
--- /dev/null
+++ b/sci-libs/ipopt/ipopt-3.14.4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED="mumps"
+DOCS_BUILDER="doxygen"
+DOCS_DIR="doc"
+DOCS_DEPEND="media-gfx/graphviz"
+
+inherit docs fortran-2 toolchain-funcs
+
+DESCRIPTION="Interior-Point Optimizer for large-scale nonlinear optimization"
+HOMEPAGE="https://github.com/coin-or/Ipopt"
+SRC_URI="https://github.com/coin-or/Ipopt/archive/refs/tags/releases/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/Ipopt-releases-${PV}"
+
+LICENSE="EPL-1.0 hsl? ( HSL )"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="hsl +lapack mpi mumps static-libs test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	virtual/blas
+	hsl? ( sci-libs/coinhsl:0= )
+	lapack? ( virtual/lapack )
+	mpi? ( virtual/mpi )
+	mumps? ( sci-libs/mumps:0=[mpi=] )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	test? ( sci-libs/coinor-sample sci-libs/mumps )"
+
+src_prepare() {
+	if use mpi ; then
+		export CXX=mpicxx FC=mpif77 F77=mpif77 CC=mpicc
+	fi
+	default
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_with doc dot)
+	)
+
+	if use lapack; then
+		myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" )
+	else
+		myeconfargs+=( --without-lapack )
+	fi
+	if use mumps; then
+		myeconfargs+=(
+			--with-mumps-incdir="${EPREFIX}"/usr/include$(usex mpi '' '/mpiseq')
+			--with-mumps-lib="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" )
+	else
+		myeconfargs+=( --without-mumps )
+	fi
+	if use hsl; then
+		myeconfargs+=(
+			--with-hsl-incdir="${EPREFIX}"/usr/include
+			--with-hsl-lib="$($(tc-getPKG_CONFIG) --libs coinhsl)" )
+	else
+		myeconfargs+=( --without-hsl )
+	fi
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	default
+	docs_compile
+}
+
+src_install() {
+	default
+	dodoc -r examples
+}

diff --git a/sci-libs/ipopt/metadata.xml b/sci-libs/ipopt/metadata.xml
index 465f5eae75b3..f5b474167afc 100644
--- a/sci-libs/ipopt/metadata.xml
+++ b/sci-libs/ipopt/metadata.xml
@@ -2,20 +2,24 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 <maintainer type="project">
-  <email>sci@gentoo.org</email>
-  <name>Gentoo Science Project</name>
+	<email>sci@gentoo.org</email>
+	<name>Gentoo Science Project</name>
 </maintainer>
 <longdescription lang="en">
-  Ipopt is a solver for large-scale nonlinear continuous
-  optimization. It can be used from modeling environments, such as
-  AMPL, GAMS, or Matlab, and it is also available as a callable library with
-  interfaces to C++, C, and Fortran. Ipopt uses an interior point
-  method, together with a filter linear search procedure. Ipopt is
-  part of the larger COIN-OR initiative (Computational Infrastructure
-  for Operations Research).
+	Ipopt is a solver for large-scale nonlinear continuous
+	optimization. It can be used from modeling environments, such as
+	AMPL, GAMS, or Matlab, and it is also available as a callable library with
+	interfaces to C++, C, and Fortran. Ipopt uses an interior point
+	method, together with a filter linear search procedure. Ipopt is
+	part of the larger COIN-OR initiative (Computational Infrastructure
+	for Operations Research).
 </longdescription>
 <use>
-  <flag name="hsl">hsl</flag>
-  <flag name="mumps">Enable <pkg>sci-libs/mumps</pkg> support</flag>
+	<flag name="hsl">hsl</flag>
+	<flag name="mumps">Enable <pkg>sci-libs/mumps</pkg> support</flag>
 </use>
+<upstream>
+	<bugs-to>https://github.com/coin-or/Ipopt/issues</bugs-to>
+	<remote-id type="github">coin-or/Ipopt</remote-id>
+</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ipopt/
@ 2022-05-07 20:22 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-05-07 20:22 UTC (permalink / raw
  To: gentoo-commits

commit:     7146c3276dcc8eb2cafe22fe7060c63d6088673f
Author:     Ørjan Malde <red <AT> foxi <DOT> me>
AuthorDate: Sat May  7 20:21:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May  7 20:22:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7146c327

sci-libs/ipopt: fix build with slibtool

Closes: https://bugs.gentoo.org/800899
Signed-off-by: Ørjan Malde <red <AT> foxi.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/ipopt/ipopt-3.14.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/ipopt/ipopt-3.14.4.ebuild b/sci-libs/ipopt/ipopt-3.14.4.ebuild
index 6a2bac46ff03..44a78114fdfa 100644
--- a/sci-libs/ipopt/ipopt-3.14.4.ebuild
+++ b/sci-libs/ipopt/ipopt-3.14.4.ebuild
@@ -44,7 +44,7 @@ src_configure() {
 	)
 
 	if use lapack; then
-		myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" )
+		myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs blas lapack)" )
 	else
 		myeconfargs+=( --without-lapack )
 	fi


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ipopt/
@ 2022-08-30 16:43 Andreas Sturmlechner
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Sturmlechner @ 2022-08-30 16:43 UTC (permalink / raw
  To: gentoo-commits

commit:     c97304c8e3c9861d92e82b1aa9d0e4f64bc838e1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 30 16:41:50 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Aug 30 16:43:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c97304c8

sci-libs/ipopt: drop 3.12.12

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/ipopt/Manifest             |  1 -
 sci-libs/ipopt/ipopt-3.12.12.ebuild | 92 -------------------------------------
 2 files changed, 93 deletions(-)

diff --git a/sci-libs/ipopt/Manifest b/sci-libs/ipopt/Manifest
index 8004e88e371b..2b5d26909c54 100644
--- a/sci-libs/ipopt/Manifest
+++ b/sci-libs/ipopt/Manifest
@@ -1,2 +1 @@
-DIST Ipopt-3.12.12.tgz 4530034 BLAKE2B 8a8e24e4e5d8ad5bc1fcfa2de525e1e39c88a4c6dd77b51c0549249f517b3d6a1279e355a7cb606ebd8e606551031b653b78cd4d1cb51dd369e051ffa010011f SHA512 c543695feaa39a69b01e0025ebcd8a8772deb369ea1072f17da4ba34c1b522d322959067f3a6cfc40446e00c2e6dd2d6704a55623aba5d61dff44333727368cb
 DIST ipopt-3.14.4.tar.gz 1843885 BLAKE2B 83f6a983db282ced6e52237ff326c860a92df2c92dbd53db7581110d3003fd7b557a68453c74e48d780832d2c9c55d9eb4ea54e68f504c161952fce6bb81caaf SHA512 a27a08ae24c94da96efcfa236034cec79d79111d7dc9c028d808b412d5abb21495a0011f075a87db65b91ba69e191653552e7f99fe8da88c3b580d971eac3652

diff --git a/sci-libs/ipopt/ipopt-3.12.12.ebuild b/sci-libs/ipopt/ipopt-3.12.12.ebuild
deleted file mode 100644
index c546084ce831..000000000000
--- a/sci-libs/ipopt/ipopt-3.12.12.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED="mumps"
-
-inherit fortran-2 toolchain-funcs
-
-MY_PN=${PN^}
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Interior-Point Optimizer for large-scale nonlinear optimization"
-HOMEPAGE="https://projects.coin-or.org/Ipopt/"
-SRC_URI="http://www.coin-or.org/download/source/${MY_PN}/${MY_P}.tgz"
-
-LICENSE="EPL-1.0 hsl? ( HSL )"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples hsl lapack mpi mumps static-libs test"
-RESTRICT="test" # Fails to compile
-
-RDEPEND="
-	virtual/blas
-	hsl? ( sci-libs/coinhsl:0= )
-	lapack? ( virtual/lapack )
-	mpi? ( virtual/mpi )
-	mumps? ( sci-libs/mumps:0=[mpi=] )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? ( app-doc/doxygen[dot] )
-	test? ( sci-libs/coinor-sample sci-libs/mumps )"
-
-S="${WORKDIR}/${MY_PN}-${PV}/${MY_PN}"
-
-src_prepare() {
-	if use mpi ; then
-		export CXX=mpicxx FC=mpif77 F77=mpif77 CC=mpicc
-	fi
-	default
-}
-
-src_configure() {
-	# needed for --with-coin-instdir
-	dodir /usr
-	local myeconfargs=(
-		--enable-dependency-linking
-		--with-blas-lib="$($(tc-getPKG_CONFIG) --libs blas)"
-		--with-coin-instdir="${ED%/}"/usr
-		$(use_with doc dot)
-	)
-
-	if use lapack; then
-		myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" )
-	else
-		myeconfargs+=( --without-lapack )
-	fi
-	if use mumps; then
-		myeconfargs+=(
-			--with-mumps-incdir="${EPREFIX}"/usr/include$(usex mpi '' '/mpiseq')
-			--with-mumps-lib="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" )
-	else
-		myeconfargs+=( --without-mumps )
-	fi
-	if use hsl; then
-		myeconfargs+=(
-			--with-hsl-incdir="${EPREFIX}"/usr/include
-			--with-hsl-lib="$($(tc-getPKG_CONFIG) --libs coinhsl)" )
-	else
-		myeconfargs+=( --without-hsl )
-	fi
-	econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-	emake all
-	use doc && emake doxydoc
-}
-
-src_test() {
-	emake test
-}
-
-src_install() {
-	default
-	local HTML_DOCS DOCS
-	use doc && HTML_DOCS=("${S}/doxydoc/html/.")
-	use examples && DOCS+=( examples )
-	einstalldocs
-
-	rm -r "${ED%/}"/usr/share/coin || die
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ipopt/
@ 2024-10-14  7:21 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2024-10-14  7:21 UTC (permalink / raw
  To: gentoo-commits

commit:     c513a4f3013bd8fe45c5cfcbd42e238e455b5993
Author:     Andrew Udvare <audvare <AT> gmail <DOT> com>
AuthorDate: Wed Feb 14 03:28:46 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 07:19:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c513a4f3

sci-libs/ipopt: add USE +asl to build ipopt binary

This makes the `sci-libs/ipopt` build the `ipopt` binary by default. Currently this is not supported
because there is no ASL library. Using the ThirdParty-ASL repo is necessary to ensure a pkg-config
file is installed to be detected by ipopt configure.

HSL support is removed due to treeclean of sci-libs/coinhsl.

Signed-off-by: Andrew Udvare <audvare <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../{ipopt-3.14.4.ebuild => ipopt-3.14.4-r1.ebuild}     | 17 ++++++-----------
 sci-libs/ipopt/metadata.xml                             |  2 +-
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/sci-libs/ipopt/ipopt-3.14.4.ebuild b/sci-libs/ipopt/ipopt-3.14.4-r1.ebuild
similarity index 81%
rename from sci-libs/ipopt/ipopt-3.14.4.ebuild
rename to sci-libs/ipopt/ipopt-3.14.4-r1.ebuild
index 44a78114fdfa..9005696f3cee 100644
--- a/sci-libs/ipopt/ipopt-3.14.4.ebuild
+++ b/sci-libs/ipopt/ipopt-3.14.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,15 +15,15 @@ HOMEPAGE="https://github.com/coin-or/Ipopt"
 SRC_URI="https://github.com/coin-or/Ipopt/archive/refs/tags/releases/${PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/Ipopt-releases-${PV}"
 
-LICENSE="EPL-1.0 hsl? ( HSL )"
+LICENSE="EPL-1.0"
 SLOT="0/1"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="hsl +lapack mpi mumps static-libs test"
+IUSE="+asl +lapack mpi mumps static-libs test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
 	virtual/blas
-	hsl? ( sci-libs/coinhsl:0= )
+	asl? ( sci-libs/coinasl:0= )
 	lapack? ( virtual/lapack )
 	mpi? ( virtual/mpi )
 	mumps? ( sci-libs/mumps:0=[mpi=] )"
@@ -41,6 +41,8 @@ src_prepare() {
 src_configure() {
 	local myeconfargs=(
 		$(use_with doc dot)
+		$(use_with asl)
+		--without-hsl
 	)
 
 	if use lapack; then
@@ -55,13 +57,6 @@ src_configure() {
 	else
 		myeconfargs+=( --without-mumps )
 	fi
-	if use hsl; then
-		myeconfargs+=(
-			--with-hsl-incdir="${EPREFIX}"/usr/include
-			--with-hsl-lib="$($(tc-getPKG_CONFIG) --libs coinhsl)" )
-	else
-		myeconfargs+=( --without-hsl )
-	fi
 	econf "${myeconfargs[@]}"
 }
 

diff --git a/sci-libs/ipopt/metadata.xml b/sci-libs/ipopt/metadata.xml
index f5b474167afc..1b9661483cd4 100644
--- a/sci-libs/ipopt/metadata.xml
+++ b/sci-libs/ipopt/metadata.xml
@@ -15,7 +15,7 @@
 	for Operations Research).
 </longdescription>
 <use>
-	<flag name="hsl">hsl</flag>
+	<flag name="asl">AMPL Solver Library support and build the 'ipopt' binary</flag>
 	<flag name="mumps">Enable <pkg>sci-libs/mumps</pkg> support</flag>
 </use>
 <upstream>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-14  7:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-24 21:13 [gentoo-commits] repo/gentoo:master commit in: sci-libs/ipopt/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2022-01-11 14:37 Andrew Ammerlaan
2022-05-07 20:22 Sam James
2022-08-30 16:43 Andreas Sturmlechner
2024-10-14  7:21 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox