commit: 1bc87d66b2ae80e6018afefa4a92e2b850a222d9 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> AuthorDate: Fri Feb 26 10:16:44 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Feb 27 03:06:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc87d66
sci-libs/coinor-mp: bump to 1.8.4, ported to EAPI 7 Has reworked old workarounds and reviewed deps. USE=examples removed, now installed unconditionally (small files). USE=static-libs removed. Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/coinor-mp/Manifest | 1 + sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild | 43 +++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sci-libs/coinor-mp/Manifest b/sci-libs/coinor-mp/Manifest index e04bbe64332..a3fb4b16708 100644 --- a/sci-libs/coinor-mp/Manifest +++ b/sci-libs/coinor-mp/Manifest @@ -1 +1,2 @@ DIST CoinMP-1.7.6.tgz 10343849 BLAKE2B a99fe1f5413bc458b0cfde53606041ecdec45c6ba9b866f083b85dafa04ef9aa2a52aec6ce2f5d6463e2cf9d609567d3079c10490412dcc5bd9c69942982f261 SHA512 1612d43d52d0ee29b4e6ca328e1535c59722dfd5c7a7e0811a4180ad6033ef27111ced6497f9d5cea816c047a4e11c2aed6d1936feac8ded797eeec55d9539ce +DIST coinor-mp-1.8.4.tar.gz 4142865 BLAKE2B 4f3f37378a13236ccab60ed0d9ec0e6716d7df8c264ec26f69e3117aaccf87cbdff42415cd4d86b936ba0fea87681592a66fef610f95ade68f5ea6cd185f4999 SHA512 ecb7761407df0a8d40ac2416fdbdfe62bb5e78f3cc4859e45c0912e6d06ca9b2d4bdf5fda2204bb1813d45289db9e8dbc48cce171950e8c3881d4a3fb3402fab diff --git a/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild b/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild new file mode 100644 index 00000000000..6abaee7ca4e --- /dev/null +++ b/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL" +HOMEPAGE="https://projects.coin-or.org/CoinMP/" +SRC_URI="https://github.com/coin-or/CoinMP/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/CoinMP-releases-${PV}/CoinMP" + +LICENSE="CPL-1.0" +SLOT="0/1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + sci-libs/coinor-cbc:= + sci-libs/coinor-cgl:= + sci-libs/coinor-clp:= + sci-libs/coinor-osi:= + sci-libs/coinor-utils:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + # Prevent unneeded call to pkg-config that needs ${ED}'s in path. + # Also installation of unneeded files in a double ${D}. + sed -i '/--libs.*addlibs.txt/d; s/ install-addlibsDATA//' \ + Makefile.in || die +} + +src_test() { + emake -j1 test +} + +src_install() { + default + dodoc -r examples + + # Duplicate or irrelevant files. + rm -r "${ED}"/usr/share/coin/doc || die + find "${ED}" -name '*.la' -delete || die +}