From 2715a4b0e42cd4e8e90d2529bf207e9124af0597 Mon Sep 17 00:00:00 2001 From: Sébastien Fabbro Date: Tue, 29 Jan 2013 12:14:27 -0800 Subject: sci-libs/coinor-symphony: Version bump Package-Manager: portage-2.2.01.21688-prefix --- sci-libs/coinor-symphony/ChangeLog | 8 +- sci-libs/coinor-symphony/Manifest | 2 +- .../coinor-symphony/coinor-symphony-5.4.4.ebuild | 94 ---------------------- .../coinor-symphony/coinor-symphony-5.4.6.ebuild | 89 ++++++++++++++++++++ 4 files changed, 97 insertions(+), 96 deletions(-) delete mode 100644 sci-libs/coinor-symphony/coinor-symphony-5.4.4.ebuild create mode 100644 sci-libs/coinor-symphony/coinor-symphony-5.4.6.ebuild diff --git a/sci-libs/coinor-symphony/ChangeLog b/sci-libs/coinor-symphony/ChangeLog index c4866cdbb..fb790918e 100644 --- a/sci-libs/coinor-symphony/ChangeLog +++ b/sci-libs/coinor-symphony/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for sci-libs/coinor-symphony -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*coinor-symphony-5.4.6 (29 Jan 2013) + + 29 Jan 2013; Sébastien Fabbro + +coinor-symphony-5.4.6.ebuild, -coinor-symphony-5.4.4.ebuild: + sci-libs/coinor-symphony: Version bump + *coinor-symphony-5.4.4 (17 Jul 2012) 17 Jul 2012; Sébastien Fabbro diff --git a/sci-libs/coinor-symphony/Manifest b/sci-libs/coinor-symphony/Manifest index ef792c950..7943571d4 100644 --- a/sci-libs/coinor-symphony/Manifest +++ b/sci-libs/coinor-symphony/Manifest @@ -1 +1 @@ -DIST SYMPHONY-5.4.4.tgz 7003599 SHA256 7572175e3e8c6ea33bebce177bd6fea116f31a3dcd47b0652eb051a09b5f888a SHA512 f47fe91838d9928e825a950f58ef83f92285a839b71dff5557bac9706fa3257c2b54d7af56c8b6c4abb3e499519a52a29eba95036098eaf5782f2a34e650f5f2 WHIRLPOOL 2648358d8954f112d369191dc5bc394d2cfe3df05cb9c8f137fb351c61af2758c9b1ec4f17642b2fbcafccbb6b95b6782227ae1f5c8aab5f641bea4acdfccdbd +DIST SYMPHONY-5.4.6.tgz 7007384 SHA256 68746cf3f5f1437860ba17f28639aebd4328edb996d82deb2f5ebe5504deeaf3 SHA512 a320115b2ed7a7e8b80420498d8caf9ab4fa4e03b8c7b0e389d525bde5111143f99820c4a9b1bb29cd6bcc91b5a049a0e6e0d8eb1fee09063f4b8be8d712de59 WHIRLPOOL a994e8b1e436e0472c162c7d0fdfa273e611c063e226033363a4f1f3ac4765fc5f2897bd59759bc136e0bf9ffd15c7214c169a605d6d473f4a190d3010aa7fee diff --git a/sci-libs/coinor-symphony/coinor-symphony-5.4.4.ebuild b/sci-libs/coinor-symphony/coinor-symphony-5.4.4.ebuild deleted file mode 100644 index 56f33b157..000000000 --- a/sci-libs/coinor-symphony/coinor-symphony-5.4.4.ebuild +++ /dev/null @@ -1,94 +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=SYMPHONY - -DESCRIPTION="COIN-OR solver for mixed-integer linear programs" -HOMEPAGE="https://projects.coin-or.org/SYMPHONY/" -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 static-libs test" - -RDEPEND=" - sci-libs/coinor-cgl - sci-libs/coinor-clp - sci-libs/coinor-dylp - sci-libs/coinor-osi - sci-libs/coinor-utils - sci-libs/coinor-vol - glpk? ( sci-mathematics/glpk )" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( virtual/latex-base ) - 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:\(libOsiSym_la_LIBADD.*=\).*:\1 $(top_builddir)/src/libSym.la:' \ - src/OsiSym/Makefile.in || die - sed -i \ - -e 's:\(libSym_la_LIBADD.*=\).*:\1 @SYMPHONYLIB_LIBS@:g' \ - src/Makefile.in || die - - # bug for later versions of subversions - sed -i \ - -e 's/xexported/xexported -a "x$svn_rev_tmp" != "xUnversioned directory"/' \ - configure || die -} - -src_configure() { - local myeconfargs=() - if use glpk; then - myeconfargs+=( - --with-glpk-incdir="${EPREFIX}"/usr/include - --with-glpk-lib=-lglpk ) - else - myeconfargs+=( --without-glpk ) - 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 libSym.la - autotools-utils_src_compile - if use doc; then - pushd Doc /dev/null - pdflatex Walkthrough && pdflatex Walkthrough - # does not compile and doc is online - #pdflatex man && pdflatex man - popd > /dev/null - fi -} - -src_test() { - pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die - emake test - popd > /dev/null || die -} - -src_install() { - # hack for parallel install, to overcome not patching Makefile.am above - autotools-utils_src_install -C src install-am - autotools-utils_src_install - use doc && dodoc Doc/Walkthrough.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-symphony/coinor-symphony-5.4.6.ebuild b/sci-libs/coinor-symphony/coinor-symphony-5.4.6.ebuild new file mode 100644 index 000000000..06083e55a --- /dev/null +++ b/sci-libs/coinor-symphony/coinor-symphony-5.4.6.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools-utils multilib + +MYPN=SYMPHONY + +DESCRIPTION="COIN-OR solver for mixed-integer linear programs" +HOMEPAGE="https://projects.coin-or.org/SYMPHONY/" +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 static-libs test" + +RDEPEND=" + sci-libs/coinor-cgl + sci-libs/coinor-clp + sci-libs/coinor-dylp + sci-libs/coinor-osi + sci-libs/coinor-utils + sci-libs/coinor-vol + glpk? ( sci-mathematics/glpk )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( virtual/latex-base ) + 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:\(libOsiSym_la_LIBADD.*=\).*:\1 $(top_builddir)/src/libSym.la:' \ + src/OsiSym/Makefile.in || die + sed -i \ + -e 's:\(libSym_la_LIBADD.*=\).*:\1 @SYMPHONYLIB_LIBS@:g' \ + src/Makefile.in || die +} + +src_configure() { + local myeconfargs=() + if use glpk; then + myeconfargs+=( + --with-glpk-incdir="${EPREFIX}"/usr/include + --with-glpk-lib=-lglpk ) + else + myeconfargs+=( --without-glpk ) + 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 libSym.la + autotools-utils_src_compile + if use doc; then + pushd Doc /dev/null + pdflatex Walkthrough && pdflatex Walkthrough + # does not compile and doc is online + #pdflatex man && pdflatex man + popd > /dev/null + fi +} + +src_test() { + pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die + emake test + popd > /dev/null || die +} + +src_install() { + # hack for parallel install, to overcome not patching Makefile.am above + autotools-utils_src_install -C src install-am + autotools-utils_src_install + use doc && dodoc Doc/Walkthrough.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 +} -- cgit v1.2.3-65-gdbad