From ebb07c94f800907e02d2a6b92c1bc757b2f86f49 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Mar 2024 12:50:07 +0000 Subject: gentoo auto-resync : 18:03:2024 - 12:50:07 --- dev-ada/Manifest.gz | Bin 4741 -> 4748 bytes dev-ada/libadalang-tools/Manifest | 2 + .../libadalang-tools-24.0.0.ebuild | 71 +++++++++++++ dev-ada/libadalang/Manifest | 2 +- dev-ada/libadalang/libadalang-24.0.0-r1.ebuild | 111 +++++++++++++++++++++ dev-ada/libadalang/libadalang-24.0.0.ebuild | 110 -------------------- dev-ada/templates-parser/Manifest | 2 + .../templates-parser-24.0.0.ebuild | 45 +++++++++ 8 files changed, 232 insertions(+), 111 deletions(-) create mode 100644 dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild create mode 100644 dev-ada/libadalang/libadalang-24.0.0-r1.ebuild delete mode 100644 dev-ada/libadalang/libadalang-24.0.0.ebuild create mode 100644 dev-ada/templates-parser/templates-parser-24.0.0.ebuild (limited to 'dev-ada') diff --git a/dev-ada/Manifest.gz b/dev-ada/Manifest.gz index 4d7a0fd615bb..6d4d8d404d97 100644 Binary files a/dev-ada/Manifest.gz and b/dev-ada/Manifest.gz differ diff --git a/dev-ada/libadalang-tools/Manifest b/dev-ada/libadalang-tools/Manifest index 8ddbaa383a59..f461b631cf62 100644 --- a/dev-ada/libadalang-tools/Manifest +++ b/dev-ada/libadalang-tools/Manifest @@ -1,3 +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 MISC metadata.xml 438 BLAKE2B f0d65575ba5329888a28fa4b9c2c68365db7e3e30c892889a30e7d0fa94e4de08ceab1c3ba61d8e4c6c39888304d5a674c15095fb223df11529abd1c8468aa86 SHA512 d32995545a62f04f3504f54868c58e8449d19e62bb06b7b63ce14596ed9ee78c5028111ea2111433c200068f69bac0bb3e37989a004e43e7e3f60d115ac498d5 diff --git a/dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild b/dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild new file mode 100644 index 000000000000..dc2603b0c70a --- /dev/null +++ b/dev-ada/libadalang-tools/libadalang-tools-24.0.0.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}] + 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/Manifest b/dev-ada/libadalang/Manifest index 1560b0d9dd70..1771b302dcf9 100644 --- a/dev-ada/libadalang/Manifest +++ b/dev-ada/libadalang/Manifest @@ -2,5 +2,5 @@ AUX libadalang-23.0.0-test.patch 554 BLAKE2B 3f9dd2b8bba0defd745e18e00162116c56c DIST libadalang-23.0.0.tar.gz 2604724 BLAKE2B 0e415c92fdd150e19288cee87a011c448962531b629b7f77be3b22a7e6662017a6cfd5132a5895c68ffee4b28b7ac35e4b5abc07f015a84638ecb1843976e3e5 SHA512 ed80d751d3a2e07b0d612bda24c0f1d753d15237cde3d9e3bbb6c79c8c98d6af050151c499d161e619282ed8cb742968bbfb5423008aa593a6673fcf0375c7d3 DIST libadalang-24.0.0.tar.gz 2783238 BLAKE2B 6d3b3df1dbb645ea8cba8f8088c7cdd40e9114ce2a5100bf93fefe8089d944f185fe343f5fefc35e17f64f5bf4f3dde358a398614db7d1a1b62dd136efdbb334 SHA512 fb2ed8aee075ef5dd66527a099acb5eef9103a8bf244ed437ff9fa38360d7de1712e6375ed98b691a745fa27ef841eb5daa6651641c552c5146986c5ed977131 EBUILD libadalang-23.0.0-r3.ebuild 2590 BLAKE2B b8f45ba99782502511f86cf72352f53206af0d3fc473b80a72d770fe591b7d70b371824c3c186bf17a156f3d89412affdb151416bb0828d95ec68019d89dd335 SHA512 2313f457f2de95994d1133ddeb44cd00e3fbd1bc68e1babe0f01e8adb222f415ed30fb631ba123be407389182270167a814a666a8e2c4e2a1b361ac97802f2f4 -EBUILD libadalang-24.0.0.ebuild 2696 BLAKE2B 05f68706b36f55a226644a4e2ac07c8ea201d8b5cf4b4f6b465675ae957f9ece69ba61da7abd3983fb227820885e005d99688e50e307f8f7ca453996e20b187a SHA512 febedd998efd7ba3f9f6af4c4ffd4904a6bb5cf4df58fd92baf8d0a8cbbd342cf29f9325bc0407761772851d2b513c4d83044cbda3118daa07a2ba42cf085a06 +EBUILD libadalang-24.0.0-r1.ebuild 2726 BLAKE2B 7e3ec5f0bf7963e5dffe056a313888c82453f8f4fb08bf676a6570fbcef39aa9abc8ae7f4c0f53bf3f3957da7954bdf4c1fb4b48fb70d9a8bad21b95013d2f79 SHA512 17a03eefca06f6ebfb0b54313c422701257ab171cd7c3f70525683bdebbda4c92d738205ae6c335221c02ca17f478514b29a83080533d6f0b7a234a8423000a7 MISC metadata.xml 676 BLAKE2B 085445f4e10891044b544d0885a3887a5f8b2d0188ead82eee9e3a351042b171cd3cbfe5ac5910a008e723f74c1f9e96cec5239b91567af28f10c136d5372d6f SHA512 7165db10f2d58592cdf3197778ed42a99d6fa05730ab89ed9faa05146e6d54e3888f7f2841f129c5d2ef5897910348058de4303b105e1ba50ff08e2cbc7831ce diff --git a/dev-ada/libadalang/libadalang-24.0.0-r1.ebuild b/dev-ada/libadalang/libadalang-24.0.0-r1.ebuild new file mode 100644 index 000000000000..3e591acfd999 --- /dev/null +++ b/dev-ada/libadalang/libadalang-24.0.0-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) + +inherit ada python-single-r1 multiprocessing + +DESCRIPTION="high performance semantic engine for the Ada programming language" +HOMEPAGE="https://libre.adacore.com/" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="test +static-libs static-pic" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + ${ADA_REQUIRED_USE}" +# Need java +RESTRICT="test" + +RDEPEND="dev-python/pyyaml + dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv] + dev-ada/gnatcoll-bindings[shared,static-libs?,static-pic?] + ${ADA_DEPS} + ${PYTHON_DEPS} + >=dev-ada/gpr-24.0.0[${ADA_USEDEP},shared,static-libs?,static-pic?] + >=dev-ada/langkit-24.0.0[${ADA_USEDEP},shared,static-libs?,static-pic?] + $(python_gen_cond_dep ' + dev-ada/langkit[${PYTHON_USEDEP}] + ')" +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}] +" +BDEPEND="test? ( + dev-ml/dune + dev-ml/zarith + dev-ml/camomile + dev-ml/ocaml-ctypes + dev-ada/e3-testsuite +