Diff nlopt-2.10.0-r1 with a nlopt-2.10.1
| /usr/portage/sci-libs/nlopt/nlopt-2.10.1.ebuild 2026-09-13 20:03:04.192041224 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 | 6 |
GUILE_COMPAT=( 2-2 3-0 ) |
| 7 |
PYTHON_COMPAT=( python3_{11..14} )
|
|
| 7 |
PYTHON_COMPAT=( python3_{12..15} )
|
|
| 8 | 8 |
FORTRAN_NEEDED="test" |
| 9 | 9 | |
| 10 | 10 |
inherit python-r1 cmake guile-single fortran-2 |
| ... | ... | |
| 15 | 15 | |
| 16 | 16 |
LICENSE="LGPL-2.1 MIT" |
| 17 | 17 |
SLOT="0" |
| 18 |
KEYWORDS="amd64 ~arm64 ~ppc ppc64 ~riscv ~x86" |
|
| 18 |
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
|
| 19 | 19 |
IUSE="guile octave python test" |
| 20 | 20 |
REQUIRED_USE="guile? ( ${GUILE_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} )"
|
| 21 | 21 |
RESTRICT="!test? ( test )" |
| ... | ... | |
| 31 | 31 |
DEPEND="${RDEPEND}"
|
| 32 | 32 |
BDEPEND="python? ( dev-lang/swig )" |
| 33 | 33 | |
| 34 |
PATCHES=( |
|
| 35 |
"${FILESDIR}"/${P}-libm.patch
|
|
| 36 |
"${FILESDIR}"/${P}-cxx.patch
|
|
| 37 |
"${FILESDIR}"/${P}-libm-pc.patch
|
|
| 38 |
) |
|
| 39 | ||
| 40 | 34 |
pkg_setup() {
|
| 41 | 35 |
use guile && guile-single_pkg_setup |
| 42 | 36 |
fortran-2_pkg_setup |
| ... | ... | |
| 125 | 119 |
for r in */README; do |
| 126 | 120 |
newdoc ${r} README.$(dirname ${r})
|
| 127 | 121 |
done |
| 122 | ||
| 123 |
if use test; then |
|
| 124 |
rm "${ED}"/usr/include/nlopt.f || die
|
|
| 125 |
fi |
|
| 128 | 126 |
} |