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 1EA90138334 for ; Fri, 11 Oct 2019 07:28:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F7AEE0858; Fri, 11 Oct 2019 07:28:40 +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 10CBDE0858 for ; Fri, 11 Oct 2019 07:28:39 +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 728E234BB40 for ; Fri, 11 Oct 2019 07:28:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0860782C for ; Fri, 11 Oct 2019 07:28:36 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1570778890.7db15954ce77fbeacba298e6a9b01fad1f37798a.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/why3-for-spark/, sci-mathematics/why3-for-spark/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/why3-for-spark/Manifest sci-mathematics/why3-for-spark/files/why3-for-spark-2019-gentoo.patch sci-mathematics/why3-for-spark/why3-for-spark-2019.ebuild X-VCS-Directories: sci-mathematics/why3-for-spark/files/ sci-mathematics/why3-for-spark/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 7db15954ce77fbeacba298e6a9b01fad1f37798a X-VCS-Branch: master Date: Fri, 11 Oct 2019 07:28:36 +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: 4d233d1e-bb89-404d-b078-0fadf181ae6f X-Archives-Hash: 13e5559a944b0e2226050c3894a8829b commit: 7db15954ce77fbeacba298e6a9b01fad1f37798a Author: Tupone Alfredo gentoo org> AuthorDate: Fri Oct 11 07:28:10 2019 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Fri Oct 11 07:28:10 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db15954 sci-mathematics/why3-for-spark: version bump to 2019 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alfredo Tupone gentoo.org> sci-mathematics/why3-for-spark/Manifest | 1 + .../files/why3-for-spark-2019-gentoo.patch | 14 ++++ .../why3-for-spark/why3-for-spark-2019.ebuild | 76 ++++++++++++++++++++++ 3 files changed, 91 insertions(+) diff --git a/sci-mathematics/why3-for-spark/Manifest b/sci-mathematics/why3-for-spark/Manifest index 8f9c5c3c62d..e2f1ef56af6 100644 --- a/sci-mathematics/why3-for-spark/Manifest +++ b/sci-mathematics/why3-for-spark/Manifest @@ -1 +1,2 @@ +DIST why3-2019-20190517-197BB-src.tar.gz 9439414 BLAKE2B 68072064e8ee9152528c90afc948047a1f4d58b960ac05b276761fdca5ba1204100c75f33db7bb0ea1a8a646b734e62892ed41bd875b954354f52b8f9d498d4a SHA512 9169a4ff9ee994a19f9f04b689d1b9c679f5340bcd631d7d49b4c55064f505bd5a6ca8149077e5d24d36f5365f0cab58587094e86f352a9105fc46f10c0746ba DIST why3-for-spark-gpl-2018-src.tar.gz 7682767 BLAKE2B 0b0272ca4d5519ca402990b234d0847378bcd2a0949fea78ea10e355233a16aebe79b938cdf8e4daadabb909171cab83b9d6ccacf9f2dc1c0b57bb6da6fd1fe0 SHA512 fc798acf343484fd8e70f470a318753c9a0e9967ff579f20ec185bf3c2a75e7a4a556388fc86a378610ce4a467f3e722c6f610da34d4c33bc3d6b10551731f07 diff --git a/sci-mathematics/why3-for-spark/files/why3-for-spark-2019-gentoo.patch b/sci-mathematics/why3-for-spark/files/why3-for-spark-2019-gentoo.patch new file mode 100644 index 00000000000..f83a6256672 --- /dev/null +++ b/sci-mathematics/why3-for-spark/files/why3-for-spark-2019-gentoo.patch @@ -0,0 +1,14 @@ +--- a/src/gnat/gnat_config.ml 2017-10-18 09:07:03.118919785 +0200 ++++ b/src/gnat/gnat_config.ml 2017-10-18 09:07:45.198216939 +0200 +@@ -12,10 +12,7 @@ + | Limit_Check of Gnat_expl.check + | Limit_Line of Gnat_loc.loc + +-let spark_prefix = +- (Filename.dirname +- (Filename.dirname (Filename.dirname +- (Filename.dirname Sys.executable_name)))) ++let spark_prefix = "/usr" + + let rec file_concat l = + match l with diff --git a/sci-mathematics/why3-for-spark/why3-for-spark-2019.ebuild b/sci-mathematics/why3-for-spark/why3-for-spark-2019.ebuild new file mode 100644 index 00000000000..a0caa7b6cf6 --- /dev/null +++ b/sci-mathematics/why3-for-spark/why3-for-spark-2019.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +MYP=why3-${PV}-20190517-197BB-src + +DESCRIPTION="Platform for deductive program verification" +HOMEPAGE="http://why3.lri.fr/" +SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf915d31e87a8f1c967d54 + -> ${MYP}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="coq doc emacs gtk html hypothesis-selection +ocamlopt profiling zarith zip" +RESTRICT=strip + +DEPEND=">=dev-lang/ocaml-4.02.3[ocamlopt?] + dev-ml/menhir + coq? ( sci-mathematics/coq ) + doc? ( dev-tex/rubber ) + gtk? ( dev-ml/lablgtk[sourceview] ) + emacs? ( virtual/emacs ) + html? ( dev-tex/hevea ) + hypothesis-selection? ( dev-ml/ocamlgraph ) + zarith? ( dev-ml/zarith ) + zip? ( >=dev-ml/camlzip-1.07 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MYP} + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +REQUIRED_USE="html? ( doc )" + +src_configure() { + econf \ + --disable-pvs-libs \ + --disable-isabelle-libs \ + --enable-verbose-make \ + $(use_enable coq coq-libs) \ + $(use_enable doc) \ + $(use_enable emacs emacs-compilation) \ + $(use_enable gtk ide) \ + $(use_enable html html-doc) \ + $(use_enable hypothesis-selection) \ + $(use_enable ocamlopt native-code) \ + $(use_enable profiling) \ + $(use_enable zarith) \ + $(use_enable zip) +} + +src_compile() { + emake -j1 + if use ocamlopt; then + emake byte + fi + use doc && emake doc +} + +src_install() { + emake DESTDIR="${D}" -j1 install + emake DESTDIR="${D}" -j1 install-lib + emake DESTDIR="${D}" install_spark2014_dev + dosym ../why3server /usr/$(get_libdir)/why3/commands/why3server + einstalldocs + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + if use doc; then + dodoc doc/manual.pdf + use html && dodoc -r doc/html + fi +}