From 8d74523f0e852a63da058b001627686f7234d6dc Mon Sep 17 00:00:00 2001 From: Sébastien Fabbro Date: Tue, 29 Jan 2013 12:16:38 -0800 Subject: sci-libs/coinor-utils: Version bump Package-Manager: portage-2.2.01.21688-prefix RepoMan-Options: --force --- sci-libs/coinor-utils/ChangeLog | 8 ++- sci-libs/coinor-utils/Manifest | 2 +- sci-libs/coinor-utils/coinor-utils-2.8.6.ebuild | 84 ------------------------ sci-libs/coinor-utils/coinor-utils-2.8.8.ebuild | 85 +++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 86 deletions(-) delete mode 100644 sci-libs/coinor-utils/coinor-utils-2.8.6.ebuild create mode 100644 sci-libs/coinor-utils/coinor-utils-2.8.8.ebuild diff --git a/sci-libs/coinor-utils/ChangeLog b/sci-libs/coinor-utils/ChangeLog index b7f1927d5..ef6030c81 100644 --- a/sci-libs/coinor-utils/ChangeLog +++ b/sci-libs/coinor-utils/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for sci-libs/coinor-utils -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*coinor-utils-2.8.8 (29 Jan 2013) + + 29 Jan 2013; Sébastien Fabbro + +coinor-utils-2.8.8.ebuild, -coinor-utils-2.8.6.ebuild: + sci-libs/coinor-utils: Version bump + *coinor-utils-2.8.6 (16 Jul 2012) 16 Jul 2012; Sébastien Fabbro diff --git a/sci-libs/coinor-utils/Manifest b/sci-libs/coinor-utils/Manifest index 3d5042b16..7c54ead06 100644 --- a/sci-libs/coinor-utils/Manifest +++ b/sci-libs/coinor-utils/Manifest @@ -1 +1 @@ -DIST CoinUtils-2.8.6.tgz 1655164 SHA256 4a38926e41e99cdab35f476b182634cd619782bf30c9686b9cc97beec3b11b28 SHA512 0f7351c9dc968eaf1745fe14dec14af91d4f43d7aa3ebf544833f14903eae7c9c6494257a66bd3e35106720109313958cfa08cbe311a4d2ff5c9df14c2d7efcb WHIRLPOOL f35261acaace0ea79a6693037e79e668ff66ec29e5e58ca9917e0a511238c8f9830ddd5ce7cf522f6e8b1801880ff0dd2a8b19452ee9c521033c45f8ffea78ca +DIST CoinUtils-2.8.8.tgz 1655875 SHA256 6a54058af67aa9eb74b5bf87bea70180b85d7f3907fcd9f613b1b85e57672bc7 SHA512 e98087a58f5362ce6506d8601880595904e3981ceda4aa432a200156d059ebc9b510795b306e5c80bf040934c8676636c7ef85f10e35cb0daaa060450f9f371c WHIRLPOOL a04d4411599a7d80e907f59934d889a21a593a71917cd5fe224a647aebedcf8e2e560829fc68f376c577ee0735d6193d63aac40b55fe3f2f4b6afb2e3c728fec diff --git a/sci-libs/coinor-utils/coinor-utils-2.8.6.ebuild b/sci-libs/coinor-utils/coinor-utils-2.8.6.ebuild deleted file mode 100644 index 01afcb6fa..000000000 --- a/sci-libs/coinor-utils/coinor-utils-2.8.6.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit autotools-utils multilib - -MYPN=CoinUtils - -DESCRIPTION="COIN-OR Matrix, Vector and other utility classes" -HOMEPAGE="https://projects.coin-or.org/CoinUtils/" -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="bzip2 doc glpk blas lapack static-libs test zlib" - -RDEPEND="sys-libs/readline - bzip2? ( app-arch/bzip2 ) - blas? ( virtual/blas ) - glpk? ( sci-mathematics/glpk ) - lapack? ( virtual/lapack ) - zlib? ( sys-libs/zlib )" -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:\(libCoinUtils_la_LIBADD.*=\).*:\1 @COINUTILSLIB_LIBS@:' \ - src/Makefile.in || die -} - -src_configure() { - local myeconfargs=( - $(use_enable zlib) - $(use_enable bzip2 bzlib) - $(use_with doc dot) - ) - if use blas; then - myeconfargs+=( --with-blas-lib="$(pkg-config --libs blas)" ) - else - myeconfargs+=( --without-blas ) - fi - if use glpk; then - myeconfargs+=( - --with-glpk-incdir="${EPREFIX}"/usr/include - --with-glpk-lib=-lglpk - ) - else - myeconfargs+=( --without-glpk ) - fi - if use lapack; then - myeconfargs+=( --with-lapack="$(pkg-config --libs lapack)" ) - else - myeconfargs+=( --without-lapack ) - fi - PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \ - autotools-utils_src_configure -} - -src_compile() { - 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/") - autotools-utils_src_install - # already installed - rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die -} diff --git a/sci-libs/coinor-utils/coinor-utils-2.8.8.ebuild b/sci-libs/coinor-utils/coinor-utils-2.8.8.ebuild new file mode 100644 index 000000000..8109add38 --- /dev/null +++ b/sci-libs/coinor-utils/coinor-utils-2.8.8.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools-utils multilib toolchain-funcs + +MYPN=CoinUtils + +DESCRIPTION="COIN-OR Matrix, Vector and other utility classes" +HOMEPAGE="https://projects.coin-or.org/CoinUtils/" +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="bzip2 doc glpk blas lapack static-libs test zlib" + +RDEPEND=" + sys-libs/readline + bzip2? ( app-arch/bzip2 ) + blas? ( virtual/blas ) + glpk? ( sci-mathematics/glpk ) + lapack? ( virtual/lapack ) + zlib? ( sys-libs/zlib )" +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:\(libCoinUtils_la_LIBADD.*=\).*:\1 @COINUTILSLIB_LIBS@:' \ + src/Makefile.in || die +} + +src_configure() { + local myeconfargs=( + $(use_enable zlib) + $(use_enable bzip2 bzlib) + $(use_with doc dot) + ) + if use blas; then + myeconfargs+=( --with-blas-lib="$($(tc-getPKG_CONFIG) --libs blas)" ) + else + myeconfargs+=( --without-blas ) + fi + if use glpk; then + myeconfargs+=( + --with-glpk-incdir="${EPREFIX}"/usr/include + --with-glpk-lib=-lglpk + ) + else + myeconfargs+=( --without-glpk ) + fi + if use lapack; then + myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" ) + else + myeconfargs+=( --without-lapack ) + fi + PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \ + autotools-utils_src_configure +} + +src_compile() { + 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/") + autotools-utils_src_install + # already installed + rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die +} -- cgit v1.2.3-65-gdbad