* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2016-12-20 16:52 Tobias Klausmann
0 siblings, 0 replies; 32+ messages in thread
From: Tobias Klausmann @ 2016-12-20 16:52 UTC (permalink / raw
To: gentoo-commits
commit: c9a84c7cf4e05cf4dd5931db3114da0fb48926a0
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 16:51:22 2016 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 16:52:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a84c7c
sci-libs/nlopt-2.4.2-r1: stable on amd64
Gentoo-Bug: 593568
sci-libs/nlopt/nlopt-2.4.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
index 97662c0..f2e4af6 100644
--- a/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://ab-initio.mit.edu/nlopt/"
SRC_URI="${HOMEPAGE}/${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python static-libs"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2017-04-20 16:41 David Seifert
0 siblings, 0 replies; 32+ messages in thread
From: David Seifert @ 2017-04-20 16:41 UTC (permalink / raw
To: gentoo-commits
commit: 7155ba88514834f90a5fd981b1eb51fecbadcfc0
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 15:43:44 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 16:38:49 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7155ba88
sci-libs/nlopt: [QA] Add missing python metadata variables
Package-Manager: Portage-2.3.5, Repoman-2.3.2
sci-libs/nlopt/nlopt-2.4.2-r1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
index 2dee716055a..8562dd322d0 100644
--- a/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
@@ -17,10 +17,14 @@ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python static-libs"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
DEPEND="
guile? ( dev-scheme/guile:* )
octave? ( sci-mathematics/octave )
- python? ( dev-python/numpy[${PYTHON_USEDEP}] )"
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )"
RDEPEND="${DEPEND}"
PATCHES=(
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-01-16 7:03 Michał Górny
0 siblings, 0 replies; 32+ messages in thread
From: Michał Górny @ 2020-01-16 7:03 UTC (permalink / raw
To: gentoo-commits
commit: e153a0cbbcaa93370fed8807b03f60e84f6ed6e6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 06:50:10 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 07:02:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e153a0cb
sci-libs/nlopt: Permit numpy-python2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.4.2-r1.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
index ff049980545..5a937cd80ed 100644
--- a/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -23,7 +23,10 @@ DEPEND="
octave? ( sci-mathematics/octave )
python? (
${PYTHON_DEPS}
- dev-python/numpy[${PYTHON_USEDEP}]
+ || (
+ dev-python/numpy-python2[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
)"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-01-22 21:50 Michał Górny
0 siblings, 0 replies; 32+ messages in thread
From: Michał Górny @ 2020-01-22 21:50 UTC (permalink / raw
To: gentoo-commits
commit: 8d550dda5b53bfb97a17965d0797381be6450999
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 21:42:40 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 21:49:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d550dda
sci-libs/nlopt: Revbump post dep change
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/nlopt/{nlopt-2.4.2-r1.ebuild => nlopt-2.4.2-r2.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.4.2-r2.ebuild
similarity index 100%
rename from sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
rename to sci-libs/nlopt/nlopt-2.4.2-r2.ebuild
^ permalink raw reply [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-06-21 4:54 Mark Wright
0 siblings, 0 replies; 32+ messages in thread
From: Mark Wright @ 2020-06-21 4:54 UTC (permalink / raw
To: gentoo-commits
commit: 1c975626cefbea18e1d2e1c1c1bfbedc662b1cda
Author: Mark Wright <gienah <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 04:54:05 2020 +0000
Commit: Mark Wright <gienah <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 04:54:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c975626
sci-libs/nlopt: Bump to 2.6.2
Thanks to Marian Kyral for starting work on the ebuild bump.
Closes: https://bugs.gentoo.org/724640
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Mark Wright <gienah <AT> gentoo.org>
sci-libs/nlopt/Manifest | 1 +
sci-libs/nlopt/nlopt-2.6.2.ebuild | 95 +++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
diff --git a/sci-libs/nlopt/Manifest b/sci-libs/nlopt/Manifest
index 1f8348cf56b..459d271131f 100644
--- a/sci-libs/nlopt/Manifest
+++ b/sci-libs/nlopt/Manifest
@@ -1 +1,2 @@
DIST nlopt-2.4.2.tar.gz 2361992 BLAKE2B c1c9f533c7e7b3bb61e81343ebd26b87e05434fdbea1f347fc5f6a6c10160289ce105a51c6540296f3f1d122d31b415452da49b84516cd13fabc73372e4cfd0e SHA512 136aacc00a69f77e8a7ce5dc26a5f3f027bc8c01b97aa1f43919462e0a412154eabfb01be258e082dffe61f9b554bb2bfbb550a7b82c7c77c7b22874a64a9703
+DIST v2.6.2.tar.gz 2040229 BLAKE2B f1f4124de574600ddbef8a885bbdd3a4f57b469b2f958ce94bbc831cf9bfa8a845e438fccfe4ab219a73a5675b8d880f6d49e0e7cbe9d0966777b0d2344521d4 SHA512 61e5c01140a57c0ad2a0acd82ad50dce1b5679dc281e55cbbc332e876b19a689013100617545a42b721d8c487df37d6ccd67859171243433fe29468f259b556b
diff --git a/sci-libs/nlopt/nlopt-2.6.2.ebuild b/sci-libs/nlopt/nlopt-2.6.2.ebuild
new file mode 100644
index 00000000000..f21aa295b04
--- /dev/null
+++ b/sci-libs/nlopt/nlopt-2.6.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6..9} )
+
+inherit python-r1 cmake
+
+DESCRIPTION="Non-linear optimization library"
+HOMEPAGE="https://ab-initio.mit.edu/nlopt/"
+SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz"
+
+LICENSE="LGPL-2.1 MIT"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="cxx guile octave python static-libs test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ guile? ( dev-scheme/guile:* )
+ octave? ( sci-mathematics/octave )
+ python? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep 'dev-python/numpy-python2[${PYTHON_USEDEP}]' -2)
+ $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' -3)
+ )
+ "
+DEPEND="
+ ${RDEPEND}
+ python? ( dev-lang/swig )
+ "
+
+src_prepare() {
+ cmake_src_prepare
+ use python && python_copy_sources
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DNLOPT_CXX=$(usex cxx)
+ -DNLOPT_FORTRAN=$(usex test)
+ -DNLOPT_GUILE=$(usex guile)
+ -DNLOPT_OCTAVE=$(usex octave)
+ -DNLOPT_PYTHON=$(usex python)
+ -DNLOPT_SWIG=$(usex python)
+ -DNLOPT_TESTS=$(usex test)
+ )
+ if use python; then
+ python_foreach_impl run_in_build_dir cmake_src_configure
+ else
+ cmake_src_configure
+ fi
+}
+
+src_compile() {
+ if use python; then
+ python_foreach_impl run_in_build_dir cmake_src_compile
+ else
+ cmake_src_compile
+ fi
+}
+
+src_test() {
+ do_test() {
+ local a f
+ cd "${BUILD_DIR}"/test
+ for a in {1..$(usex cxx 9 7)}; do
+ for f in {5..9}; do
+ ./testopt -a $a -o $f || die "algorithm $a function $f failed"
+ done
+ done
+ }
+ if use python; then
+ python_foreach_impl run_in_build_dir do_test
+ else
+ do_test
+ fi
+}
+
+nlopt_install() {
+ cmake_src_install
+ python_optimize
+}
+
+src_install() {
+ if use python; then
+ python_foreach_impl run_in_build_dir nlopt_install
+ else
+ cmake_src_install
+ fi
+ local r
+ for r in */README; do newdoc ${r} README.$(dirname ${r}); done
+}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-06-21 14:11 Mark Wright
0 siblings, 0 replies; 32+ messages in thread
From: Mark Wright @ 2020-06-21 14:11 UTC (permalink / raw
To: gentoo-commits
commit: e364e1fc6dc01eb6078974cce77c26a12d5ac5e0
Author: Mark Wright <gienah <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 14:04:30 2020 +0000
Commit: Mark Wright <gienah <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 14:04:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e364e1fc
sci-libs/nlopt: Fix USE=static-libs
Need to multibuild it again to obtain the libnlopt.a, and install it.
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Mark Wright <gienah <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.6.2.ebuild | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/sci-libs/nlopt/nlopt-2.6.2.ebuild b/sci-libs/nlopt/nlopt-2.6.2.ebuild
index f21aa295b04..ec04d41e8bc 100644
--- a/sci-libs/nlopt/nlopt-2.6.2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.6.2.ebuild
@@ -49,16 +49,21 @@ src_configure() {
)
if use python; then
python_foreach_impl run_in_build_dir cmake_src_configure
- else
- cmake_src_configure
+ fi
+ if use static-libs; then
+ mycmakeargs+=(
+ -DBUILD_SHARED_LIBS=OFF
+ )
+ BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_configure
fi
}
src_compile() {
if use python; then
python_foreach_impl run_in_build_dir cmake_src_compile
- else
- cmake_src_compile
+ fi
+ if use static-libs; then
+ BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_compile
fi
}
@@ -74,8 +79,9 @@ src_test() {
}
if use python; then
python_foreach_impl run_in_build_dir do_test
- else
- do_test
+ fi
+ if use static-libs; then
+ BUILD_DIR="${S}_static-libs" run_in_build_dir do_test
fi
}
@@ -87,8 +93,9 @@ nlopt_install() {
src_install() {
if use python; then
python_foreach_impl run_in_build_dir nlopt_install
- else
- cmake_src_install
+ fi
+ if use static-libs; then
+ BUILD_DIR="${S}_static-libs" run_in_build_dir dolib.a libnlopt.a
fi
local r
for r in */README; do newdoc ${r} README.$(dirname ${r}); done
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-06-21 14:11 Mark Wright
0 siblings, 0 replies; 32+ messages in thread
From: Mark Wright @ 2020-06-21 14:11 UTC (permalink / raw
To: gentoo-commits
commit: 6e291a9886c1bfd29640d8a59ead8015e38a3fd2
Author: Mark Wright <gienah <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 14:11:28 2020 +0000
Commit: Mark Wright <gienah <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 14:11:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e291a98
sci-libs/nlopt: Remove python 2.7
As numpy-python2 is only for cases where it is not
possible to build with python 3.
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Mark Wright <gienah <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.6.2-r1.ebuild | 101 +++++++++++++++++++++++++++++++++++
1 file changed, 101 insertions(+)
diff --git a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
new file mode 100644
index 00000000000..e99f07d1cdf
--- /dev/null
+++ b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit python-r1 cmake
+
+DESCRIPTION="Non-linear optimization library"
+HOMEPAGE="https://ab-initio.mit.edu/nlopt/"
+SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz"
+
+LICENSE="LGPL-2.1 MIT"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="cxx guile octave python static-libs test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ guile? ( dev-scheme/guile:* )
+ octave? ( sci-mathematics/octave )
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+ "
+DEPEND="
+ ${RDEPEND}
+ python? ( dev-lang/swig )
+ "
+
+src_prepare() {
+ cmake_src_prepare
+ use python && python_copy_sources
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DNLOPT_CXX=$(usex cxx)
+ -DNLOPT_FORTRAN=$(usex test)
+ -DNLOPT_GUILE=$(usex guile)
+ -DNLOPT_OCTAVE=$(usex octave)
+ -DNLOPT_PYTHON=$(usex python)
+ -DNLOPT_SWIG=$(usex python)
+ -DNLOPT_TESTS=$(usex test)
+ )
+ if use python; then
+ python_foreach_impl run_in_build_dir cmake_src_configure
+ fi
+ if use static-libs; then
+ mycmakeargs+=(
+ -DBUILD_SHARED_LIBS=OFF
+ )
+ BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_configure
+ fi
+}
+
+src_compile() {
+ if use python; then
+ python_foreach_impl run_in_build_dir cmake_src_compile
+ fi
+ if use static-libs; then
+ BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_compile
+ fi
+}
+
+src_test() {
+ do_test() {
+ local a f
+ cd "${BUILD_DIR}"/test
+ for a in {1..$(usex cxx 9 7)}; do
+ for f in {5..9}; do
+ ./testopt -a $a -o $f || die "algorithm $a function $f failed"
+ done
+ done
+ }
+ if use python; then
+ python_foreach_impl run_in_build_dir do_test
+ fi
+ if use static-libs; then
+ BUILD_DIR="${S}_static-libs" run_in_build_dir do_test
+ fi
+}
+
+nlopt_install() {
+ cmake_src_install
+ python_optimize
+}
+
+src_install() {
+ if use python; then
+ python_foreach_impl run_in_build_dir nlopt_install
+ fi
+ if use static-libs; then
+ BUILD_DIR="${S}_static-libs" run_in_build_dir dolib.a libnlopt.a
+ fi
+ local r
+ for r in */README; do newdoc ${r} README.$(dirname ${r}); done
+}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-06-22 1:41 Mark Wright
0 siblings, 0 replies; 32+ messages in thread
From: Mark Wright @ 2020-06-22 1:41 UTC (permalink / raw
To: gentoo-commits
commit: 81c90b0e2306772099620a6c0a56d7f991506ad1
Author: Mark Wright <gienah <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 22 01:41:27 2020 +0000
Commit: Mark Wright <gienah <AT> gentoo <DOT> org>
CommitDate: Mon Jun 22 01:41:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c90b0e
sci-libs/nlopt: Inherit fortran, fix static-libs logic.
Fix QA bad filename: [ v2.6.2.tar.gz ], thanks to
Michelangelo Scopelliti for reporting.
inherit fortran-2, thanks to Michelangelo Scopelliti and
François Bissey for reporting.
Put back the logic I incorrectly removed when adding support
for USE=static-libs for building stuff when USE=-python.
Thanks to Michelangelo Scopelliti, François Bissey and
Andreas Sturmlechner for helping.
Co-Authored-By: François Bissey <frp.bissey <AT> gmail.com>
Bug: https://bugs.gentoo.org/724640
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Mark Wright <gienah <AT> gentoo.org>
sci-libs/nlopt/Manifest | 2 +-
sci-libs/nlopt/nlopt-2.6.2-r1.ebuild | 12 ++++++++++--
sci-libs/nlopt/nlopt-2.6.2.ebuild | 12 ++++++++++--
3 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/sci-libs/nlopt/Manifest b/sci-libs/nlopt/Manifest
index 459d271131f..763315e9b52 100644
--- a/sci-libs/nlopt/Manifest
+++ b/sci-libs/nlopt/Manifest
@@ -1,2 +1,2 @@
DIST nlopt-2.4.2.tar.gz 2361992 BLAKE2B c1c9f533c7e7b3bb61e81343ebd26b87e05434fdbea1f347fc5f6a6c10160289ce105a51c6540296f3f1d122d31b415452da49b84516cd13fabc73372e4cfd0e SHA512 136aacc00a69f77e8a7ce5dc26a5f3f027bc8c01b97aa1f43919462e0a412154eabfb01be258e082dffe61f9b554bb2bfbb550a7b82c7c77c7b22874a64a9703
-DIST v2.6.2.tar.gz 2040229 BLAKE2B f1f4124de574600ddbef8a885bbdd3a4f57b469b2f958ce94bbc831cf9bfa8a845e438fccfe4ab219a73a5675b8d880f6d49e0e7cbe9d0966777b0d2344521d4 SHA512 61e5c01140a57c0ad2a0acd82ad50dce1b5679dc281e55cbbc332e876b19a689013100617545a42b721d8c487df37d6ccd67859171243433fe29468f259b556b
+DIST nlopt-2.6.2.tar.gz 2040229 BLAKE2B f1f4124de574600ddbef8a885bbdd3a4f57b469b2f958ce94bbc831cf9bfa8a845e438fccfe4ab219a73a5675b8d880f6d49e0e7cbe9d0966777b0d2344521d4 SHA512 61e5c01140a57c0ad2a0acd82ad50dce1b5679dc281e55cbbc332e876b19a689013100617545a42b721d8c487df37d6ccd67859171243433fe29468f259b556b
diff --git a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
index e99f07d1cdf..416022d0dc5 100644
--- a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
@@ -5,11 +5,11 @@ EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
-inherit python-r1 cmake
+inherit python-r1 cmake fortran-2
DESCRIPTION="Non-linear optimization library"
HOMEPAGE="https://ab-initio.mit.edu/nlopt/"
-SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz"
+SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
@@ -48,6 +48,8 @@ src_configure() {
)
if use python; then
python_foreach_impl run_in_build_dir cmake_src_configure
+ else
+ cmake_src_configure
fi
if use static-libs; then
mycmakeargs+=(
@@ -60,6 +62,8 @@ src_configure() {
src_compile() {
if use python; then
python_foreach_impl run_in_build_dir cmake_src_compile
+ else
+ cmake_src_compile
fi
if use static-libs; then
BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_compile
@@ -78,6 +82,8 @@ src_test() {
}
if use python; then
python_foreach_impl run_in_build_dir do_test
+ else
+ do_test
fi
if use static-libs; then
BUILD_DIR="${S}_static-libs" run_in_build_dir do_test
@@ -92,6 +98,8 @@ nlopt_install() {
src_install() {
if use python; then
python_foreach_impl run_in_build_dir nlopt_install
+ else
+ cmake_src_install
fi
if use static-libs; then
BUILD_DIR="${S}_static-libs" run_in_build_dir dolib.a libnlopt.a
diff --git a/sci-libs/nlopt/nlopt-2.6.2.ebuild b/sci-libs/nlopt/nlopt-2.6.2.ebuild
index ec04d41e8bc..21c2ada3624 100644
--- a/sci-libs/nlopt/nlopt-2.6.2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.6.2.ebuild
@@ -5,11 +5,11 @@ EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6..9} )
-inherit python-r1 cmake
+inherit python-r1 cmake fortran-2
DESCRIPTION="Non-linear optimization library"
HOMEPAGE="https://ab-initio.mit.edu/nlopt/"
-SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz"
+SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
@@ -49,6 +49,8 @@ src_configure() {
)
if use python; then
python_foreach_impl run_in_build_dir cmake_src_configure
+ else
+ cmake_src_configure
fi
if use static-libs; then
mycmakeargs+=(
@@ -61,6 +63,8 @@ src_configure() {
src_compile() {
if use python; then
python_foreach_impl run_in_build_dir cmake_src_compile
+ else
+ cmake_src_compile
fi
if use static-libs; then
BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_compile
@@ -79,6 +83,8 @@ src_test() {
}
if use python; then
python_foreach_impl run_in_build_dir do_test
+ else
+ do_test
fi
if use static-libs; then
BUILD_DIR="${S}_static-libs" run_in_build_dir do_test
@@ -93,6 +99,8 @@ nlopt_install() {
src_install() {
if use python; then
python_foreach_impl run_in_build_dir nlopt_install
+ else
+ cmake_src_install
fi
if use static-libs; then
BUILD_DIR="${S}_static-libs" run_in_build_dir dolib.a libnlopt.a
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-07-21 8:48 Agostino Sarubbo
0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2020-07-21 8:48 UTC (permalink / raw
To: gentoo-commits
commit: f26b17eec86b329c376825bd8b48344308b04378
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 21 08:47:09 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jul 21 08:47:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f26b17ee
sci-libs/nlopt: amd64 stable wrt bug #724640
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.6.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
index 416022d0dc5..e84205a3af5 100644
--- a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://ab-initio.mit.edu/nlopt/"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python static-libs test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-07-21 9:33 Agostino Sarubbo
0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2020-07-21 9:33 UTC (permalink / raw
To: gentoo-commits
commit: 661f9e371de23a0e95a33d6634bb3e090b0aebaf
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 21 09:32:25 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jul 21 09:32:25 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=661f9e37
sci-libs/nlopt: x86 stable wrt bug #724640
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.6.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
index e84205a3af5..6fa9dea93bb 100644
--- a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://ab-initio.mit.edu/nlopt/"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python static-libs test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-07-21 9:42 Andreas Sturmlechner
0 siblings, 0 replies; 32+ messages in thread
From: Andreas Sturmlechner @ 2020-07-21 9:42 UTC (permalink / raw
To: gentoo-commits
commit: b9ce0bb059a90dc796135b4fee18c1044d338775
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 21 09:42:03 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jul 21 09:42:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ce0bb0
sci-libs/nlopt: Drop 2.4.2-r2 and 2.6.2 (r0)
Closes: https://bugs.gentoo.org/724640
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-libs/nlopt/Manifest | 1 -
sci-libs/nlopt/nlopt-2.4.2-r2.ebuild | 118 -----------------------------------
sci-libs/nlopt/nlopt-2.6.2.ebuild | 110 --------------------------------
3 files changed, 229 deletions(-)
diff --git a/sci-libs/nlopt/Manifest b/sci-libs/nlopt/Manifest
index 763315e9b52..a4d07e389b1 100644
--- a/sci-libs/nlopt/Manifest
+++ b/sci-libs/nlopt/Manifest
@@ -1,2 +1 @@
-DIST nlopt-2.4.2.tar.gz 2361992 BLAKE2B c1c9f533c7e7b3bb61e81343ebd26b87e05434fdbea1f347fc5f6a6c10160289ce105a51c6540296f3f1d122d31b415452da49b84516cd13fabc73372e4cfd0e SHA512 136aacc00a69f77e8a7ce5dc26a5f3f027bc8c01b97aa1f43919462e0a412154eabfb01be258e082dffe61f9b554bb2bfbb550a7b82c7c77c7b22874a64a9703
DIST nlopt-2.6.2.tar.gz 2040229 BLAKE2B f1f4124de574600ddbef8a885bbdd3a4f57b469b2f958ce94bbc831cf9bfa8a845e438fccfe4ab219a73a5675b8d880f6d49e0e7cbe9d0966777b0d2344521d4 SHA512 61e5c01140a57c0ad2a0acd82ad50dce1b5679dc281e55cbbc332e876b19a689013100617545a42b721d8c487df37d6ccd67859171243433fe29468f259b556b
diff --git a/sci-libs/nlopt/nlopt-2.4.2-r2.ebuild b/sci-libs/nlopt/nlopt-2.4.2-r2.ebuild
deleted file mode 100644
index 5a937cd80ed..00000000000
--- a/sci-libs/nlopt/nlopt-2.4.2-r2.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-AUTOTOOLS_AUTORECONF=1
-
-inherit python-r1 autotools-utils
-
-DESCRIPTION="Non-linear optimization library"
-HOMEPAGE="http://ab-initio.mit.edu/nlopt/"
-SRC_URI="http://ab-initio.mit.edu/nlopt/${P}.tar.gz"
-
-LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="cxx guile octave python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
- guile? ( dev-scheme/guile:* )
- octave? ( sci-mathematics/octave )
- python? (
- ${PYTHON_DEPS}
- || (
- dev-python/numpy-python2[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- )
- )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.3-pkgconfig.patch
- "${FILESDIR}"/${PN}-2.3-as-needed.patch
- "${FILESDIR}"/${P}-fix-dynamic-underlinking.patch
-)
-
-src_prepare() {
- # fix #569996 due to renaming of Octave_map class
- has_version ">=sci-mathematics/octave-4.0" && \
- epatch "${FILESDIR}/${P}-octave-4-map.patch"
- autotools-utils_src_prepare
- use cxx && BUILD_CXX="${S}_cxx"
- use python && python_copy_sources
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_with octave)
- )
- if use octave; then
- export OCT_INSTALL_DIR="$(octave-config -p LOCALOCTFILEDIR)"
- export M_INSTALL_DIR="$(octave-config -p LOCALFCNFILEDIR)"
- else
- export MKOCTFILE=None
- fi
-
- myeconfargs+=(
- $(use_with guile)
- )
-
- if use python; then
- python_foreach_impl run_in_build_dir autotools-utils_src_configure
- else
- autotools-utils_src_configure
- fi
-
- if use cxx; then
- myeconfargs+=( --with-cxx --without-octave --without-python )
- BUILD_DIR="${BUILD_CXX}" autotools-utils_src_configure
- fi
-}
-
-src_compile() {
- if use python; then
- python_foreach_impl run_in_build_dir autotools-utils_src_compile
- else
- autotools-utils_src_compile
- fi
- use cxx && BUILD_DIR="${BUILD_CXX}" autotools-utils_src_compile
- #-C "${BUILD_DIR}_cxx"
-}
-
-src_test() {
- do_test() {
- local a f
- cd "${BUILD_DIR}"/test
- for a in {1..7}; do
- for f in {5..9}; do
- ./testopt -a $a -o $f || die "algorithm $a function $f failed"
- done
- done
- }
- if use python; then
- python_foreach_impl run_in_build_dir do_test
- else
- do_test
- fi
- cd "${BUILD_CXX}"/test
- for a in {1..9}; do
- for f in {5..9}; do
- ./testopt -a $a -o $f || die "algorithm $a function $f failed"
- done
- done
-}
-
-src_install() {
- # build cxx first so the c lib overwrites the pc file
- use cxx && BUILD_DIR="${BUILD_CXX}" autotools-utils_src_install
- if use python; then
- python_foreach_impl run_in_build_dir autotools-utils_src_install
- else
- autotools-utils_src_install
- fi
- local r
- for r in */README; do newdoc ${r} README.$(dirname ${r}); done
-}
diff --git a/sci-libs/nlopt/nlopt-2.6.2.ebuild b/sci-libs/nlopt/nlopt-2.6.2.ebuild
deleted file mode 100644
index 21c2ada3624..00000000000
--- a/sci-libs/nlopt/nlopt-2.6.2.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{6..9} )
-
-inherit python-r1 cmake fortran-2
-
-DESCRIPTION="Non-linear optimization library"
-HOMEPAGE="https://ab-initio.mit.edu/nlopt/"
-SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="cxx guile octave python static-libs test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- guile? ( dev-scheme/guile:* )
- octave? ( sci-mathematics/octave )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep 'dev-python/numpy-python2[${PYTHON_USEDEP}]' -2)
- $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' -3)
- )
- "
-DEPEND="
- ${RDEPEND}
- python? ( dev-lang/swig )
- "
-
-src_prepare() {
- cmake_src_prepare
- use python && python_copy_sources
-}
-
-src_configure() {
- local mycmakeargs=(
- -DNLOPT_CXX=$(usex cxx)
- -DNLOPT_FORTRAN=$(usex test)
- -DNLOPT_GUILE=$(usex guile)
- -DNLOPT_OCTAVE=$(usex octave)
- -DNLOPT_PYTHON=$(usex python)
- -DNLOPT_SWIG=$(usex python)
- -DNLOPT_TESTS=$(usex test)
- )
- if use python; then
- python_foreach_impl run_in_build_dir cmake_src_configure
- else
- cmake_src_configure
- fi
- if use static-libs; then
- mycmakeargs+=(
- -DBUILD_SHARED_LIBS=OFF
- )
- BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_configure
- fi
-}
-
-src_compile() {
- if use python; then
- python_foreach_impl run_in_build_dir cmake_src_compile
- else
- cmake_src_compile
- fi
- if use static-libs; then
- BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_compile
- fi
-}
-
-src_test() {
- do_test() {
- local a f
- cd "${BUILD_DIR}"/test
- for a in {1..$(usex cxx 9 7)}; do
- for f in {5..9}; do
- ./testopt -a $a -o $f || die "algorithm $a function $f failed"
- done
- done
- }
- if use python; then
- python_foreach_impl run_in_build_dir do_test
- else
- do_test
- fi
- if use static-libs; then
- BUILD_DIR="${S}_static-libs" run_in_build_dir do_test
- fi
-}
-
-nlopt_install() {
- cmake_src_install
- python_optimize
-}
-
-src_install() {
- if use python; then
- python_foreach_impl run_in_build_dir nlopt_install
- else
- cmake_src_install
- fi
- if use static-libs; then
- BUILD_DIR="${S}_static-libs" run_in_build_dir dolib.a libnlopt.a
- fi
- local r
- for r in */README; do newdoc ${r} README.$(dirname ${r}); done
-}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2020-12-14 0:46 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2020-12-14 0:46 UTC (permalink / raw
To: gentoo-commits
commit: c58109c666c91f4d8ea933d4aaaac7687c4959cf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 14 00:46:10 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 14 00:46:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c58109c6
sci-libs/nlopt: arm64 keyworded (bug #757849)
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.6.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
index 6fa9dea93bb..4378cda85f1 100644
--- a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://ab-initio.mit.edu/nlopt/"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python static-libs test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2021-10-25 17:20 Arthur Zamarin
0 siblings, 0 replies; 32+ messages in thread
From: Arthur Zamarin @ 2021-10-25 17:20 UTC (permalink / raw
To: gentoo-commits
commit: 441465f60a8e1654ca8c07aac9c07e5296bb2652
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 25 05:08:18 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 25 17:19:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=441465f6
sci-libs/nlopt: enable py3.10
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.6.2-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
index 7590eee2b11..01368b67d50 100644
--- a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit python-r1 cmake fortran-2
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2022-05-18 1:36 Michael Orlitzky
0 siblings, 0 replies; 32+ messages in thread
From: Michael Orlitzky @ 2022-05-18 1:36 UTC (permalink / raw
To: gentoo-commits
commit: b42d8d1364f977dbfceb02de0784c3b0e9e2df8d
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 01:34:02 2022 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed May 18 01:35:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b42d8d13
sci-libs/nlopt: new upstream v2.7.1.
* Update HOMEPAGE.
* Disable MATLAB detection in src_configure().
* No more static libs.
Closes: https://bugs.gentoo.org/661952
Bug: https://bugs.gentoo.org/826774
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
sci-libs/nlopt/Manifest | 1 +
sci-libs/nlopt/nlopt-2.7.1.ebuild | 97 +++++++++++++++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
diff --git a/sci-libs/nlopt/Manifest b/sci-libs/nlopt/Manifest
index a4d07e389b10..bc0bc63e1b06 100644
--- a/sci-libs/nlopt/Manifest
+++ b/sci-libs/nlopt/Manifest
@@ -1 +1,2 @@
DIST nlopt-2.6.2.tar.gz 2040229 BLAKE2B f1f4124de574600ddbef8a885bbdd3a4f57b469b2f958ce94bbc831cf9bfa8a845e438fccfe4ab219a73a5675b8d880f6d49e0e7cbe9d0966777b0d2344521d4 SHA512 61e5c01140a57c0ad2a0acd82ad50dce1b5679dc281e55cbbc332e876b19a689013100617545a42b721d8c487df37d6ccd67859171243433fe29468f259b556b
+DIST nlopt-2.7.1.tar.gz 2044180 BLAKE2B 6d459f94a26ee6dd7f72c73c48992bd047150aa525bc4ad088c8516127afc5c7843f6fbb6726c2f845271b87934c13e0892a063362ab50df51f92e81979111fb SHA512 e23cb522fc696010574c14b72be85acc0f8ccf0bf208bf2b8789c57d6c5a6e6d419ee10330581518b1c1567018ae909b626ce7761d4fbd5bf112916871e420e2
diff --git a/sci-libs/nlopt/nlopt-2.7.1.ebuild b/sci-libs/nlopt/nlopt-2.7.1.ebuild
new file mode 100644
index 000000000000..814c7a1440fc
--- /dev/null
+++ b/sci-libs/nlopt/nlopt-2.7.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit python-r1 cmake fortran-2
+
+DESCRIPTION="Non-linear optimization library"
+HOMEPAGE="https://github.com/stevengj/nlopt"
+SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1 MIT"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="cxx guile octave python test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ guile? ( dev-scheme/guile:* )
+ octave? ( >=sci-mathematics/octave-6 )
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+ "
+DEPEND="
+ ${RDEPEND}
+ python? ( dev-lang/swig )
+ "
+
+src_prepare() {
+ cmake_src_prepare
+ use python && python_copy_sources
+}
+
+src_configure() {
+ # MATLAB detection causes problems (as in bug 826774) if we don't
+ # explicitly disable it.
+ local mycmakeargs=(
+ -DNLOPT_CXX=$(usex cxx)
+ -DNLOPT_FORTRAN=$(usex test)
+ -DNLOPT_GUILE=$(usex guile)
+ -DNLOPT_OCTAVE=$(usex octave)
+ -DNLOPT_MATLAB=OFF
+ -DNLOPT_PYTHON=$(usex python)
+ -DNLOPT_SWIG=$(usex python)
+ -DNLOPT_TESTS=$(usex test)
+ )
+ if use python; then
+ python_foreach_impl run_in_build_dir cmake_src_configure
+ else
+ cmake_src_configure
+ fi
+}
+
+src_compile() {
+ if use python; then
+ python_foreach_impl run_in_build_dir cmake_src_compile
+ else
+ cmake_src_compile
+ fi
+}
+
+src_test() {
+ do_test() {
+ local a f
+ cd "${BUILD_DIR}"/test
+ for a in {1..$(usex cxx 9 7)}; do
+ for f in {5..9}; do
+ ./testopt -a $a -o $f || die "algorithm $a function $f failed"
+ done
+ done
+ }
+ if use python; then
+ python_foreach_impl run_in_build_dir do_test
+ else
+ do_test
+ fi
+}
+
+nlopt_install() {
+ cmake_src_install
+ python_optimize
+}
+
+src_install() {
+ if use python; then
+ python_foreach_impl run_in_build_dir nlopt_install
+ else
+ cmake_src_install
+ fi
+ local r
+ for r in */README; do newdoc ${r} README.$(dirname ${r}); done
+}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2022-07-09 12:14 Agostino Sarubbo
0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2022-07-09 12:14 UTC (permalink / raw
To: gentoo-commits
commit: 2c435455483724b347a8d63ab7c1c6d06d26d4da
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 9 12:13:44 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Jul 9 12:13:44 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c435455
sci-libs/nlopt: amd64 stable wrt bug #856550
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1.ebuild b/sci-libs/nlopt/nlopt-2.7.1.ebuild
index 814c7a1440fc..967176d9ee7c 100644
--- a/sci-libs/nlopt/nlopt-2.7.1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2022-07-09 12:17 Agostino Sarubbo
0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2022-07-09 12:17 UTC (permalink / raw
To: gentoo-commits
commit: f5051763c22e0783d2cdbe0c5d83984b83108505
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 9 12:17:05 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Jul 9 12:17:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5051763
sci-libs/nlopt: x86 stable wrt bug #856550
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1.ebuild b/sci-libs/nlopt/nlopt-2.7.1.ebuild
index 967176d9ee7c..10e6b998d4e3 100644
--- a/sci-libs/nlopt/nlopt-2.7.1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2022-07-18 20:07 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2022-07-18 20:07 UTC (permalink / raw
To: gentoo-commits
commit: 61b86bf09b542f6cbbf044876c4a2571b97530c7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 20:07:41 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 20:07:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b86bf0
sci-libs/nlopt: fix installed Python module location
Closes: https://bugs.gentoo.org/859163
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r1.ebuild | 111 +++++++++++++++++++++++++++++++++++
1 file changed, 111 insertions(+)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
new file mode 100644
index 000000000000..a7ca0ef31672
--- /dev/null
+++ b/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit python-r1 cmake fortran-2
+
+DESCRIPTION="Non-linear optimization library"
+HOMEPAGE="https://github.com/stevengj/nlopt"
+SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1 MIT"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="cxx guile octave python test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ guile? ( dev-scheme/guile:* )
+ octave? ( >=sci-mathematics/octave-6 )
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+ "
+DEPEND="${RDEPEND}"
+BDEPEND="python? ( dev-lang/swig )"
+
+src_prepare() {
+ cmake_src_prepare
+
+ use python && python_copy_sources
+}
+
+src_configure() {
+ # MATLAB detection causes problems (as in bug 826774) if we don't
+ # explicitly disable it.
+ local mycmakeargs=(
+ -DNLOPT_CXX=$(usex cxx)
+ -DNLOPT_FORTRAN=$(usex test)
+ -DNLOPT_GUILE=$(usex guile)
+ -DNLOPT_OCTAVE=$(usex octave)
+ -DNLOPT_MATLAB=OFF
+ -DNLOPT_PYTHON=OFF
+ -DNLOPT_SWIG=$(usex python)
+ -DNLOPT_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+
+ if use python; then
+ python_configure() {
+ local mycmakeargs=(
+ ${mycmakeargs[@]}
+ -DNLOPT_PYTHON=ON
+ -DINSTALL_PYTHON_DIR="$(python_get_sitedir)"
+ )
+
+ cmake_src_configure
+ }
+
+ python_foreach_impl run_in_build_dir python_configure
+ fi
+}
+
+src_compile() {
+ cmake_src_compile
+
+ if use python; then
+ python_foreach_impl run_in_build_dir cmake_src_compile
+ fi
+}
+
+src_test() {
+ do_test() {
+ local a f
+ cd "${BUILD_DIR}"/test
+ for a in {1..$(usex cxx 9 7)}; do
+ for f in {5..9}; do
+ ./testopt -a $a -o $f || die "algorithm $a function $f failed"
+ done
+ done
+ }
+
+ do_test
+
+ if use python; then
+ python_foreach_impl run_in_build_dir do_test
+ fi
+}
+
+nlopt_install() {
+ cmake_src_install
+ python_optimize
+}
+
+src_install() {
+ cmake_src_install
+
+ if use python; then
+ python_foreach_impl run_in_build_dir nlopt_install
+ fi
+
+ local r
+ for r in */README; do
+ newdoc ${r} README.$(dirname ${r})
+ done
+}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2022-07-22 7:43 Agostino Sarubbo
0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2022-07-22 7:43 UTC (permalink / raw
To: gentoo-commits
commit: 34896281ac61179035ed5dfe7ab4c58d841e00c7
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 22 07:42:54 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 22 07:42:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34896281
sci-libs/nlopt: amd64 stable wrt bug #859166
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
index a7ca0ef31672..0ca16291154d 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2022-07-22 7:49 Agostino Sarubbo
0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2022-07-22 7:49 UTC (permalink / raw
To: gentoo-commits
commit: 8cddb8888178467586f506a6ab9899961cc4ebd1
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 22 07:48:00 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 22 07:48:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cddb888
sci-libs/nlopt: x86 stable wrt bug #859166
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
index 0ca16291154d..e6f71f100981 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2022-09-12 20:31 Michael Orlitzky
0 siblings, 0 replies; 32+ messages in thread
From: Michael Orlitzky @ 2022-09-12 20:31 UTC (permalink / raw
To: gentoo-commits
commit: f22acba679894d575d5910eb0ee80009434f1dcb
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 12 20:18:54 2022 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Sep 12 20:31:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22acba6
sci-libs/nlopt: drop 2.6.2-r1, 2.7.1
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
sci-libs/nlopt/Manifest | 1 -
sci-libs/nlopt/nlopt-2.6.2-r1.ebuild | 109 -----------------------------------
sci-libs/nlopt/nlopt-2.7.1.ebuild | 97 -------------------------------
3 files changed, 207 deletions(-)
diff --git a/sci-libs/nlopt/Manifest b/sci-libs/nlopt/Manifest
index bc0bc63e1b06..91292448e091 100644
--- a/sci-libs/nlopt/Manifest
+++ b/sci-libs/nlopt/Manifest
@@ -1,2 +1 @@
-DIST nlopt-2.6.2.tar.gz 2040229 BLAKE2B f1f4124de574600ddbef8a885bbdd3a4f57b469b2f958ce94bbc831cf9bfa8a845e438fccfe4ab219a73a5675b8d880f6d49e0e7cbe9d0966777b0d2344521d4 SHA512 61e5c01140a57c0ad2a0acd82ad50dce1b5679dc281e55cbbc332e876b19a689013100617545a42b721d8c487df37d6ccd67859171243433fe29468f259b556b
DIST nlopt-2.7.1.tar.gz 2044180 BLAKE2B 6d459f94a26ee6dd7f72c73c48992bd047150aa525bc4ad088c8516127afc5c7843f6fbb6726c2f845271b87934c13e0892a063362ab50df51f92e81979111fb SHA512 e23cb522fc696010574c14b72be85acc0f8ccf0bf208bf2b8789c57d6c5a6e6d419ee10330581518b1c1567018ae909b626ce7761d4fbd5bf112916871e420e2
diff --git a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild b/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
deleted file mode 100644
index 01368b67d508..000000000000
--- a/sci-libs/nlopt/nlopt-2.6.2-r1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit python-r1 cmake fortran-2
-
-DESCRIPTION="Non-linear optimization library"
-HOMEPAGE="https://ab-initio.mit.edu/nlopt/"
-SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="cxx guile octave python static-libs test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- guile? ( dev-scheme/guile:* )
- octave? ( sci-mathematics/octave )
- python? (
- ${PYTHON_DEPS}
- dev-python/numpy[${PYTHON_USEDEP}]
- )
- "
-DEPEND="
- ${RDEPEND}
- python? ( dev-lang/swig )
- "
-
-src_prepare() {
- cmake_src_prepare
- use python && python_copy_sources
-}
-
-src_configure() {
- local mycmakeargs=(
- -DNLOPT_CXX=$(usex cxx)
- -DNLOPT_FORTRAN=$(usex test)
- -DNLOPT_GUILE=$(usex guile)
- -DNLOPT_OCTAVE=$(usex octave)
- -DNLOPT_PYTHON=$(usex python)
- -DNLOPT_SWIG=$(usex python)
- -DNLOPT_TESTS=$(usex test)
- )
- if use python; then
- python_foreach_impl run_in_build_dir cmake_src_configure
- else
- cmake_src_configure
- fi
- if use static-libs; then
- mycmakeargs+=(
- -DBUILD_SHARED_LIBS=OFF
- )
- BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_configure
- fi
-}
-
-src_compile() {
- if use python; then
- python_foreach_impl run_in_build_dir cmake_src_compile
- else
- cmake_src_compile
- fi
- if use static-libs; then
- BUILD_DIR="${S}_static-libs" run_in_build_dir cmake_src_compile
- fi
-}
-
-src_test() {
- do_test() {
- local a f
- cd "${BUILD_DIR}"/test
- for a in {1..$(usex cxx 9 7)}; do
- for f in {5..9}; do
- ./testopt -a $a -o $f || die "algorithm $a function $f failed"
- done
- done
- }
- if use python; then
- python_foreach_impl run_in_build_dir do_test
- else
- do_test
- fi
- if use static-libs; then
- BUILD_DIR="${S}_static-libs" run_in_build_dir do_test
- fi
-}
-
-nlopt_install() {
- cmake_src_install
- python_optimize
-}
-
-src_install() {
- if use python; then
- python_foreach_impl run_in_build_dir nlopt_install
- else
- cmake_src_install
- fi
- if use static-libs; then
- BUILD_DIR="${S}_static-libs" run_in_build_dir dolib.a libnlopt.a
- fi
- local r
- for r in */README; do newdoc ${r} README.$(dirname ${r}); done
-}
diff --git a/sci-libs/nlopt/nlopt-2.7.1.ebuild b/sci-libs/nlopt/nlopt-2.7.1.ebuild
deleted file mode 100644
index 10e6b998d4e3..000000000000
--- a/sci-libs/nlopt/nlopt-2.7.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit python-r1 cmake fortran-2
-
-DESCRIPTION="Non-linear optimization library"
-HOMEPAGE="https://github.com/stevengj/nlopt"
-SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="cxx guile octave python test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- guile? ( dev-scheme/guile:* )
- octave? ( >=sci-mathematics/octave-6 )
- python? (
- ${PYTHON_DEPS}
- dev-python/numpy[${PYTHON_USEDEP}]
- )
- "
-DEPEND="
- ${RDEPEND}
- python? ( dev-lang/swig )
- "
-
-src_prepare() {
- cmake_src_prepare
- use python && python_copy_sources
-}
-
-src_configure() {
- # MATLAB detection causes problems (as in bug 826774) if we don't
- # explicitly disable it.
- local mycmakeargs=(
- -DNLOPT_CXX=$(usex cxx)
- -DNLOPT_FORTRAN=$(usex test)
- -DNLOPT_GUILE=$(usex guile)
- -DNLOPT_OCTAVE=$(usex octave)
- -DNLOPT_MATLAB=OFF
- -DNLOPT_PYTHON=$(usex python)
- -DNLOPT_SWIG=$(usex python)
- -DNLOPT_TESTS=$(usex test)
- )
- if use python; then
- python_foreach_impl run_in_build_dir cmake_src_configure
- else
- cmake_src_configure
- fi
-}
-
-src_compile() {
- if use python; then
- python_foreach_impl run_in_build_dir cmake_src_compile
- else
- cmake_src_compile
- fi
-}
-
-src_test() {
- do_test() {
- local a f
- cd "${BUILD_DIR}"/test
- for a in {1..$(usex cxx 9 7)}; do
- for f in {5..9}; do
- ./testopt -a $a -o $f || die "algorithm $a function $f failed"
- done
- done
- }
- if use python; then
- python_foreach_impl run_in_build_dir do_test
- else
- do_test
- fi
-}
-
-nlopt_install() {
- cmake_src_install
- python_optimize
-}
-
-src_install() {
- if use python; then
- python_foreach_impl run_in_build_dir nlopt_install
- else
- cmake_src_install
- fi
- local r
- for r in */README; do newdoc ${r} README.$(dirname ${r}); done
-}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2022-09-12 20:31 Michael Orlitzky
0 siblings, 0 replies; 32+ messages in thread
From: Michael Orlitzky @ 2022-09-12 20:31 UTC (permalink / raw
To: gentoo-commits
commit: e1bf0ac69752835111fef2a6700624d7ef74abc7
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 12 20:26:23 2022 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Sep 12 20:31:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1bf0ac6
sci-libs/nlopt: new revision with subslot dependency on sci-math/octave.
With USE=octave, NLopt builds a *.oct interface using mkoctfile, and
that requires a rebuild when Octave is upgraded.
Closes: https://bugs.gentoo.org/869863
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 111 +++++++++++++++++++++++++++++++++++
1 file changed, 111 insertions(+)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
new file mode 100644
index 000000000000..b49baaa4267f
--- /dev/null
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit python-r1 cmake fortran-2
+
+DESCRIPTION="Non-linear optimization library"
+HOMEPAGE="https://github.com/stevengj/nlopt"
+SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1 MIT"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="cxx guile octave python test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ guile? ( dev-scheme/guile:* )
+ octave? ( >=sci-mathematics/octave-6:= )
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+ "
+DEPEND="${RDEPEND}"
+BDEPEND="python? ( dev-lang/swig )"
+
+src_prepare() {
+ cmake_src_prepare
+
+ use python && python_copy_sources
+}
+
+src_configure() {
+ # MATLAB detection causes problems (as in bug 826774) if we don't
+ # explicitly disable it.
+ local mycmakeargs=(
+ -DNLOPT_CXX=$(usex cxx)
+ -DNLOPT_FORTRAN=$(usex test)
+ -DNLOPT_GUILE=$(usex guile)
+ -DNLOPT_OCTAVE=$(usex octave)
+ -DNLOPT_MATLAB=OFF
+ -DNLOPT_PYTHON=OFF
+ -DNLOPT_SWIG=$(usex python)
+ -DNLOPT_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+
+ if use python; then
+ python_configure() {
+ local mycmakeargs=(
+ ${mycmakeargs[@]}
+ -DNLOPT_PYTHON=ON
+ -DINSTALL_PYTHON_DIR="$(python_get_sitedir)"
+ )
+
+ cmake_src_configure
+ }
+
+ python_foreach_impl run_in_build_dir python_configure
+ fi
+}
+
+src_compile() {
+ cmake_src_compile
+
+ if use python; then
+ python_foreach_impl run_in_build_dir cmake_src_compile
+ fi
+}
+
+src_test() {
+ do_test() {
+ local a f
+ cd "${BUILD_DIR}"/test
+ for a in {1..$(usex cxx 9 7)}; do
+ for f in {5..9}; do
+ ./testopt -a $a -o $f || die "algorithm $a function $f failed"
+ done
+ done
+ }
+
+ do_test
+
+ if use python; then
+ python_foreach_impl run_in_build_dir do_test
+ fi
+}
+
+nlopt_install() {
+ cmake_src_install
+ python_optimize
+}
+
+src_install() {
+ cmake_src_install
+
+ if use python; then
+ python_foreach_impl run_in_build_dir nlopt_install
+ fi
+
+ local r
+ for r in */README; do
+ newdoc ${r} README.$(dirname ${r})
+ done
+}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2023-02-24 11:24 Andrew Ammerlaan
0 siblings, 0 replies; 32+ messages in thread
From: Andrew Ammerlaan @ 2023-02-24 11:24 UTC (permalink / raw
To: gentoo-commits
commit: 1a985c49217b7512a90146596fde61353a8768cf
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 11:24:22 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 11:24:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a985c49
sci-libs/nlopt: enable py3.11
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
index 6a362c01d90e..974f2f022535 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit python-r1 cmake fortran-2
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2023-03-04 7:37 Arthur Zamarin
0 siblings, 0 replies; 32+ messages in thread
From: Arthur Zamarin @ 2023-03-04 7:37 UTC (permalink / raw
To: gentoo-commits
commit: 5c44691dec10d19dba3de614caee91d07216ee27
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 07:37:45 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 07:37:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c44691d
sci-libs/nlopt: Stabilize 2.7.1-r2 x86, #899464
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
index 974f2f022535..93bb1a042c26 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2023-03-07 11:42 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2023-03-07 11:42 UTC (permalink / raw
To: gentoo-commits
commit: 939891caa4bceb0431569be4f1ce2a0d35ce6a9f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 7 11:40:38 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 7 11:40:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939891ca
sci-libs/nlopt: Stabilize 2.7.1-r2 amd64, #899464
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
index 93bb1a042c26..67b4245b9809 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2023-03-19 3:22 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2023-03-19 3:22 UTC (permalink / raw
To: gentoo-commits
commit: a247f9ca0211517836c9832aef383de627d2465e
Author: Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Sat Mar 18 01:25:56 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 03:00:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a247f9ca
sci-libs/nlopt: Fortran is only needed for tests
Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/30201
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r1.ebuild | 1 +
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
index 5adc753ba921..538051367347 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r1.ebuild
@@ -4,6 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
+FORTRAN_NEEDED="test"
inherit python-r1 cmake fortran-2
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
index 67b4245b9809..8c7936051193 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -4,6 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
+FORTRAN_NEEDED="test"
inherit python-r1 cmake fortran-2
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2024-01-10 12:10 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2024-01-10 12:10 UTC (permalink / raw
To: gentoo-commits
commit: a8833ed830b30fe970c38abe8ae3bc8d0c955f93
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 10 12:10:06 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 12:10:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8833ed8
sci-libs/nlopt: Keyword 2.7.1-r2 ppc, #921695
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
index 634c1c5947bf..8e594862846e 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2024-01-10 12:31 Jakov Smolić
0 siblings, 0 replies; 32+ messages in thread
From: Jakov Smolić @ 2024-01-10 12:31 UTC (permalink / raw
To: gentoo-commits
commit: 638db5f082ec977368768418a6f362fe210f045e
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 10 12:31:35 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 12:31:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=638db5f0
sci-libs/nlopt: Keyword 2.7.1-r2 riscv, #921695
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
index 8e594862846e..4998984c409b 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2024-01-11 9:38 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2024-01-11 9:38 UTC (permalink / raw
To: gentoo-commits
commit: 2d1ff566ca0f13e8b1d6d77625413633429592eb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 11 09:36:44 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 11 09:36:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d1ff566
sci-libs/nlopt: Keyword 2.7.1-r2 ppc64, #921695
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
index 4998984c409b..b95c60952ce8 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2024-03-02 14:55 Arthur Zamarin
0 siblings, 0 replies; 32+ messages in thread
From: Arthur Zamarin @ 2024-03-02 14:55 UTC (permalink / raw
To: gentoo-commits
commit: 79f6bb46582928f0f99d99fd88666af495358092
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 2 14:55:29 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 2 14:55:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79f6bb46
sci-libs/nlopt: Stabilize 2.7.1-r2 ppc64, #924846
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
index b95c60952ce8..bd1b810d4ad8 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/stevengj/nlopt"
SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 ~ppc ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="cxx guile octave python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2024-04-08 18:50 Andrew Ammerlaan
0 siblings, 0 replies; 32+ messages in thread
From: Andrew Ammerlaan @ 2024-04-08 18:50 UTC (permalink / raw
To: gentoo-commits
commit: beb3da96273ef03651fd9c34d09d904f68015be2
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Apr 8 18:24:08 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Apr 8 18:48:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beb3da96
sci-libs/nlopt: add missing remote-id
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/nlopt/metadata.xml | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/sci-libs/nlopt/metadata.xml b/sci-libs/nlopt/metadata.xml
index 2147f867cb61..17976ba280dd 100644
--- a/sci-libs/nlopt/metadata.xml
+++ b/sci-libs/nlopt/metadata.xml
@@ -6,18 +6,21 @@
<name>Gentoo Science Project</name>
</maintainer>
<longdescription lang="en">
- NLopt is a library for nonlinear optimization,
- providing a common interface for a number of different free
- optimization routines available online as well as original
- implementations of various other algorithms. Its features include:
- * Callable from variety of languages (C, C++, Fortran, Python, Octave)
- * A common interface for many different algorithms—try a different
- algorithm just by changing one parameter.
- * Both global and local optimization algorithms.
- * Both derivative-free and gradient-based optimization algorithms.
- * Algorithms for unconstrained optimization, bound-constrained
- optimization, and general nonlinear inequality constraints.
+ NLopt is a library for nonlinear optimization,
+ providing a common interface for a number of different free
+ optimization routines available online as well as original
+ implementations of various other algorithms. Its features include:
+ * Callable from variety of languages (C, C++, Fortran, Python, Octave)
+ * A common interface for many different algorithms—try a different
+ algorithm just by changing one parameter.
+ * Both global and local optimization algorithms.
+ * Both derivative-free and gradient-based optimization algorithms.
+ * Algorithms for unconstrained optimization, bound-constrained
+ optimization, and general nonlinear inequality constraints.
</longdescription>
+ <upstream>
+ <remote-id type="github">stevengj/nlopt</remote-id>
+ </upstream>
<use>
<flag name="octave">Add plugin for <pkg>sci-mathematics/octave</pkg></flag>
</use>
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2024-06-04 20:21 Andrew Ammerlaan
0 siblings, 0 replies; 32+ messages in thread
From: Andrew Ammerlaan @ 2024-06-04 20:21 UTC (permalink / raw
To: gentoo-commits
commit: 0822c43442ed125d2f6669413e244d174ba87cca
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 4 20:20:57 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun 4 20:20:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0822c434
sci-libs/nlopt: enable py3.12
Closes: https://bugs.gentoo.org/929783
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
index bd1b810d4ad8..4788982d8935 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
FORTRAN_NEEDED="test"
inherit python-r1 cmake fortran-2
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/
@ 2024-09-28 14:43 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2024-09-28 14:43 UTC (permalink / raw
To: gentoo-commits
commit: bf702b6cee0133e094b50378336326b6bff4926b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 28 14:41:53 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 14:43:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf702b6c
sci-libs/nlopt: fix pkg_setup w/ USE=-guile
Like in 20c679298cd29c57dba3dce93339b0a1780284e5. This seems to be
the only other such case in-tree.
Note that fortran-2_pkg_setup is fine to call unconditionally
because it checks itself if it should be used if FORTRAN_OPTIONAL is set.
Bug: https://bugs.gentoo.org/940441
Fixes: 01f1676c357e17cfde5abb0ccca96766e69bbe6f
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.7.1-r100.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild
index 55bc5573894b..385cdb5a674d 100644
--- a/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild
+++ b/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild
@@ -31,6 +31,11 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="python? ( dev-lang/swig )"
+pkg_setup() {
+ use guile && guile-single_pkg_setup
+ fortran-2_pkg_setup
+}
+
src_prepare() {
cmake_src_prepare
^ permalink raw reply related [flat|nested] 32+ messages in thread
end of thread, other threads:[~2024-09-28 14:43 UTC | newest]
Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-21 4:54 [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/ Mark Wright
-- strict thread matches above, loose matches on Subject: below --
2024-09-28 14:43 Sam James
2024-06-04 20:21 Andrew Ammerlaan
2024-04-08 18:50 Andrew Ammerlaan
2024-03-02 14:55 Arthur Zamarin
2024-01-11 9:38 Sam James
2024-01-10 12:31 Jakov Smolić
2024-01-10 12:10 Sam James
2023-03-19 3:22 Sam James
2023-03-07 11:42 Sam James
2023-03-04 7:37 Arthur Zamarin
2023-02-24 11:24 Andrew Ammerlaan
2022-09-12 20:31 Michael Orlitzky
2022-09-12 20:31 Michael Orlitzky
2022-07-22 7:49 Agostino Sarubbo
2022-07-22 7:43 Agostino Sarubbo
2022-07-18 20:07 Sam James
2022-07-09 12:17 Agostino Sarubbo
2022-07-09 12:14 Agostino Sarubbo
2022-05-18 1:36 Michael Orlitzky
2021-10-25 17:20 Arthur Zamarin
2020-12-14 0:46 Sam James
2020-07-21 9:42 Andreas Sturmlechner
2020-07-21 9:33 Agostino Sarubbo
2020-07-21 8:48 Agostino Sarubbo
2020-06-22 1:41 Mark Wright
2020-06-21 14:11 Mark Wright
2020-06-21 14:11 Mark Wright
2020-01-22 21:50 Michał Górny
2020-01-16 7:03 Michał Górny
2017-04-20 16:41 David Seifert
2016-12-20 16:52 Tobias Klausmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox