summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-01-15 19:31:56 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-01-15 19:31:56 +0000
commit6f90a669f96c33d5b9d59503f2520b840d2a5fc9 (patch)
tree159a4d1fd5b586a0009a2c3daf93638ab037fa74 /sci-libs
parentFixed license, cleanup, as-needed applied upstream (diff)
downloadgentoo-2-6f90a669f96c33d5b9d59503f2520b840d2a5fc9.tar.gz
gentoo-2-6f90a669f96c33d5b9d59503f2520b840d2a5fc9.tar.bz2
gentoo-2-6f90a669f96c33d5b9d59503f2520b840d2a5fc9.zip
Import from science overlay, version bump, fixed license, cleanup, as-needed applied upstream
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/coinor-bonmin/ChangeLog24
-rw-r--r--sci-libs/coinor-bonmin/Manifest4
-rw-r--r--sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild62
-rw-r--r--sci-libs/coinor-bonmin/metadata.xml13
4 files changed, 103 insertions, 0 deletions
diff --git a/sci-libs/coinor-bonmin/ChangeLog b/sci-libs/coinor-bonmin/ChangeLog
new file mode 100644
index 000000000000..08b13360d789
--- /dev/null
+++ b/sci-libs/coinor-bonmin/ChangeLog
@@ -0,0 +1,24 @@
+# ChangeLog for sci-libs/coinor-bonmin
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-bonmin/ChangeLog,v 1.1 2014/01/15 19:31:56 bicatali Exp $
+
+*coinor-bonmin-1.7.3 (07 Dec 2013)
+
+ 07 Dec 2013; Sébastien Fabbro <bicatali@gentoo.org>
+ +coinor-bonmin-1.7.3.ebuild, -coinor-bonmin-1.7.0.ebuild:
+ sci-libs/coinor-bonmin: Version bump
+
+*coinor-bonmin-1.7.0 (17 Jul 2013)
+
+ 17 Jul 2013; Sébastien Fabbro <bicatali@gentoo.org>
+ +coinor-bonmin-1.7.0.ebuild, -coinor-bonmin-1.6.0.ebuild:
+ sci-libs/coinor-bonmin: Version bump
+
+ 03 Mar 2013; Justin Lecher <jlec@gentoo.org> metadata.xml:
+ Add unocumented USE to metadata.xml
+
+*coinor-bonmin-1.6.0 (18 Jul 2012)
+
+ 18 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ +coinor-bonmin-1.6.0.ebuild, +metadata.xml:
+ sci-libs/coinor-bonmin: Initial import
diff --git a/sci-libs/coinor-bonmin/Manifest b/sci-libs/coinor-bonmin/Manifest
new file mode 100644
index 000000000000..ea89cf6bfc22
--- /dev/null
+++ b/sci-libs/coinor-bonmin/Manifest
@@ -0,0 +1,4 @@
+DIST Bonmin-1.7.4.tgz 12320747 SHA256 2087ae609ebd237a8f87fd8bdd3ea1cc4700d3f512ccc9e34ec034d52596f809 SHA512 290b1b49e467ab8ce7fc6908d8aa76a3b1ba61f63f44427d3bdd8ff2bed4aa6ef28396f0be59e108038173ea670405b50d3c32636aacdee2c5787765bce763a4 WHIRLPOOL 6be620b5e59f949044dcd78f85e245d4dbdcc03dd25277f822ad1fb3bca796a7fff99e071cb74d19010be682cc58585ac8180e22ebf3d4cafac2757cb5d49178
+EBUILD coinor-bonmin-1.7.4.ebuild 1450 SHA256 f0a58cfbdab134491dde1d3d3b2267d6c621058973092e574a21559c7f6f92ad SHA512 0d985269c4a9d8336a3db0f4af4966632965c3a1f03a873d5387ba7c2574520ef64689d512dba888ee386350bf6687231d5173c0290b4e4c166e8be5a84c389f WHIRLPOOL 025e745d87206d1750db86d95c8544763d64d6f344980c2d2a224dd98e9c797e14d7c98a627c96871634fcf921ffa0b9fefb4cb249de76ca9c1ae6ea033e9551
+MISC ChangeLog 783 SHA256 3478155f5d0abd2883e971a42099968cbc5260153fdeed0d410e9afd02a6c0c6 SHA512 c3fb88a766599d6d24470a22e71b0a237615e7005c6d78a185364ee1094c5323f68504b36d4cc24fa32778fb1b8a08f7bb94c91eceb99eb87dcc7849c8bb8f60 WHIRLPOOL e5622a7329ac6911992c923b0ce8a3bc6c3e99d9cc7a3f3be84b70b5710a0a044f7582597477ab9ee7446db9f5b9400ad961bb21de79e4cba27708669db9eac2
+MISC metadata.xml 436 SHA256 173b472230bcbe34457d46e2c2aa97b8e4f03a46aa74c9ab4750321dd42fb436 SHA512 df4d07e38ebc5efa113392f56641521cd18af4c6179644cea3e3d514ce86001e53396f4cea1acf54f02c0621747556c5b748b2bc593a6d8bf44ebfa33815a508 WHIRLPOOL 328235a380b061b32a6a536d02c24583b6c600f686e084f2b7617f60777eb9a1162dba3ec679ea370176635279c092ab0211bd3e59618538a7040fb0a7bb3ff9
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..8b2e2cdd2f35
--- /dev/null
+++ b/sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-bonmin/coinor-bonmin-1.7.4.ebuild,v 1.1 2014/01/15 19:31:56 bicatali Exp $
+
+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 $(use doc && echo 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..b43dff4cbb32
--- /dev/null
+++ b/sci-libs/coinor-bonmin/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ 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>
+</pkgmetadata>