* [gentoo-commits] proj/sci:master commit in: sci-libs/coinor-clp/
@ 2013-12-08 5:00 Sebastien Fabbro
0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2013-12-08 5:00 UTC (permalink / raw
To: gentoo-commits
commit: 5a7f6982fb821171862550d457b8f3464b5898d7
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 7 06:03:53 2013 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sat Dec 7 06:03:53 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5a7f6982
sci-libs/coinor-clp: Version bump
Package-Manager: portage-2.2.7-prefix
---
sci-libs/coinor-clp/ChangeLog | 6 ++++++
.../{coinor-clp-1.15.2.ebuild => coinor-clp-1.15.5.ebuild} | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/sci-libs/coinor-clp/ChangeLog b/sci-libs/coinor-clp/ChangeLog
index 0d8a3c2..3a2552a 100644
--- a/sci-libs/coinor-clp/ChangeLog
+++ b/sci-libs/coinor-clp/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*coinor-clp-1.15.5 (07 Dec 2013)
+
+ 07 Dec 2013; Sébastien Fabbro <bicatali@gentoo.org> +coinor-clp-1.15.5.ebuild,
+ -coinor-clp-1.15.2.ebuild:
+ sci-libs/coinor-clp: Version bump
+
17 Jul 2013; Sébastien Fabbro <bicatali@gentoo.org>
+files/coinor-clp-1.15.1-mpi-header.patch, coinor-clp-1.15.2.ebuild:
sci-libs/coinor-clp: Patch was not applied upstream
diff --git a/sci-libs/coinor-clp/coinor-clp-1.15.2.ebuild b/sci-libs/coinor-clp/coinor-clp-1.15.5.ebuild
similarity index 99%
rename from sci-libs/coinor-clp/coinor-clp-1.15.2.ebuild
rename to sci-libs/coinor-clp/coinor-clp-1.15.5.ebuild
index 0adcb78..3ee9d00 100644
--- a/sci-libs/coinor-clp/coinor-clp-1.15.2.ebuild
+++ b/sci-libs/coinor-clp/coinor-clp-1.15.5.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://projects.coin-or.org/Clp/"
SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
LICENSE="EPL-1.0"
-SLOT="0"
+SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples glpk metis mumps sparse static-libs test"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/coinor-clp/
@ 2013-05-26 17:38 Sebastien Fabbro
0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2013-05-26 17:38 UTC (permalink / raw
To: gentoo-commits
commit: 1c796c4f1bc93ee9dee20ce0c5765bc01d03e97b
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sun May 26 16:12:52 2013 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun May 26 16:12:52 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1c796c4f
sci-libs/coinor-clp: Version bump
Package-Manager: portage-2.2.01.21938-prefix
RepoMan-Options: --force
---
sci-libs/coinor-clp/ChangeLog | 6 ++++++
...-clp-1.14.8.ebuild => coinor-clp-1.15.0.ebuild} | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/sci-libs/coinor-clp/ChangeLog b/sci-libs/coinor-clp/ChangeLog
index da3df7e..96afefe 100644
--- a/sci-libs/coinor-clp/ChangeLog
+++ b/sci-libs/coinor-clp/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*coinor-clp-1.15.0 (26 May 2013)
+
+ 26 May 2013; Sébastien Fabbro <bicatali@gentoo.org> +coinor-clp-1.15.0.ebuild,
+ -coinor-clp-1.14.8.ebuild:
+ sci-libs/coinor-clp: Version bump
+
*coinor-clp-1.14.8 (29 Jan 2013)
29 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> +coinor-clp-1.14.8.ebuild,
diff --git a/sci-libs/coinor-clp/coinor-clp-1.14.8.ebuild b/sci-libs/coinor-clp/coinor-clp-1.15.0.ebuild
similarity index 98%
rename from sci-libs/coinor-clp/coinor-clp-1.14.8.ebuild
rename to sci-libs/coinor-clp/coinor-clp-1.15.0.ebuild
index a745ae2..ffafc7e 100644
--- a/sci-libs/coinor-clp/coinor-clp-1.14.8.ebuild
+++ b/sci-libs/coinor-clp/coinor-clp-1.15.0.ebuild
@@ -4,6 +4,7 @@
EAPI=5
+AUTOTOOLS_IN_SOURCE_BUILD=yes
inherit autotools-utils multilib toolchain-funcs
MYPN=Clp
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/coinor-clp/
@ 2013-01-29 22:30 Sebastien Fabbro
0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2013-01-29 22:30 UTC (permalink / raw
To: gentoo-commits
commit: 4d1ba9c84e40ca06aa0f62b8b337137515c1a8e3
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 29 20:07:45 2013 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Jan 29 20:07:45 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4d1ba9c8
sci-libs/coinor-clp: Version bump
Package-Manager: portage-2.2.01.21688-prefix
---
sci-libs/coinor-clp/ChangeLog | 8 +++++++-
...-clp-1.14.6.ebuild => coinor-clp-1.14.8.ebuild} | 13 +++++++------
2 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/sci-libs/coinor-clp/ChangeLog b/sci-libs/coinor-clp/ChangeLog
index 337fc41..da3df7e 100644
--- a/sci-libs/coinor-clp/ChangeLog
+++ b/sci-libs/coinor-clp/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for sci-libs/coinor-clp
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*coinor-clp-1.14.8 (29 Jan 2013)
+
+ 29 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> +coinor-clp-1.14.8.ebuild,
+ -coinor-clp-1.14.6.ebuild:
+ sci-libs/coinor-clp: Version bump
+
*coinor-clp-1.14.6 (16 Jul 2012)
16 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +coinor-clp-1.14.6.ebuild,
diff --git a/sci-libs/coinor-clp/coinor-clp-1.14.6.ebuild b/sci-libs/coinor-clp/coinor-clp-1.14.8.ebuild
similarity index 91%
rename from sci-libs/coinor-clp/coinor-clp-1.14.6.ebuild
rename to sci-libs/coinor-clp/coinor-clp-1.14.8.ebuild
index 830ae2e..a745ae2 100644
--- a/sci-libs/coinor-clp/coinor-clp-1.14.6.ebuild
+++ b/sci-libs/coinor-clp/coinor-clp-1.14.8.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
-inherit autotools-utils multilib
+inherit autotools-utils multilib toolchain-funcs
MYPN=Clp
@@ -17,7 +17,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples glpk metis mumps sparse static-libs test"
-RDEPEND="sci-libs/coinor-osi
+RDEPEND="
+ sci-libs/coinor-osi
sci-libs/coinor-utils
glpk? ( sci-mathematics/glpk )
metis? ( || ( sci-libs/metis sci-libs/parmetis ) )
@@ -68,8 +69,8 @@ src_configure() {
fi
if use metis; then
myeconfargs+=(
- --with-metis-incdir="$(pkg-config --cflags metis | sed s/-I//)"
- --with-metis-lib="$(pkg-config --libs metis)" )
+ --with-metis-incdir="$($(tc-getPKG_CONFIG) --cflags metis | sed s/-I//)"
+ --with-metis-lib="$($(tc-getPKG_CONFIG) --libs metis)" )
else
myeconfargs+=( --without-metis )
fi
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/coinor-clp/
@ 2012-07-16 23:21 Sebastien Fabbro
0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2012-07-16 23:21 UTC (permalink / raw
To: gentoo-commits
commit: 2c6969568881d0a7694a2fcb571c9e05be14db6b
Author: Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Mon Jul 16 22:21:03 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Jul 16 22:21:03 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2c696956
sci-libs/coinor-clp: Initial import
(Portage version: 2.2.01.20757-prefix/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
---
sci-libs/coinor-clp/ChangeLog | 9 ++
sci-libs/coinor-clp/coinor-clp-1.14.6.ebuild | 111 ++++++++++++++++++++++++++
sci-libs/coinor-clp/metadata.xml | 20 +++++
3 files changed, 140 insertions(+), 0 deletions(-)
diff --git a/sci-libs/coinor-clp/ChangeLog b/sci-libs/coinor-clp/ChangeLog
new file mode 100644
index 0000000..337fc41
--- /dev/null
+++ b/sci-libs/coinor-clp/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-libs/coinor-clp
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*coinor-clp-1.14.6 (16 Jul 2012)
+
+ 16 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +coinor-clp-1.14.6.ebuild,
+ +metadata.xml:
+ sci-libs/coinor-clp: Initial import
diff --git a/sci-libs/coinor-clp/coinor-clp-1.14.6.ebuild b/sci-libs/coinor-clp/coinor-clp-1.14.6.ebuild
new file mode 100644
index 0000000..830ae2e
--- /dev/null
+++ b/sci-libs/coinor-clp/coinor-clp-1.14.6.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit autotools-utils multilib
+
+MYPN=Clp
+
+DESCRIPTION="COIN-OR Linear Programming solver"
+HOMEPAGE="https://projects.coin-or.org/Clp/"
+SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
+
+LICENSE="EPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples glpk metis mumps sparse static-libs test"
+
+RDEPEND="sci-libs/coinor-osi
+ sci-libs/coinor-utils
+ glpk? ( sci-mathematics/glpk )
+ metis? ( || ( sci-libs/metis sci-libs/parmetis ) )
+ mumps? ( sci-libs/mumps )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )
+ test? ( sci-libs/coinor-sample )"
+
+S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
+
+src_prepare() {
+ # as-needed fix
+ # hack to avoid eautoreconf (coinor has its own weird autotools)
+ sed -i \
+ -e 's:\(libOsiClp_la_LIBADD.*=\).*:\1 $(top_builddir)/src/libClp.la:g' \
+ src/OsiClp/Makefile.in || die
+ sed -i \
+ -e 's:\(libClp_la_LIBADD.*=\).*:\1 @CLPLIB_LIBS@:g' \
+ src/Makefile.in || die
+
+ if has_version sci-libs/mumps[-mpi]; then
+ ln -s "${EPREFIX}"/usr/include/mpiseq/mpi.h src/mpi.h
+ elif has_version sci-libs/mumps[mpi]; then
+ export CXX=mpicxx
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with doc dot)
+ )
+ if use glpk; then
+ myeconfargs+=(
+ --with-glpk-incdir="${EPREFIX}"/usr/include
+ --with-glpk-lib=-lglpk )
+ else
+ myeconfargs+=( --without-glpk )
+ fi
+ if use sparse; then
+ myeconfargs+=(
+ --with-amd-incdir="${EPREFIX}"/usr/include
+ --with-amd-lib=-lamd
+ --with-cholmod-incdir="${EPREFIX}"/usr/include
+ --with-cholmod-lib=-lcholmod )
+ else
+ myeconfargs+=( --without-amd --without-cholmod )
+ fi
+ if use metis; then
+ myeconfargs+=(
+ --with-metis-incdir="$(pkg-config --cflags metis | sed s/-I//)"
+ --with-metis-lib="$(pkg-config --libs metis)" )
+ else
+ myeconfargs+=( --without-metis )
+ fi
+ if use mumps; then
+ myeconfargs+=(
+ --with-mumps-incdir="${EPREFIX}"/usr/include
+ --with-mumps-lib="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" )
+ else
+ myeconfargs+=( --without-mumps )
+ fi
+
+ PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ # hack for parallel build, to overcome not patching Makefile.am above
+ autotools-utils_src_compile -C src libClp.la
+ autotools-utils_src_compile all $(use doc && echo doxydoc)
+}
+
+src_test() {
+ pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die
+ emake test
+ popd > /dev/null || die
+}
+
+src_install() {
+ use doc && HTML_DOC=("${AUTOTOOLS_BUILD_DIR}/doxydocs/html/")
+ # hack for parallel install, to overcome not patching Makefile.am above
+ autotools-utils_src_install -C src install-am
+ autotools-utils_src_install
+ # already installed
+ rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/sci-libs/coinor-clp/metadata.xml b/sci-libs/coinor-clp/metadata.xml
new file mode 100644
index 0000000..8c7fb98
--- /dev/null
+++ b/sci-libs/coinor-clp/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ Clp (Coin-or linear programming) is an open-source linear
+ programming solver written in C++. It is primarily meant to be used
+ as a callable library, but a basic, stand-alone executable version
+ is also available. It is designed to find solutions of constrained
+ linear mathematical optimization problems.
+</longdescription>
+<use>
+ <flag name='glpk'>Enable GNU Linear Programming Kit
+ <pkg>sci-mathematics/glpk</pkg> support</flag>
+ <flag name='metis'>Enable partitioning with
+ <pkg>sci-libs/metis</pkg></flag>
+ <flag name='mumps'>Enable <pkg>sci-libs/mumps</pkg> support</flag>
+ <flag name='sparse'>Enable support for sparse matrix with <pkg>sci-libs/cholmod</pkg></flag>
+</use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-12-08 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-08 5:00 [gentoo-commits] proj/sci:master commit in: sci-libs/coinor-clp/ Sebastien Fabbro
-- strict thread matches above, loose matches on Subject: below --
2013-05-26 17:38 Sebastien Fabbro
2013-01-29 22:30 Sebastien Fabbro
2012-07-16 23:21 Sebastien Fabbro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox