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 628131382C5 for ; Sat, 27 Feb 2021 03:08:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7D97E08F9; Sat, 27 Feb 2021 03:08:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 94FFCE08F9 for ; Sat, 27 Feb 2021 03:08:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 61DFB341114 for ; Sat, 27 Feb 2021 03:08:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD579585 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: <1614395195.f1a3595a143380ff2ef6f9c54f4b5f4a161b138d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-symphony/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/coinor-symphony/Manifest sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild X-VCS-Directories: sci-libs/coinor-symphony/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f1a3595a143380ff2ef6f9c54f4b5f4a161b138d 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: 2880a9bc-dd1e-4036-9d25-f5f2e3a47a50 X-Archives-Hash: d44f85faab59bada8407bf0ac505cdd7 commit: f1a3595a143380ff2ef6f9c54f4b5f4a161b138d Author: Ionen Wolkens gmail com> AuthorDate: Fri Feb 26 12:20:17 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 27 03:06:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a3595a sci-libs/coinor-symphony: bump to 5.6.17, ported to EAPI 7 Has reworked old workarounds and added doc deps. USE=examples removed, now installed unconditionally (small files). USE=doc now generates the pdf manual. USE=static-libs removed. Fixed directory change for USE=doc (bug #608114). Closes: https://bugs.gentoo.org/608114 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-symphony/Manifest | 1 + .../coinor-symphony/coinor-symphony-5.6.17.ebuild | 71 ++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/sci-libs/coinor-symphony/Manifest b/sci-libs/coinor-symphony/Manifest index 9213d2becad..0dbf8ac5248 100644 --- a/sci-libs/coinor-symphony/Manifest +++ b/sci-libs/coinor-symphony/Manifest @@ -1 +1,2 @@ DIST SYMPHONY-5.5.7.tgz 7628863 BLAKE2B 8578cc341a2114642911bff68cf260dd6c5974b70ef3deebf9f7ea51f580be809dd1224a18dbd0744e9acf3b1ce9d5bdf90a1e97b53bcd01529978a816e26c6c SHA512 a3ce66b0b1373c58024ce6840277423a1a3684af8e3179a777fbb33a8d266849ae1cde694a527c3776ff67ce0a5ae3c2bfe0dc29f4e0b3ca51ddc2b299eefb24 +DIST coinor-symphony-5.6.17.tar.gz 1848015 BLAKE2B 0e1222f51809fb836530000348351d0e2a0928ec898a11ec21d2b0cad88a2ee4a635bc91a6d92607af67cf7d44a7187683528dd2a37b288fee1b2d947058d7b1 SHA512 eb0022184b1d0325729bb8f5390093ff1cfdfc87edf1dfdf20e62f07830c69604ec373b69c6de13755611a8e96f79ee8d1009efde0a35c9e7c0fab6652375ff7 diff --git a/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild b/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild new file mode 100644 index 00000000000..afda01465ac --- /dev/null +++ b/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="COIN-OR solver for mixed-integer linear programs" +HOMEPAGE="https://projects.coin-or.org/SYMPHONY/" +SRC_URI="https://github.com/coin-or/SYMPHONY/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/SYMPHONY-releases-${PV}/SYMPHONY" + +LICENSE="EPL-1.0" +SLOT="0/3" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc glpk test" +RESTRICT="!test? ( 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}" +BDEPEND=" + virtual/pkgconfig + doc? ( + dev-tex/latex2html + dev-texlive/texlive-latexextra + virtual/latex-base + ) + test? ( sci-libs/coinor-sample )" + +src_prepare() { + default + # Prevent unneeded call to pkg-config that needs ${ED}'s in path. + sed -i '/--libs.*addlibs.txt/d' Makefile.in || die + + # Fix manual color errors. + sed -i 's/usenames/usenames,dvipsnames/' Doc/man.tex || die +} + +src_configure() { + econf $(usex glpk --with-glpk-lib=-lglpk --without-glpk) +} + +src_compile() { + default + if use doc; then + pushd Doc && pdflatex Walkthrough && pdflatex man && popd || die + fi +} + +src_test() { + # Needed given "make check" is a noop and it skips the working one. + emake test +} + +src_install() { + default + use doc && dodoc Doc/*.pdf + + # Other coinor-* use lowercase e, stay in-line with them. + docinto examples + dodoc -r Examples/* + + # Duplicate or irrelevant files. + rm -r "${ED}"/usr/share/coin/doc || die + find "${ED}" -name '*.la' -delete || die +}