mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
sci-libs/coinor-bonmin: remove old
Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST Bonmin-1.7.4.tgz 12320747 BLAKE2B 779881abf98dcf1c0b6a22e2d7fe11c2075ac50a64afcfae735bbb221614ce247c9f918c5cac7d0772784512ff2135fedeb26295c5e5d3979ebb8e435cfdac21 SHA512 290b1b49e467ab8ce7fc6908d8aa76a3b1ba61f63f44427d3bdd8ff2bed4aa6ef28396f0be59e108038173ea670405b50d3c32636aacdee2c5787765bce763a4
|
||||
DIST coinor-bonmin-1.8.8.tar.gz 1336718 BLAKE2B 3b72852d54b62274dc347758ae6c3fe0a2b1c04c39c3b01d87aa28fcc8593a3d80945b2e88aabd4db03da31c426396302a2def44aac8a07e6101cd5331321ed1 SHA512 66c3b07e743b6f352b4760e32c774268606deda4143e597c3be81068237dd5021210dec46e53ae0930f480db18bfbaaf284cbdb3d20f07e6d8543968509f8999
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils multilib
|
||||
|
||||
MYPN=Bonmin
|
||||
|
||||
DESCRIPTION="COIN-OR Basic Open-source Nonlinear Mixed INteger programming"
|
||||
HOMEPAGE="https://projects.coin-or.org/Bonmin/"
|
||||
SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
|
||||
|
||||
LICENSE="CPL-1.0"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples glpk static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/coinor-cbc:=
|
||||
sci-libs/coinor-clp:=
|
||||
sci-libs/ipopt:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( sci-libs/coinor-sample )"
|
||||
|
||||
S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-dependency-linking
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile all $(usex doc doc "")
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
# add missing include files needed from coinor-couenne and others
|
||||
insinto /usr/include/coin
|
||||
doins \
|
||||
src/Interfaces/BonCurvatureEstimator.hpp \
|
||||
src/Interfaces/BonExitCodes.hpp \
|
||||
src/Algorithms/QuadCuts/BonLinearCutsGenerator.hpp
|
||||
|
||||
use doc && dodoc doc/BONMIN_UsersManual.pdf
|
||||
# already installed
|
||||
rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/*
|
||||
fi
|
||||
}
|
||||
@@ -9,10 +9,7 @@
|
||||
BONMIN (Basic Open-source Nonlinear Mixed INteger programming) is an
|
||||
open-source code for solving general MINLP (Mixed Integer NonLinear
|
||||
Programming) problems.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="glpk">Undocumented USE</flag>
|
||||
</use>
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">coin-or/Bonmin</remote-id>
|
||||
</upstream>
|
||||
|
||||
Reference in New Issue
Block a user