From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4889013835A for ; Sat, 27 Feb 2021 03:08:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BA7BE08C8; Sat, 27 Feb 2021 03:08:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C82FE08C8 for ; Sat, 27 Feb 2021 03:08:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 17F3F3410FB for ; Sat, 27 Feb 2021 03:08:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 481F3567 for ; Sat, 27 Feb 2021 03:08:15 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1614395191.1bc87d66b2ae80e6018afefa4a92e2b850a222d9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-mp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/coinor-mp/Manifest sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild X-VCS-Directories: sci-libs/coinor-mp/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1bc87d66b2ae80e6018afefa4a92e2b850a222d9 X-VCS-Branch: master Date: Sat, 27 Feb 2021 03:08:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e2912fe6-6c6f-4184-8f9c-8cbfca12d89d X-Archives-Hash: 1641ba1fb528a3185eedacf550ca4bc7 commit: 1bc87d66b2ae80e6018afefa4a92e2b850a222d9 Author: Ionen Wolkens gmail com> AuthorDate: Fri Feb 26 10:16:44 2021 +0000 Commit: Sam James gentoo 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 gmail.com> Signed-off-by: Sam James 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 +}