From f4106f0cb3d17dc4c85cd4d45816e2c18a8d29e2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 20 Mar 2024 01:00:14 +0000 Subject: gentoo auto-resync : 20:03:2024 - 01:00:13 --- dev-ada/libadalang-tools/Manifest | 2 +- .../libadalang-tools-24.0.0-r1.ebuild | 71 ++++++++++++++++++++++ .../libadalang-tools-24.0.0.ebuild | 71 ---------------------- 3 files changed, 72 insertions(+), 72 deletions(-) create mode 100644 dev-ada/libadalang-tools/libadalang-tools-24.0.0-r1.ebuild delete mode 100644 dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild (limited to 'dev-ada/libadalang-tools') diff --git a/dev-ada/libadalang-tools/Manifest b/dev-ada/libadalang-tools/Manifest index f461b631cf62..9a1645482aed 100644 --- a/dev-ada/libadalang-tools/Manifest +++ b/dev-ada/libadalang-tools/Manifest @@ -1,5 +1,5 @@ DIST libadalang-tools-23.0.0.tar.gz 1101324 BLAKE2B 6bfa794a243126bc5b70b7ab89fd08c9591d009b2a6dc749298804699cec8a067c9babd38d31048eea31a625c6fd5a2a9f6e49cfd97fa371d46a975c5407a65f SHA512 922a0b72ac9fa2a7ce3fa70aa360e67c987ee4ddfb77199a8e63092df640f3d7dc8ebc01d88cce8b97ef91ed6af1fd3555fb7c223cdae91bbdda5e336b3d067e DIST libadalang-tools-24.0.0.tar.gz 1083580 BLAKE2B e3d7cb94500afaebb00ba3f727b903cfd6ea57b02efccbf0dc61ef0d625dd06364b67a94c236c4cc8e4eee955e1767b0eb73122895a8f3edfb05c5fea57e18d8 SHA512 982fefa454108a604a67a0ec0d33fc420ccbbc4c03f01eb1cfbfe57cb51ca3bf13eef465775dab0843b5573663150e6d185b3a3887cc1cbcc5a353214842f223 EBUILD libadalang-tools-23.0.0-r2.ebuild 1685 BLAKE2B 96f84bc47a13ce306c6209c98430e1299e56cf31febbc7c5cbac2bba158b11d41da33756923034ba761d050e264e0f1f34eae3494a3d97b6638985798d47641c SHA512 78e6a06c23b80c696a9cfeb9af6fe6d11d11908219540452c96728fc37f55771b2fa683c68db193dfc05233f6a843041a17054c6e8f6a70db13914d952f80712 -EBUILD libadalang-tools-24.0.0.ebuild 1713 BLAKE2B 33a1aa44f3f0695c0f3f3ab56ca6c95cd6fc407d896f6116bec82087f1cf7cdfb202476610dcad185f392d7abf4872f4f2850258e2b0ed89422761e74b894df4 SHA512 290cab956407c18818ae29db07b2978552107b70358f8376efe387c77d589d5ab4754c8ade95c2c6fcdb4a5cd7ecd3c49e1e6c4494f72f299fcb38ad688cbdda +EBUILD libadalang-tools-24.0.0-r1.ebuild 1734 BLAKE2B 9132e2b58a7497bb83d657564c10d8ec49a0d516ee85e75f71c7eb820eb800e70dd855654ddf72f06ce516b32c3923f52c4c8b46d0d2bca9f3e134aa704b3718 SHA512 ea0cf3488606e0102a92bd925d5fbf77baa4ea586fcdfda52c2f6d357461fdce26fdb1ac59a003cc5b22a741dc10bd64c66030aca851fd4f76e547ba412c6200 MISC metadata.xml 438 BLAKE2B f0d65575ba5329888a28fa4b9c2c68365db7e3e30c892889a30e7d0fa94e4de08ceab1c3ba61d8e4c6c39888304d5a674c15095fb223df11529abd1c8468aa86 SHA512 d32995545a62f04f3504f54868c58e8449d19e62bb06b7b63ce14596ed9ee78c5028111ea2111433c200068f69bac0bb3e37989a004e43e7e3f60d115ac498d5 diff --git a/dev-ada/libadalang-tools/libadalang-tools-24.0.0-r1.ebuild b/dev-ada/libadalang-tools/libadalang-tools-24.0.0-r1.ebuild new file mode 100644 index 000000000000..3954f2dfb8db --- /dev/null +++ b/dev-ada/libadalang-tools/libadalang-tools-24.0.0-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) +inherit ada multiprocessing + +DESCRIPTION="Libadalang-based tools: gnatpp, gnatmetric and gnatstub" +HOMEPAGE="https://www.adacore.com/community" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+shared static-libs static-pic" + +RESTRICT="test" + +REQUIRED_USE="|| ( shared static-libs static-pic ) + ${ADA_REQUIRED_USE}" + +RDEPEND="${ADA_DEPS} + dev-ada/templates-parser[${ADA_USEDEP},shared?,static-libs?] + dev-ada/VSS[${ADA_USEDEP}]" +DEPEND="${RDEPEND} + dev-ada/libadalang:=[${ADA_USEDEP},static-libs?,static-pic?]" +BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]" + +src_compile() { + build () { + gprbuild -v -k -XLIBRARY_TYPE=$1 -XBUILD_MODE=prod \ + -P src/lal_tools.gpr -p -j$(makeopts_jobs) \ + -cargs:Ada ${ADAFLAGS} || die + gprbuild -v -k -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \ + -XBUILD_MODE=prod -XLALTOOLS_SET=all \ + -P src/build.gpr -p -j$(makeopts_jobs) \ + -cargs:Ada ${ADAFLAGS} || die + } + if use shared; then + build relocatable + fi + if use static-libs; then + build static + fi + if use static-pic; then + build static-pic + fi +} + +src_install() { + build () { + gprinstall -XLIBRARY_TYPE=$1 -XBUILD_MODE=prod \ + --prefix="${D}"/usr --sources-subdir=include/lal_tools \ + --build-name=$1 --build-var=LIBRARY_TYPE \ + --build-var=LAL_TOOLS_BUILD \ + -P src/lal_tools.gpr -p -f || die + } + if use shared; then + build relocatable + fi + if use static-libs; then + build static + fi + if use static-pic; then + build static-pic + fi + dobin bin/gnat{metric,pp,stub,test} + einstalldocs +} diff --git a/dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild b/dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild deleted file mode 100644 index dc2603b0c70a..000000000000 --- a/dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) -inherit ada multiprocessing - -DESCRIPTION="Libadalang-based tools: gnatpp, gnatmetric and gnatstub" -HOMEPAGE="https://www.adacore.com/community" -SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+shared static-libs static-pic" - -RESTRICT="test" - -REQUIRED_USE="|| ( shared static-libs static-pic ) - ${ADA_REQUIRED_USE}" - -RDEPEND="${ADA_DEPS} - dev-ada/templates-parser[${ADA_USEDEP}] - dev-ada/VSS[${ADA_USEDEP}]" -DEPEND="${RDEPEND} - dev-ada/libadalang:=[${ADA_USEDEP},static-libs?,static-pic?]" -BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]" - -src_compile() { - build () { - gprbuild -v -k -XLIBRARY_TYPE=$1 -XBUILD_MODE=prod \ - -P src/lal_tools.gpr -p -j$(makeopts_jobs) \ - -cargs:Ada ${ADAFLAGS} || die - gprbuild -v -k -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \ - -XBUILD_MODE=prod -XLALTOOLS_SET=all \ - -P src/build.gpr -p -j$(makeopts_jobs) \ - -cargs:Ada ${ADAFLAGS} || die - } - if use shared; then - build relocatable - fi - if use static-libs; then - build static - fi - if use static-pic; then - build static-pic - fi -} - -src_install() { - build () { - gprinstall -XLIBRARY_TYPE=$1 -XBUILD_MODE=prod \ - --prefix="${D}"/usr --sources-subdir=include/lal_tools \ - --build-name=$1 --build-var=LIBRARY_TYPE \ - --build-var=LAL_TOOLS_BUILD \ - -P src/lal_tools.gpr -p -f || die - } - if use shared; then - build relocatable - fi - if use static-libs; then - build static - fi - if use static-pic; then - build static-pic - fi - dobin bin/gnat{metric,pp,stub,test} - einstalldocs -} -- cgit v1.2.3