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 ED96F1382C5 for ; Thu, 4 Mar 2021 12:24:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D186E0886; Thu, 4 Mar 2021 12:24:06 +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 13ECBE0886 for ; Thu, 4 Mar 2021 12:24:06 +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 0930F340F28 for ; Thu, 4 Mar 2021 12:24:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68AE8478 for ; Thu, 4 Mar 2021 12:24:03 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1614860630.06abc11382478a3179823a4ee61f573de16e7170.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/frama-c/ X-VCS-Repository: proj/sci X-VCS-Files: sci-mathematics/frama-c/frama-c-20140301.ebuild sci-mathematics/frama-c/frama-c-22.0.ebuild X-VCS-Directories: sci-mathematics/frama-c/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 06abc11382478a3179823a4ee61f573de16e7170 X-VCS-Branch: master Date: Thu, 4 Mar 2021 12:24:03 +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: 5dda9646-2bb5-4c3f-bb71-368575f94a73 X-Archives-Hash: b1ca8f8ae2a990df5d0ff1b78783c784 commit: 06abc11382478a3179823a4ee61f573de16e7170 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Mar 4 12:23:50 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Mar 4 12:23:50 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=06abc113 sci-mathematics/frama-c: version bump 22.0, EAPI bump Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> ...frama-c-20140301.ebuild => frama-c-22.0.ebuild} | 36 +++++++++------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/sci-mathematics/frama-c/frama-c-20140301.ebuild b/sci-mathematics/frama-c/frama-c-22.0.ebuild similarity index 63% rename from sci-mathematics/frama-c/frama-c-20140301.ebuild rename to sci-mathematics/frama-c/frama-c-22.0.ebuild index f29cfe02e..717c61b65 100644 --- a/sci-mathematics/frama-c/frama-c-20140301.ebuild +++ b/sci-mathematics/frama-c/frama-c-22.0.ebuild @@ -1,18 +1,20 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit autotools eutils +inherit autotools + +NAME="Titanium" DESCRIPTION="Framework for analysis of source codes written in C" -HOMEPAGE="http://frama-c.com" -NAME="Neon" -SRC_URI="http://frama-c.com/download/${PN/-c/-c-$NAME}-${PV/_/-}.tar.gz" +HOMEPAGE="https://frama-c.com" +SRC_URI="https://frama-c.com/download/${P}-${NAME}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~amd64" + IUSE="doc gtk +ocamlopt" RESTRICT="strip" @@ -20,6 +22,7 @@ DEPEND=" >=dev-lang/ocaml-3.12.1[ocamlopt?] >=dev-ml/ocamlgraph-1.8.5[gtk?,ocamlopt?] dev-ml/zarith + dev-ml/yojson sci-mathematics/coq sci-mathematics/ltl2ba sci-mathematics/alt-ergo @@ -30,40 +33,29 @@ DEPEND=" )" RDEPEND="${DEPEND}" -S="${WORKDIR}/${PN/-c/-c-$NAME}-${PV/_/-}" +S="${WORKDIR}/${P}-${NAME}" src_prepare(){ touch config_file || die rm -f ocamlgraph.tar.gz || die - epatch "${FILESDIR}/ocamlgraph185_compat.patch" + default eautoreconf } src_configure(){ - if use gtk; then - myconf="--enable-gui" - else - myconf="--disable-gui" - fi - econf ${myconf} + econf "$(use_enable gtk gui )" } src_compile(){ # dependencies can not be processed in parallel, # this is the intended behavior. - emake -j1 depend + emake depend emake all top DESTDIR="/" - if use doc; then - emake -j1 doc doc-tgz - tar -xzf frama-c-api.tar.gz -C doc/ - fi + use doc && emake doc } src_install(){ default - - if use doc; then - dohtml -A svg -r doc/frama-c-api/* - fi + use doc && dodoc -r doc/doxygen/html/* }