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 C177F138334 for ; Sun, 15 Jul 2018 08:21:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACF87E08F6; Sun, 15 Jul 2018 08:21:54 +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 6B2F3E08F6 for ; Sun, 15 Jul 2018 08:21:54 +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 6952A335C7A for ; Sun, 15 Jul 2018 08:21:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E9CE35E for ; Sun, 15 Jul 2018 08:21:50 +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: <1531642893.228032327ba5efdef41a23138d9c4cd2dd74c5e4.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/spark/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/spark/Manifest dev-lang/spark/spark-2018.ebuild X-VCS-Directories: dev-lang/spark/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 228032327ba5efdef41a23138d9c4cd2dd74c5e4 X-VCS-Branch: master Date: Sun, 15 Jul 2018 08:21:50 +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-Archives-Salt: ff22ab6e-531f-4fd0-99f3-c2f2cb5421d1 X-Archives-Hash: fb4cc17833104a5b08f5e81115364aa9 commit: 228032327ba5efdef41a23138d9c4cd2dd74c5e4 Author: Tupone Alfredo gentoo org> AuthorDate: Sun Jul 15 08:21:33 2018 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Sun Jul 15 08:21:33 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22803232 dev-lang/spark: Version bump to 2018 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-lang/spark/Manifest | 2 ++ dev-lang/spark/spark-2018.ebuild | 61 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-lang/spark/Manifest b/dev-lang/spark/Manifest index 459039cb881..e73c276d0b1 100644 --- a/dev-lang/spark/Manifest +++ b/dev-lang/spark/Manifest @@ -1,2 +1,4 @@ DIST gnat-gpl-2017-src.tar.gz 8783473 BLAKE2B b0415b42f4d3a5e8675591a5602ff0a96945670104064671a232c0c12271ee141a3a5d148b8507bdab83cb8a0677c57b78e690060088308c51732bad3715964f SHA512 ae7314a2241107ed4d962dce08306eeb34c5f11e26183935bbb1ccf3a5eb011d6457c1b6fcded93dd0ee9ba31d791971ebe2a5a5a0ae04ff80d87a670325a098 +DIST gnat-gpl-2018-src.tar.gz 8706578 BLAKE2B ba245fd91cc5263d5b8c159d9e75caf6bed21dcaa5fa43734af8775a4008ce5f96bfb84a8b5e6e734ff883314ab3219dacec3fe95a5baa33fb712bfb5ff8bce8 SHA512 0ff7e848ef77f7e772e2a1b01905307a91c332f32329456f5238c4b7eb46cc118709e8682a5fc826d98a7d99fd15a92c194f4a278f04bc465165cfa616cc3c2e DIST spark-gpl-2017-src.tar.gz 19750595 BLAKE2B 840eb9044b732aad16d2b6be9972e4805caf1e1b521ba40cc2a234871775d0212153ed9e9f84b4a2ddbeefc2b9c7d7556db943153655df6051cf4dc3f1be2e01 SHA512 90e7644daa6a935c839da9799c6dc5fe0a566f29c5f5d0a964ef5c888581f18c11adf6aa0151ae72437b91430fae06604dab8c3f1fd3222d749cfd330293ff6e +DIST spark-gpl-2018-src.tar.gz 20244517 BLAKE2B efb8120a869eaf79aa513ea3b3393dcefdb548e66a00a630bfb9d28a59785c15362c111df3635423a7312c491c9929a7bcd8e7161607dc4d3acd6d1c27f3ca3e SHA512 83490a95c2d6401bcd077a8ec508eaf18609b5b480ccd9f247f4bb61164b5e52e34473526cd49ebdf5fd15ac422ed4a121dc50cab96241db02af9e32812a4df8 diff --git a/dev-lang/spark/spark-2018.ebuild b/dev-lang/spark/spark-2018.ebuild new file mode 100644 index 00000000000..e25af28a4b1 --- /dev/null +++ b/dev-lang/spark/spark-2018.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs multiprocessing + +MYP=${PN}-gpl-${PV} + +DESCRIPTION="Software development for high-reliability applications." +HOMEPAGE="http://libre.adacore.com" +SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a47 + -> ${MYP}-src.tar.gz + http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27aa5 + -> gnat-gpl-2018-src.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-lang/gnat-gpl:7.3.1 + dev-ada/gnatcoll-core[gnat_2018,shared] + sci-mathematics/alt-ergo + sci-mathematics/why3-for-spark" +DEPEND="${RDEPEND} + dev-ada/gprbuild[gnat_2018]" + +S="${WORKDIR}"/${MYP}-src + +PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch ) + +src_prepare() { + ln -sf "${WORKDIR}"/gnat-gpl-2018-src/src/ada gnat2why/gnat_src || die + GCC_PV=7.3.1 + sed -i \ + -e "s:gnatmake:gnatmake-${GCC_PV}:g" \ + -e "s:gnatls:gnatls-${GCC_PV}:g" \ + Makefile \ + gnat2why/Makefile || die + default +} + +src_compile() { + emake GPRARGS="-XLIBRARY_TYPE=relocatable" gnat2why + emake PROD="-XLIBRARY_TYPE=relocatable" gnatprove +} + +src_install() { + emake INSTALLDIR="${D}"/usr install + einstalldocs + dosym ../../../lib64/why3/why3server /usr/libexec/spark/bin/why3server + dobin install/bin/gnatprove + mv install/share/doc/spark/* "${D}"/usr/share/doc/${PF} || die + exeinto /usr/libexec/spark/bin + doexe install/bin/gnat2why + doexe install/bin/spark_memcached_wrapper + doexe install/bin/spark_report + doexe install/bin/spark_codepeer_wrapper + mv "${D}"/usr/bin/target.atp "${D}"/usr/libexec/spark/bin || die +}