dev-ada/libadalang-tools: bump to 2019
authorTupone Alfredo <tupone@gentoo.org>
Fri, 21 Jun 2019 06:48:11 +0000 (08:48 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Fri, 21 Jun 2019 06:48:38 +0000 (08:48 +0200)
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ada/libadalang-tools/Manifest
dev-ada/libadalang-tools/libadalang-tools-2019.ebuild [new file with mode: 0644]
dev-ada/libadalang-tools/metadata.xml

index 042b36d0f86657b3ea1d359d806713914283bf80..1ae7e96d4bffef803471dae890bcee1f77192123 100644 (file)
@@ -1 +1,2 @@
+DIST libadalang-tools-2019-20190517-195C4-src.tar.gz 625775 BLAKE2B 2ec69e307576c505d20a43d229b13404966f4442778e5390da327ae71cc065873de4fff03a720949fa6bfb5ce66f405e7d45f7f0c21032a639efcff208323aed SHA512 b7368606847244cbb08ff2111fabfbfc8a9aa7f58e953febc70838006d94711dba1fd75bfb69ed2081a37a2dfaaad46097127870696c882d7cc54de5d7b051a1
 DIST libadalang-tools-gpl-2018-src.tar.gz 19938182 BLAKE2B 34104f3bc43c165a9b74ba8c0c03ee2f34686bcd06b5ced730f70f654d8b808e129a85566e081830b4f20304c793eefe0af81b56984cf06190302ad2f6a419be SHA512 a1176575944cd88b9da5f4e9f03caa1a4d09358df71e6a91300d0b35c2a843d0ea1a77fbd93e7b7f16cef1b978022ee20991f5c2ff74f7d05878c3de1220f2b5
diff --git a/dev-ada/libadalang-tools/libadalang-tools-2019.ebuild b/dev-ada/libadalang-tools/libadalang-tools-2019.ebuild
new file mode 100644 (file)
index 0000000..f737725
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multiprocessing
+
+MYP=${P}-20190517-195C4
+DESCRIPTION="Libadalang-based tools: gnatpp, gnatmetric and gnatstub"
+HOMEPAGE="https://www.adacore.com/community"
+SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8f4e31e87a8f1d42509f ->
+       ${MYP}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnat_2016 gnat_2017 gnat_2018 +gnat_2019"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       dev-ada/libadalang[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?,static-libs]
+       dev-ada/gprbuild[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]"
+
+S="${WORKDIR}"/${MYP}-src
+
+src_compile() {
+       gprbuild -v -k -XLIBRARY_TYPE=static -XXMLADA_BUILD=static \
+               -XGNATCOLL_GMP_BUILD=static \
+               -P src/build.gpr -p -j$(makeopts_jobs) || die
+}
+
+src_install() {
+       dobin bin/gnatpp
+       newbin bin/gnatmetric gnatmetric-tool
+       newbin bin/gnatstub gnatstub-tool
+       einstalldocs
+}
index 83deb1bafdd0322c38015e83664504b693e8e717..596aff3263a9ad55fa8ba9acbfcfc654f9333e79 100644 (file)
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-       <maintainer type="person">
-               <email>tupone@gentoo.org</email>
-               <name>Tupone Alfredo</name>
+       <maintainer type="project">
+               <email>ada@gentoo.org</email>
        </maintainer>
        <use>
                <flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag>
                <flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag>
                <flag name="gnat_2018">Compile with dev-lang/gnat-gpl-2018</flag>
+               <flag name="gnat_2019">Compile with dev-lang/gnat-gpl-2018</flag>
        </use>
        <longdescription lang="en">
                Libadalang-based tools: gnatpp, gnatmetric and gnatstub