From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-libs/coinor-bonmin/Manifest | 5 ++ sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild | 61 +++++++++++++++++++++++ sci-libs/coinor-bonmin/metadata.xml | 16 ++++++ 3 files changed, 82 insertions(+) create mode 100644 sci-libs/coinor-bonmin/Manifest create mode 100644 sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild create mode 100644 sci-libs/coinor-bonmin/metadata.xml (limited to 'sci-libs/coinor-bonmin') diff --git a/sci-libs/coinor-bonmin/Manifest b/sci-libs/coinor-bonmin/Manifest new file mode 100644 index 000000000000..18e7ab79e0f0 --- /dev/null +++ b/sci-libs/coinor-bonmin/Manifest @@ -0,0 +1,5 @@ +DIST Bonmin-1.7.4.tgz 12320747 SHA256 2087ae609ebd237a8f87fd8bdd3ea1cc4700d3f512ccc9e34ec034d52596f809 SHA512 290b1b49e467ab8ce7fc6908d8aa76a3b1ba61f63f44427d3bdd8ff2bed4aa6ef28396f0be59e108038173ea670405b50d3c32636aacdee2c5787765bce763a4 WHIRLPOOL 6be620b5e59f949044dcd78f85e245d4dbdcc03dd25277f822ad1fb3bca796a7fff99e071cb74d19010be682cc58585ac8180e22ebf3d4cafac2757cb5d49178 +EBUILD coinor-bonmin-1.7.4.ebuild 1433 SHA256 680bec1be5d17c32373f7c70421b6e2766de5f93fa0b187b6ade80bb1618587a SHA512 2846881a3f4f14236f5396fb69cd9353cc9a2e1cd5ef0bf02a8a87c92491492dc0d0c65a4f5b9456836968da2087eccffa15d1ab1707676146021337514ab351 WHIRLPOOL fb270ce092d18f296da7d7bc049248388f8ef5ed583ac21b9a466ccddc70032f0473f515e9c47481ec10258146d7c2b927a01f10a0b4e418207edfdd28df0799 +MISC ChangeLog 2445 SHA256 590b9fc39731e5f2aa9506488030bf84e49ac9f3793e48eea3bc23f1b49e27fd SHA512 437a1ff7fa1c894c1338995462a2a74f3e3f21842527e1ad484f71f8e7e81409bfc246df0d24bdfa31e3c28d2f4aeaece008b45549a5043879749c520694b955 WHIRLPOOL 11313e75144f8ea8d061b08432414e886dd9421c2027c7bf04afb5e71a76190766fd06a1c02b86ee330a8d251dd028fe938580af096fb25a41f25caa56d12e85 +MISC ChangeLog-2015 986 SHA256 ca49a8d336cfc6498b3293cd04b3a4e584728c93e6f3813a1424374fcbd7f690 SHA512 fef4bd8b85290d44dbf3220bfb3d0ee74c200cf4d11c4737643623826a11c3aaa555b5c3cd03f8214d37587300b000624c96cace6d139afeb172594f8a0ba991 WHIRLPOOL 26d92cff29a01aa85fc9805b11a640ee1566ba26ce68957a450c272a4899c084b03047ca69ff6febd3e214136bf38796a2efe0dd9aa705191b6e1450f93c451b +MISC metadata.xml 537 SHA256 b0b8f0803976b7424c71fe316c44d605a6fbed8322f100e32c8eec11f217211b SHA512 813db781e346f940d3110f0340208d1400cef20b2dc55b4faafc75c4d71ec0ad3d6cab7638d5afd4e8db7cca1e146bd72f15d45d6e25305961b75e86152377d3 WHIRLPOOL f48e91d26e35d81b5123029af00792f5a9259fc3e55d6eb6c37f284723a57fc4632b3efdc52ed95d52a07ff137d86612efb3db71d6a634f59a62e721b82f2060 diff --git a/sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild b/sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild new file mode 100644 index 000000000000..0523a6cf6082 --- /dev/null +++ b/sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2014 Gentoo Foundation +# 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" + +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 +} diff --git a/sci-libs/coinor-bonmin/metadata.xml b/sci-libs/coinor-bonmin/metadata.xml new file mode 100644 index 000000000000..fde4b95c383c --- /dev/null +++ b/sci-libs/coinor-bonmin/metadata.xml @@ -0,0 +1,16 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + BONMIN (Basic Open-source Nonlinear Mixed INteger programming) is an + open-source code for solving general MINLP (Mixed Integer NonLinear + Programming) problems. + + + Undocumented USE + + -- cgit v1.2.3