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 A63B11382C5 for ; Sat, 27 Feb 2021 03:08:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD811E08FE; Sat, 27 Feb 2021 03:08:22 +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 B1E2CE08FE for ; Sat, 27 Feb 2021 03:08:22 +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 85586341106 for ; Sat, 27 Feb 2021 03:08:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DDCB591 for ; Sat, 27 Feb 2021 03:08:16 +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: <1614395200.715ff149a4cb25d21cd7970be3ef3988a64f3aea.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-smi/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/coinor-smi/Manifest sci-libs/coinor-smi/coinor-smi-0.96.1.ebuild X-VCS-Directories: sci-libs/coinor-smi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 715ff149a4cb25d21cd7970be3ef3988a64f3aea X-VCS-Branch: master Date: Sat, 27 Feb 2021 03:08:16 +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: aa48e67f-7341-4012-9779-25fa70177611 X-Archives-Hash: 45d1dc53a73eb459cc7ceaf441b77e0d commit: 715ff149a4cb25d21cd7970be3ef3988a64f3aea Author: Ionen Wolkens gmail com> AuthorDate: Fri Feb 26 13:42:58 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 27 03:06:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=715ff149 sci-libs/coinor-smi: bump to 0.96.1, 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-smi/Manifest | 1 + sci-libs/coinor-smi/coinor-smi-0.96.1.ebuild | 53 ++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/sci-libs/coinor-smi/Manifest b/sci-libs/coinor-smi/Manifest index f198065b45e..07030ca08ff 100644 --- a/sci-libs/coinor-smi/Manifest +++ b/sci-libs/coinor-smi/Manifest @@ -1 +1,2 @@ DIST Smi-0.93.4.tgz 4907130 BLAKE2B 329cd05ee42cf2fe0928a9fd9049c0a296632bf6c30bc6ca86f62066ee425982a853223581110b4e3e4d7a6a049e06bbb366802b1a18d175e1dc2a1a38772e9b SHA512 9439b7421475cf5d0c85f529305657e04d1ebb3eca28399b0df0352b52df315e9dceb3f1410ada0b7a6f9447b0e383116fb208d6447994ce1611f019fcace007 +DIST coinor-smi-0.96.1.tar.gz 653402 BLAKE2B 7a81d0c67168ecd7059a814af7ba8fea57c8bc0316db95ea6a8a8a1717d7584ecfafe623b7de6b66908b5f85bc02cd0b1d1781fb7145c901efe6a8ddeb92afe6 SHA512 cadb4c89c0a385b762fab985a6a8880dd659feb4496e39826f337a9a323ea5de1fbed51f4b414b1f6eb36fbd02292ed42a1d216bf54d27f2d5bb242012b571c9 diff --git a/sci-libs/coinor-smi/coinor-smi-0.96.1.ebuild b/sci-libs/coinor-smi/coinor-smi-0.96.1.ebuild new file mode 100644 index 00000000000..e91f6006f74 --- /dev/null +++ b/sci-libs/coinor-smi/coinor-smi-0.96.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="COIN-OR Stochastic modelling interface" +HOMEPAGE="https://projects.coin-or.org/Smi/" +SRC_URI="https://github.com/coin-or/Smi/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/Smi-releases-${PV}/Smi" + +LICENSE="CPL-1.0" +SLOT="0/2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +RDEPEND=" + sci-libs/coinor-clp:= + sci-libs/coinor-flopcpp:= + sci-libs/coinor-osi:= + sci-libs/coinor-utils:=" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] )" + +src_prepare() { + default + # Prevent unneeded call to pkg-config that needs ${ED}'s in path. + sed -i '/--libs.*addlibs.txt/d' Makefile.in || die +} + +src_configure() { + econf $(use_with doc dot) +} + +src_compile() { + emake all $(usex doc doxydoc '') +} + +src_test() { + # Needed given "make check" is a noop and it skips the working one. + emake test +} + +src_install() { + default + dodoc -r examples flopcpp_examples + use doc && dodoc -r doxydoc/html + + # Duplicate or irrelevant files. + rm -r "${ED}"/usr/share/coin/doc || die + find "${ED}" -name '*.la' -delete || die +}