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 2CB91138334 for ; Thu, 30 May 2019 19:18:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4869BE087E; Thu, 30 May 2019 19:18:07 +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 1854FE087E for ; Thu, 30 May 2019 19:18:07 +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 1244834538A for ; Thu, 30 May 2019 19:18:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9DBA5FA for ; Thu, 30 May 2019 19:18:04 +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: <1559243866.d47c08e9aa2d668e2082afe0a79f39c821c9e63e.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ada/libadalang/libadalang-2018-r1.ebuild dev-ada/libadalang/metadata.xml X-VCS-Directories: dev-ada/libadalang/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: d47c08e9aa2d668e2082afe0a79f39c821c9e63e X-VCS-Branch: master Date: Thu, 30 May 2019 19:18:04 +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: a59311cb-03b0-40d1-a287-05fc52e742c3 X-Archives-Hash: b8bd04fbda11620de8174f822041ad07 commit: d47c08e9aa2d668e2082afe0a79f39c821c9e63e Author: Tupone Alfredo gentoo org> AuthorDate: Thu May 30 19:17:46 2019 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Thu May 30 19:17:46 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d47c08e9 dev-ada/libadalang: enable build with gnat-gpl-2019 Signed-off-by: Alfredo Tupone gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ada/libadalang/libadalang-2018-r1.ebuild | 60 ++++++++++++++++++++++++++++ dev-ada/libadalang/metadata.xml | 1 + 2 files changed, 61 insertions(+) diff --git a/dev-ada/libadalang/libadalang-2018-r1.ebuild b/dev-ada/libadalang/libadalang-2018-r1.ebuild new file mode 100644 index 00000000000..8bb71fe888b --- /dev/null +++ b/dev-ada/libadalang/libadalang-2018-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +MYP=${PN}-gpl-${PV}-src +DESCRIPTION="high performance semantic engine for the Ada programming language" +HOMEPAGE="https://libre.adacore.com/" +SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18 + -> ${MYP}.tar.gz" + +LICENSE="GPL-3 gcc-runtime-library-exception-3.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnat_2016 gnat_2017 +gnat_2018 gnat_2019 +shared static-libs" + +RDEPEND="dev-python/pyyaml + dev-ada/gnatcoll-bindings[gnat_2016=,gnat_2017=,gnat_2018=,gnat_2019=] + dev-ada/gnatcoll-bindings[iconv,shared=,static-libs=] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + >=dev-ada/langkit-2018" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S="${WORKDIR}"/${MYP} + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${PN}-2017-gentoo.patch +) + +src_configure() { + ada/manage.py -v debug generate || die +} + +src_compile() { + ada/manage.py \ + -v \ + $(use_enable shared) \ + $(use_enable static-libs static) \ + build \ + --build-mode='prod' || die +} + +src_test () { + ada/manage.py test | grep FAILED && die +} + +src_install () { + ada/manage.py \ + $(use_enable shared) \ + $(use_enable static-libs static) \ + install "${D}"usr || die + python_domodule build/python/libadalang.py + rm -r "${D}"usr/python || die +} diff --git a/dev-ada/libadalang/metadata.xml b/dev-ada/libadalang/metadata.xml index a2f3f091000..5ed09e4fd91 100644 --- a/dev-ada/libadalang/metadata.xml +++ b/dev-ada/libadalang/metadata.xml @@ -9,6 +9,7 @@ Compile with dev-lang/gnat-gpl-2016 Compile with dev-lang/gnat-gpl-2017 Compile with dev-lang/gnat-gpl-2018 + Compile with dev-lang/gnat-gpl-2019 Build shared library