diff options
Diffstat (limited to 'dev-ada')
50 files changed, 813 insertions, 861 deletions
diff --git a/dev-ada/Manifest.gz b/dev-ada/Manifest.gz Binary files differindex 1c734fad58bb..c2fe101e3498 100644 --- a/dev-ada/Manifest.gz +++ b/dev-ada/Manifest.gz diff --git a/dev-ada/VSS/Manifest b/dev-ada/VSS/Manifest index d19bc17052c4..f961ab2f1ba4 100644 --- a/dev-ada/VSS/Manifest +++ b/dev-ada/VSS/Manifest @@ -1,7 +1,5 @@ -DIST VSS-22.0.0.tar.gz 310314 BLAKE2B 710645472b0e767f744ca12564a595fabc6bd931a271bc6fd575fdee70ade1676f3a0dbe00d7700ba5bbeb341fa6cc767b8efb18162f1fc308edcb653c9919f4 SHA512 b38582efc2b334a5b550eb9eacadd721b354f51d4cc26fcb4da1c8e7d241a848d5d3ee2651a72b552e2d5357b9fde46ba48e694f17f49cc2bcdad63d2f9d685e -DIST VSS-23.0.0.tar.gz 481748 BLAKE2B eb84e1b84b2d3a463a0e19a3cdd8b6e1e0dd666f72cd79f592f07f75fd7f2c8496f89f5d272c2be1af8a75491a8e3f0f11131dbfe892f3fe107f7e50223ea4bd SHA512 11e762a6ade7137acb32c0776db06244b40a137df90ee5d25855503deeba2a22e6e962ed56d991c71fd27a514edca22ff3d35b0f783855e2d670eb6b45aa4c03 DIST VSS-24.0.0.tar.gz 1116669 BLAKE2B 5f703b4bf5234b38485a3104bd4e32ce0b2666fa00e2808b9a03df5c28c11ca0ac95c655f5490dbd04f113ef2894b45f2795f87cbf297ffa07f85f5a4e7d4710 SHA512 2b77646a299c073535ab0a315a9950e2fc6d43375fa62e0cb2e93ed4094ee42994ad74747c8a3d16ade5473c5520926edd59e4422321398c5deb17c6aedb66ee -EBUILD VSS-22.0.0-r2.ebuild 921 BLAKE2B 35c243f6c3b3db2dca87cdfcc7249c4ce56ae8e9ad6429f80b804b982e6335932ec06d121395ec90cb325aa937f1302bb0b6ddc303ce63cfb74e9537fde943d9 SHA512 7ca05726673e52c775ee8988525ae8d46fa99a7f36ec5ff539c2ff06f0a1a0facd690ba5aab1d86d00782d82a6133de7d08c009f6f249a6a39c67266c5993d68 -EBUILD VSS-23.0.0-r2.ebuild 1034 BLAKE2B ba594d0c05f51c56c642505cb260d5449af71b820cf38a29a8166651eaede9b0847e228289c251b3d887cdb45d6a664cee7c0a79d5f1aac71b33bf5d382047be SHA512 29fb68c4f4fa8b72521a7ea767c1aaca276a47ced9ab23ec9049dc808424c250f2114722868b844d835cff87d48da414055dce74a45e74354404cf88a632036e -EBUILD VSS-24.0.0-r2.ebuild 2238 BLAKE2B 847f409b23aa7cabb6a34f1c76494599665fa0dfa2f63cc1326d4b0496758b3856fb81f6d4ed224712e83f66fb6a50b0305772b0572684c165ffe6ad889ee389 SHA512 4a8f893289bffd5c2e01367950820328377f823bf310a51980839fdb78412c9401c930cd1a3d9e7eb6db8756b24e6a465cc7ee564d43ae155990b6d7af602af1 +DIST VSS-25.0.0.tar.gz 1302728 BLAKE2B 1354e35a531b777aeef4a0f054d7f616bb3159e466d466b4566cd2eb3c6e3906cf52d1a92cfbc23d465a1436af78f430e1e0389fb626b92ee0096fdfab262505 SHA512 ca440d169e3b73134bb6b1df4473faf48fa867c79f91db1dfeaa2644e694bf9927e6d037fa364ec065c6da77e61efe8758a58a52217b6ce8c21282c1d9761ae6 +EBUILD VSS-24.0.0-r2.ebuild 2236 BLAKE2B e953fee1713c1fc463a857fbbab4225e2316a05d5fbbb5d392ba1e42d6b3499ff9a4825327777262c544b552dc2297c90b8031709e2bd2d608b8a7fced2261b7 SHA512 378ae0ff1e1bb1531cf2e6d044c37e5fcb8cee80ee16014335cc240c39c9ef90fd77795888c594fb149c80b555eecc9161c63ab851d29839eedbf8c2ba6f2d76 +EBUILD VSS-25.0.0.ebuild 2261 BLAKE2B 173cd9d92150dae5445e2cb78f29e12174538053d60b3babaa8015728e01dde3c4297407efb4a89d1cc87b42b67d3adac58a69170737e4063936ea50fa81a12b SHA512 ab2a26b2868dcb8a7b98b0fb70c951d396245c13990edeb14ecc0d2b1fa2dfb92e43c73f94ea5c9854b6884bf10b933f7a0bbf584787e7592485573008eff886 MISC metadata.xml 425 BLAKE2B e23422badd5f393a4dd2829ce9372e6393523896ab5199e2a9c339aabb8eca12c45d0bd8becf9c23ca47929d7f1f37982d86c104855169b17816d37e9dbd43a5 SHA512 5fed9ed285d559f2424060a9f88d3174e99b5e1ab3623da0d060f8a8a6da03a07f5eafe1ca6cf6934c52f3d22cdd32cb2720ee51e0a1fd33a4848e085b99bc08 diff --git a/dev-ada/VSS/VSS-22.0.0-r2.ebuild b/dev-ada/VSS/VSS-22.0.0-r2.ebuild deleted file mode 100644 index 160a829e47be..000000000000 --- a/dev-ada/VSS/VSS-22.0.0-r2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021-2023 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="A high level string and text processing library" -HOMEPAGE="https://github.com/AdaCore/VSS" -SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-3 gcc-runtime-library-exception-3.1" -SLOT="0/${PV}" -KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${ADA_REQUIRED_USE}" - -RDEPEND="${ADA_DEPS}" -DEPEND="${RDEPEND}" -BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}] - test? ( app-i18n/unicode-data )" - -src_prepare() { - mkdir data - ln -sf /usr/share/unicode-data data/ucd || die - default -} - -src_compile() { - emake GPRBUILD_FLAGS="-p -j$(makeopts_jobs) -v" -} - -src_test() { - emake -j1 GPRBUILD_FLAGS="-p -j$(makeopts_jobs) -v" build_tests - emake check_text check_json -} diff --git a/dev-ada/VSS/VSS-23.0.0-r2.ebuild b/dev-ada/VSS/VSS-23.0.0-r2.ebuild deleted file mode 100644 index 3b8a42c673f8..000000000000 --- a/dev-ada/VSS/VSS-23.0.0-r2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ADA_COMPAT=( gcc_12 gcc_13 ) -inherit ada multiprocessing - -DESCRIPTION="A high level string and text processing library" -HOMEPAGE="https://github.com/AdaCore/VSS" -SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-3 gcc-runtime-library-exception-3.1" -SLOT="0/${PV}" -KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${ADA_REQUIRED_USE}" - -RDEPEND="${ADA_DEPS} - dev-ada/xmlada[${ADA_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}] - test? ( - app-i18n/unicode-data - dev-ada/xmlada[${ADA_USEDEP}] - )" - -src_prepare() { - mkdir data - ln -sf /usr/share/unicode-data data/ucd || die - default -} - -src_compile() { - emake GPRBUILD_FLAGS="-p -j$(makeopts_jobs) -v" -} - -src_test() { - emake -j1 GPRBUILD_FLAGS="-p -j$(makeopts_jobs) -v" build_tests - #emake check_text check_json # these are failing here - emake check_regexp check_html -} diff --git a/dev-ada/VSS/VSS-24.0.0-r2.ebuild b/dev-ada/VSS/VSS-24.0.0-r2.ebuild index a85f20993fbc..05a87a45c2ef 100644 --- a/dev-ada/VSS/VSS-24.0.0-r2.ebuild +++ b/dev-ada/VSS/VSS-24.0.0-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="GPL-3 gcc-runtime-library-exception-3.1" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+shared static-libs static-pic test" RESTRICT="!test? ( test )" REQUIRED_USE="${ADA_REQUIRED_USE}" diff --git a/dev-ada/VSS/VSS-25.0.0.ebuild b/dev-ada/VSS/VSS-25.0.0.ebuild new file mode 100644 index 000000000000..45d50bffa242 --- /dev/null +++ b/dev-ada/VSS/VSS-25.0.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ADA_COMPAT=( gcc_13 gcc_14 ) +inherit ada multiprocessing + +DESCRIPTION="A high level string and text processing library" +HOMEPAGE="https://github.com/AdaCore/VSS" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3 gcc-runtime-library-exception-3.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+shared static-libs static-pic test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${ADA_REQUIRED_USE} + test? ( static-libs )" + +RDEPEND="${ADA_DEPS} + dev-ada/xmlada:=[shared?,static-libs?,static-pic?,${ADA_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}] + test? ( + app-i18n/unicode-data + )" + +src_prepare() { + ln -sf /usr/share/unicode-data data/ucd || die + default +} + +src_compile() { + build () { + gprbuild -XVSS_LIBRARY_TYPE=$1 -p -j$(makeopts_jobs) -v \ + gnat/vss_gnat.gpr \ + -cargs:Ada ${ADAFLAGS} || die + gprbuild -XVSS_LIBRARY_TYPE=$1 -p -j$(makeopts_jobs) -v \ + gnat/vss_text.gpr \ + -cargs:Ada ${ADAFLAGS} || die + gprbuild -XVSS_LIBRARY_TYPE=$1 -p -j$(makeopts_jobs) -v \ + gnat/vss_json.gpr \ + -cargs:Ada ${ADAFLAGS} || die + gprbuild -XVSS_LIBRARY_TYPE=$1 -p -j$(makeopts_jobs) -v \ + gnat/vss_regexp.gpr \ + -cargs:Ada ${ADAFLAGS} || die + gprbuild -XVSS_LIBRARY_TYPE=$1 -p -j$(makeopts_jobs) -v \ + gnat/vss_xml.gpr \ + -cargs:Ada ${ADAFLAGS} || die + gprbuild -XVSS_LIBRARY_TYPE=$1 -p -j$(makeopts_jobs) -v \ + gnat/vss_xml_templates.gpr \ + -cargs:Ada ${ADAFLAGS} || die + gprbuild -XVSS_LIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 -p \ + -j$(makeopts_jobs) -v gnat/vss_xml_xmlada.gpr \ + -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_test() { + emake -j1 GPRBUILD_FLAGS="-p -j$(makeopts_jobs) -v" build_tests + # To run all the test need to follow data/README.md + emake check_html +} + +src_install() { + build () { + emake -j1 DESTDIR="${D}" install-libs-$1 + } + use shared && build relocatable + use static-libs && build static + use static-pic && build static-pic + rm -r "${D}"/usr/share/gpr/manifests || die + einstalldocs +} diff --git a/dev-ada/ada_libfswatch/Manifest b/dev-ada/ada_libfswatch/Manifest index c01ab44dc2c7..93f7bbab4bae 100644 --- a/dev-ada/ada_libfswatch/Manifest +++ b/dev-ada/ada_libfswatch/Manifest @@ -1,4 +1,6 @@ AUX ada_libfswatch-20201105-link.patch 340 BLAKE2B d83ed866777df9e0ceab5e8ce6fcd606ed784c346cba2623f444b3553c67a6314031d614d06224cf13663af5d3a1d437549465e95a6ceb9a420a4d3237b39b9a SHA512 3033f2a06314801ca7141585ba6e3b4605b68d55dfbcc446d3a6ea2008d6763fe5aca1b5ee5c808c4e50fe2ee8237ea17a2db62abbb563f6fc48bc59d3e6cbcb DIST ada_libfswatch-20201105.tar.gz 20473 BLAKE2B cfa200f3276da5372df83038fe7a11224a4938d750207f17769ff21ce2c0780e5ef3111a5564cdabde2155fb7579c437e34061cd8654358d04f55bd0af1f1b02 SHA512 71ec7584ad4c9d06939d4cde858c40016b629a76edf6392287140aaabbc588b82c7abf980ab75888763ebaf721b51e1163cf362512788b7559e20d11051a95ed +DIST ada_libfswatch-20240709.tar.gz 20469 BLAKE2B 81d183e556ed69b3c78b7606f10aaddcbf0b01bc667a732b13f609304f787099804dc751171496355f387b000fa290fe6af3f37c3cbedfe063fca7c1ffb30cdd SHA512 af58ae9bf892053f530731d3c7e38fba56d09cbe5fa991d108c95d74581352a28cc2bc6ce6a3064f758ac56bdb425a6aad867210c4209e74ac78fc22c2897efe EBUILD ada_libfswatch-20201105-r2.ebuild 1245 BLAKE2B 9106502bfed5798ce6b5a6588a23e90e7cbbd997b79de3cf220cd6a318847d52f505dc82f0297375c448e8f3dc71dd23feb0ad718e39a253ed989fd56a86592e SHA512 10b75124aeca2c868ee161bf6e019920d6f07cd0b4b1f66fd7c62f58a1cd8e0818268087c97036c26743bc9d1403a71fc67bb4af9f42b4ddfb9b09f7fd914b98 +EBUILD ada_libfswatch-20240709.ebuild 1295 BLAKE2B bda57020656115ce37201b017d33c92652a334cc650f717ea605d487cb67027df35642e2d7286759adae310df78b54087c377caaeb923932e8b100ee5d024f65 SHA512 096d5ef8a3a682a3dcdc1a8674b0dde5c88c06ad02ca1291346c7e65e159d89c1c9c89c454311a6da95d81b7206cad48e96a4181ed860d4679493db30664a164 MISC metadata.xml 303 BLAKE2B dcdf1d7460015304bd2c84cf1e8ed8b23d22abbbac6f6d630709742425f15a0589dfe173cbb7cf259ca19fe342692f7e6db773ec2995c446d4a90b1f1566cf16 SHA512 54c9c050abba868d5b42049835e9ebf64b0d5a5f1f165e153ae8e60a013ba9e29d747454e5d032cb713aeed1283863d52fe46a9466166a15f7090537e48d5ea0 diff --git a/dev-ada/ada_libfswatch/ada_libfswatch-20240709.ebuild b/dev-ada/ada_libfswatch/ada_libfswatch-20240709.ebuild new file mode 100644 index 000000000000..22befe07efbb --- /dev/null +++ b/dev-ada/ada_libfswatch/ada_libfswatch-20240709.ebuild @@ -0,0 +1,55 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ADA_COMPAT=( gcc_13 gcc_14 ) +inherit ada + +commitId=838480d8fca344d9f8a78341113ceb4ed5cf2222 + +DESCRIPTION="Ada binding to the libfswatch library" +HOMEPAGE="https://github.com/AdaCore/ada_libfswatch" +SRC_URI="https://github.com/AdaCore/${PN}/archive/${commitId}.tar.gz + -> ${P}.tar.gz" + +S="${WORKDIR}"/${PN}-${commitId} + +LICENSE="GPL-3 gcc-runtime-library-exception-3.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND="${ADA_DEPS} + >=dev-ada/gnatcoll-core-25[${ADA_USEDEP},shared] + sys-fs/fswatch" +DEPEND="${RDEPEND}" +BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]" + +PATCHES=( + "${FILESDIR}"/${PN}-20201105-link.patch +) + +src_prepare() { + default + mkdir -p generated || die + cp /usr/include/libfswatch/c/* generated || die + (cd generated && gcc -C -fdump-ada-spec libfswatch.h -D_TIMEZONE_DEFINED) \ + || die + rm generated/*h || die + sed -i \ + -e "1d" \ + ada_libfswatch.gpr || die +} + +src_compile() { + gprbuild -p -v -P ada_libfswatch -XLIBRARY_TYPE=relocatable \ + -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \ + || die +} + +src_install() { + gprinstall -v -r -p -P ada_libfswatch -XLIBRARY_TYPE=relocatable \ + --prefix="${D}"/usr || die + einstalldocs + rm -r "${D}"/usr/share/gpr/manifests +} diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest index 378d8e09744b..b6d98a05b406 100644 --- a/dev-ada/aunit/Manifest +++ b/dev-ada/aunit/Manifest @@ -1,6 +1,6 @@ AUX aunit-24.0.0-gentoo.patch 1347 BLAKE2B a11543913de0b0f698814ae2d3897beacf54c8dc87c643b2064bf8511343fd32c1054e6f3060c232c80bc92cf9584ba324b4e8556d0bac4f5e0438e131211a7c SHA512 8382f2497984977d0344beccf77782fb34313a532bd9148ca10f32464dfe9e3292c52a9dfc96f2ccbb77348100685cb62bcda475e610edeb86b4cc30049cdfcf -DIST aunit-23.0.0.tar.gz 131699 BLAKE2B 04ff77214ab6f4f5d59ea0609fffbc6fcfb4695d2fbbed45efa14e2b745c33868e1c134e5d00a7c3d8f11b1a8d15c6212110c78a53df4230b5862fb9b912a434 SHA512 450caa79e4808188107cd065665ca9cab599934e3934d18406b08d3ccebe26c1e95cd0c712ea3403d6082c7c5e8fd9ecf09ae3b63d231b80ad575048b3d61943 DIST aunit-24.0.0.tar.gz 131699 BLAKE2B e43e7a94b278597475767d93f28a95a586abeaf45d141ea7035df9cb45d1be67c189a5be3d0364943b4649270f8f96d7cfd20fcba7a28917b14266c9e9424815 SHA512 25b973d1eb35e9e15ed24abe9c4ad7165d684c0e72abe619dcb9bec04cef8b28c78c1994e96e4bc29fd3b06567e15360f47ac87f49e1fa9888f55675defc226f -EBUILD aunit-23.0.0-r1.ebuild 918 BLAKE2B 87b83757ebdd9b4b48507eae4d97005784be280dfacc48c3735531197691589945531871e98b4583a94a2efb1c294584a28a538a6a0f6d93fc80ee781ae61224 SHA512 7f78e9c734d80f15274a2d224bb23a343fe653dcd9ae3fab104747b9004dfe0a703b963d9cb10bf8ea2d27d49857f94317ecf2e85e6559cdd82d6865da6bb81f +DIST aunit-25.0.0.tar.gz 137452 BLAKE2B 91672bbdd86cc502456b681e9418f04dfc7dfc380ed9f9f69af36afb5e3b5ce22852a4fa92049ee5d9fade1439a6a4508e3d6f63b1005ae6f0e1d5cbfaa70118 SHA512 080d61c1c3b0707c291dce476573e05a247c198c2bea4ae311677dcae826e7bf34571700711b28ac46bd021e93c252492bafcb4892b24b45c7396d6b7e7b5f2d EBUILD aunit-24.0.0-r3.ebuild 1085 BLAKE2B 72b191c6cbe58720591bb2bd34095750bcb7d6124a5cfbc5ae97d8976f0bf90e28cda53b8779c027f2a69dc7dcaa1a3813409653a507e68ec89340e66c713e6a SHA512 c5ba47446cf76fdd8682734e31f1b786323ef0b56758200bdcd9907d0af69d02eee827dc755b6a45e807d6c0fdfe83ca97eae461e2f373c1dd600d1b398b4385 +EBUILD aunit-25.0.0-r1.ebuild 1486 BLAKE2B 0579d7aef3dacf4a1387793389d5bbaef43746069916763183bbe6967f552aea532eeb15eacb3946fc54810751395ed78bc5c6fbbd77403bc9d2ceff00a2025e SHA512 ae0706605b648bd0690d4d1e4cff6fda09bd88d4315e797bf955032cf3278403dcb4b84377cc14060d05bba22c6716a2112ae5896a8092cbfba393bc3c1e64b7 MISC metadata.xml 843 BLAKE2B 3f8a899e8d22a411596aae79b739e3cf47b7b867bedede255761146d65e70adfd810544528018212b8a3f36a59f2d886682146a6370ab33c976f676d331b9390 SHA512 2ae746ded1a937362aad360ccd273143b495e43e71aeffb23dbcc71f93154bcc2fce6fcf6fa99d2a7ab1140ffb52ece0b08d1a010a627c0d10ee80e7984fdc92 diff --git a/dev-ada/aunit/aunit-23.0.0-r1.ebuild b/dev-ada/aunit/aunit-23.0.0-r1.ebuild deleted file mode 100644 index b40221d5658f..000000000000 --- a/dev-ada/aunit/aunit-23.0.0-r1.ebuild +++ /dev/null @@ -1,38 +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="Ada unit testing framework" -HOMEPAGE="http://libre.adacore.com/tools/aunit/" -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" - -RDEPEND="${ADA_DEPS}" -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" - -REQUIRED_USE="${ADA_REQUIRED_USE}" - -src_compile() { - emake GPROPTS_EXTRA="-j$(makeopts_jobs) -v -cargs ${ADAFLAGS}" -} - -src_install() { - emake INSTALL="${D}"/usr install - einstalldocs - mv "${D}"/usr/share/examples/${PN} "${D}"/usr/share/doc/${PF}/examples || die - rmdir "${D}"/usr/share/examples || die - rm -r "${D}"/usr/share/gpr/manifests || die -} - -src_test() { - emake PROJECT_PATH_ARG="ADA_PROJECT_PATH=$(pwd)/lib/gnat" -C test -} diff --git a/dev-ada/aunit/aunit-25.0.0-r1.ebuild b/dev-ada/aunit/aunit-25.0.0-r1.ebuild new file mode 100644 index 000000000000..b65aa93e36db --- /dev/null +++ b/dev-ada/aunit/aunit-25.0.0-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 gcc_14 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +inherit ada python-any-r1 multiprocessing + +DESCRIPTION="Ada unit testing framework" +HOMEPAGE="https://github.com/AdaCore/aunit" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc" +REQUIRED_USE="${ADA_REQUIRED_USE}" + +RDEPEND="${ADA_DEPS}" +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}]" +BDEPEND="doc? ( + $(python_gen_any_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') +)" + +python_check_deps() { + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && + python_has_version "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use doc && python-any-r1_pkg_setup + ada_pkg_setup +} + +src_prepare() { + default + sed -i \ + -e "s|@PF@|${PF}|g" \ + lib/gnat/aunit.gpr \ + || die +} + +src_compile() { + emake GPROPTS_EXTRA="-j$(makeopts_jobs) -v -cargs ${ADAFLAGS}" + use doc && emake -C doc aunit_cb.html +} + +src_install() { + emake INSTALL="${D}"/usr install + DOCS="README" + use doc && HTML_DOCS="doc/build/aunit_cb/html/*" + einstalldocs + mv "${D}"/usr/share/examples "${D}"/usr/share/doc/${PF}/ + rm -r "${D}"/usr/share/gpr/manifests || die +} + +src_test() { + emake PROJECT_PATH_ARG="ADA_PROJECT_PATH=$(pwd)/lib/gnat" -C test +} diff --git a/dev-ada/e3-core/Manifest b/dev-ada/e3-core/Manifest index e47a82dfa170..b63daf87c531 100644 --- a/dev-ada/e3-core/Manifest +++ b/dev-ada/e3-core/Manifest @@ -1,7 +1,7 @@ AUX e3-core-22.1.0-distro.patch 1143 BLAKE2B ebe7fd0b37ed6dbbe506f4bb86aa8b3bbf59b5e1475b65db07b2a8b28ab86f30998f381c976e9b1eb0f5222171a3c6a592bf7d6a3364a0a0a6c1eb307c0261ef SHA512 16ba2640ecb260702272da1d87b92ce779459da47ef4c1cdc6ad4f5fe98740501df88bc2ef849c55f0eb482a99ab376876af1f5a38a02fe0aeef085c190ecba0 AUX e3-core-22.1.0-test.patch 1057 BLAKE2B 4a8d5ea01e2cd51c297f58db18a25844197bdbaa725260de3eeace06dc3afa74332f10df685947b8bb21e4554920c72eb2c5d08d334d2f77989241510ee00098 SHA512 0771e4d08c611c3b39a695830a30b279470a97e0ccc4c2d6ef0ed184bcbc784240231a93942b89919b4718ed8ede1d3e7b9ff9acf66b547b369fa702cc05f384 -DIST e3-core-22.2.0.tar.gz 383417 BLAKE2B ef595dc785b0073a53ddb06ab1ab7b1a0e9eea0131d2a15318f6355a581f83d14f61f6b0f23d4e3df4afe31e0c03a6b1b4ca8b5aefdb3f982ccaa3454f127f0d SHA512 a2bc2a183b3fed9ad2f0119406dc26857254e4a68014f618a75c062518b990e5f1f3af72e9dc321dea3f9248bd97bded87a20b5389a3e03f2d3b76bb83f56216 DIST e3-core-22.4.0.tar.gz 484431 BLAKE2B fb0d12ea30544a33b1bd3c9e3c7571defb5226faa94fc54e5f25b8b9613a586d9e9a84f973903e150f2dff81b4806afb95df31611ced4452f2d3f892db4f6e3b SHA512 afa99afb16ec8498be62b1ed49ebd2ba057b75fa1d5b37ab5cebd40bc0f70704883211bb37be34a3be98079b7e056963f9d35c338fb20525fa009b968dd83909 -EBUILD e3-core-22.2.0.ebuild 1430 BLAKE2B 96acd15cc3f6d01bcc1f459d48df3a42b4c2abee2d8a75592aa2d1611bf0384c8796ae38adbf2c154eba4d0c5a7fb312033de83e76e8ea7d1c64b12be0b1b219 SHA512 da19773ac2b09ed0e04fb20acddc2a6c8b48e44e1d6751a0d28b388eddf1a9db1a386326e60a2283331236fb7f26bdfd9c8a81383de979975938117ec2689806 +DIST e3-core-22.6.0.tar.gz 558104 BLAKE2B 95cc2a6d1c8570a3a0efa91676b4b1c2eac17b58e570084218e264ce36eb9662b0d7ef713afe01d4081db84d7416af608434be23179af6b7953b13400a9225ad SHA512 66707dc2d6d38f32e511587053b9c2f2457e0516ee4c98e06077abe596b77bb7c20a3a43c966f22e7f0339c6d15905649e237035e1abb012b4d5eb533f852f88 EBUILD e3-core-22.4.0.ebuild 1430 BLAKE2B 76df8a6fd254ee1c62e102b73633791f98019baaec8661dbec811d2372ffbcab919d4072c2fb898530aad64e5c5e373bc52da593d87f496d7f785136a1deb382 SHA512 7959cfb019be4ca32992fed806f419215de7658338239f8df322af5ecd21d3cda233eadeb444cb2ece83e4fb173a9a120a7fa09a1d7ca8259b2cdb20fde94d8c +EBUILD e3-core-22.6.0-r2.ebuild 1674 BLAKE2B 3c51c699f41f8df2f380261d27a03d78df757f76a9ab689d254935be5a6eadfc60f7468a312016c34fcc96f904099ddaa0490f49cb31e72245310c89d42e9bac SHA512 ff35e7ace97c9039ceb00c9464a94feb432a879a4333b2cabcf197ec96fe05f8e3d8e11a96ff9d3a474cf8dc4a73798b56873f50de17f5bee9c122a5ef9a4153 MISC metadata.xml 1257 BLAKE2B c5170ed783bde8d288632069c3e5496d50dfd77a0f7fb62e00964660bd7b3c482509bdf8983af16d1aa7be6bd9ee20708711fc688f002d5bace078c93c4ed212 SHA512 d7fd1018cb701d777e3246fe91b018ea25ebd5bc641e6897d683dee0fcfdd1841d13f9701212d15e81cde531f8e26d10cc156c9ed47125dfbcbc6bd5bacf18af diff --git a/dev-ada/e3-core/e3-core-22.2.0.ebuild b/dev-ada/e3-core/e3-core-22.6.0-r2.ebuild index f205b8d8327d..afa7b1118ebb 100644 --- a/dev-ada/e3-core/e3-core-22.2.0.ebuild +++ b/dev-ada/e3-core/e3-core-22.6.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 toolchain-funcs @@ -14,8 +14,8 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 x86" -RESTRICT="test" +KEYWORDS="~amd64 ~arm64 ~x86" +RESTRICT="test" #require pytest-socket RDEPEND="dev-python/colorama[${PYTHON_USEDEP}] dev-python/stevedore[${PYTHON_USEDEP}] @@ -28,19 +28,18 @@ RDEPEND="dev-python/colorama[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}] !app-editors/e3" DEPEND="${RDEPEND}" -BDEPEND=" - test? ( - dev-python/httpretty[${PYTHON_USEDEP}] - dev-vcs/subversion - dev-python/mock[${PYTHON_USEDEP}] - )" +BDEPEND="test? ( + dev-python/httpretty[${PYTHON_USEDEP}] + dev-vcs/subversion + dev-python/mock[${PYTHON_USEDEP}] +)" PATCHES=( - "${FILESDIR}"/${PN}-22.1.0-distro.patch "${FILESDIR}"/${PN}-22.1.0-test.patch ) distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/sphinx-autoapi python_compile() { distutils-r1_python_compile @@ -48,8 +47,19 @@ python_compile() { } src_compile() { - local PLATFORM=x86_64-linux + local PLATFORM + if use amd64; then + PLATFORM=x86_64 + elif use x86; then + PLATFORM=x86 + elif use arm64; then + PLATFORM=aarch64 + else + die "Not a recognized platform" + fi + PLATFORM+="-linux" rm src/e3/os/data/rlimit* || die - $(tc-getCC) ${CFLAGS} -o src/e3/os/data/rlimit-${PLATFORM} tools/rlimit/rlimit.c ${LDFLAGS} + $(tc-getCC) ${CFLAGS} -o src/e3/os/data/rlimit-${PLATFORM} \ + tools/rlimit/rlimit.c ${LDFLAGS} distutils-r1_src_compile } diff --git a/dev-ada/e3-testsuite/Manifest b/dev-ada/e3-testsuite/Manifest index 7e0700580095..175fdfdc18fc 100644 --- a/dev-ada/e3-testsuite/Manifest +++ b/dev-ada/e3-testsuite/Manifest @@ -1,5 +1,3 @@ -DIST e3-testsuite-25.0.tar.gz 138004 BLAKE2B 5a1b5bd7e51bae030867034ab48b4dbf38813a52c9d72f76dfac6018faf37ec69e3967a94f371fcc395df01e82a80426ecad274cfb5999c893c2559289421a0b SHA512 3aef1fae5204991f7f8c2c0456b46c9c1535c59c55c4840184f986ff2444de518a2f165f052dfd0412f25824ab26bea6a6317b20f194f459d30a17580cdea8c6 DIST e3-testsuite-26.0.tar.gz 159252 BLAKE2B cf57fce6e65914373f6ada298704343a190ba69d0c70832a8c520a1d6efdfd81e163850e605ece46ae4d6406e2a7a163a45bc7de8d7b43f0ea9d21327a1a4699 SHA512 40dc8b86aa77a676cd728e8708607543c445ab97452a385df944f9ab172448c7ecc31a72282e185754c86da1ffd052b149bdf4d88247b114fe1563396320f664 -EBUILD e3-testsuite-25.0.ebuild 663 BLAKE2B 914fe0f1575f66e47b86919881612ce39171d835897b21ffea293a8959d3a87535a1b8b3db5a6b6a50190f2db30cfa627b50532196c8aeb97bc34d7ce6991401 SHA512 81639fa47c10ef6a15dbf0621596956fb5ab804bfaa7e41d1684c84480749aabe0aa6e640d27e4e4ebcefc085ec0dccaeb43c88fe61a85bcd8f0180ccf0abfa5 -EBUILD e3-testsuite-26.0.ebuild 653 BLAKE2B aadb36dfc48e08cba6a94b4723d2e92de7d1f0225bc3b159b62ab62210c5951e8a57c21387ff9815b0a0bd4fe861a5db6ba0406612356b9fb373a3e28c7c6e14 SHA512 6c6515396d24172cbaf56d95ac267f554d2433ffecf36e2c3e867236153e6830b38febe495860a413367ae73483a173ad98bbb5535e15e48e861c364e7356351 +EBUILD e3-testsuite-26.0-r2.ebuild 793 BLAKE2B f967c0dfa93f9c83a75b530a715334070dcca1df12998e9b996a7cc5f596f690a95868b0a0655ed2bed8dd693ffcb687509ab382ae08a7b00402831ef9a39c60 SHA512 8f9fa2ff8ed48a8e6332334a89e51ef12f6a179d4752e97e2c5a66eb799750ee63200ae9aa77ec9b3f77a8a4630bab3bfd3ba93ca94b13ba6dfb3a61c5059842 MISC metadata.xml 664 BLAKE2B f7ac98a78cd187aa5e84b564d59982bfeb21d992a309803fcd747242e9373d7aa5cfa648a06ae5442c843f136a76929c34e5c28ea03c6bdd1d94e6c1a10ee226 SHA512 62123c662e3dc67a8d55d5ea6e88207c63df0dc4a0dd314c2e9f708360485997613913a54617c24adf9b26caf4202c04c069fa8bfe8ee3ba906e245da311a40b diff --git a/dev-ada/e3-testsuite/e3-testsuite-25.0.ebuild b/dev-ada/e3-testsuite/e3-testsuite-25.0.ebuild deleted file mode 100644 index c18985825446..000000000000 --- a/dev-ada/e3-testsuite/e3-testsuite-25.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="Generic testsuite framework in Python" -HOMEPAGE="https://www.adacore.com/" -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" -RESTRICT="!test? ( test )" - -RDEPEND="dev-ada/e3-core[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="" - -distutils_enable_tests pytest - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} diff --git a/dev-ada/e3-testsuite/e3-testsuite-26.0.ebuild b/dev-ada/e3-testsuite/e3-testsuite-26.0-r2.ebuild index 41cb22e0f298..587aa0690806 100644 --- a/dev-ada/e3-testsuite/e3-testsuite-26.0.ebuild +++ b/dev-ada/e3-testsuite/e3-testsuite-26.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,13 +14,17 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RESTRICT="!test? ( test )" -RDEPEND="dev-ada/e3-core[${PYTHON_USEDEP}]" +RDEPEND=" + dev-ada/e3-core[${PYTHON_USEDEP}] + test? ( dev-python/coverage[${PYTHON_USEDEP}] ) +" DEPEND="${RDEPEND}" distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx-rtd-theme dev-python/sphinx-autoapi python_compile() { distutils-r1_python_compile diff --git a/dev-ada/gnatcoll-bindings/Manifest b/dev-ada/gnatcoll-bindings/Manifest index 1dbaa0e5488a..4f4a4cab2628 100644 --- a/dev-ada/gnatcoll-bindings/Manifest +++ b/dev-ada/gnatcoll-bindings/Manifest @@ -1,6 +1,6 @@ AUX gnatcoll-bindings-23.0.0-py_3_11.patch 412 BLAKE2B 3d327f02b5305a7e0aa5414ec83be80ae62b6a2b93581846acf6306a3ab364c8ae07137bdffea1fce69a51c6bfa707daa0555ae49b7e69db0301c227896836ff SHA512 2539d5d96ec00cccef5b42fe5795d5cedffc528bb9e4d328007718f5189c61657cc77daf80a5f7da0a157c482e7146116ab6da8a9dd10afe68e1a3f30e3c548d -DIST gnatcoll-bindings-23.0.0.tar.gz 251006 BLAKE2B 8cc5ada5c76d146d80c1b83bfbcfea28b9951339eb5dcdca40a4b40fdeb2ed2ad1971deea60b6fdc7cc2565745958d13fcc1acbd012465dea4cb2535e947af34 SHA512 3f92d3c95ffbcf96df53a1db39c9b829ae3d0a9ee3695d3d7726168bd6744ca4d4dfe4b224b50b50603c6295e1c0c6dd3d9940cf9e20c147a3bed8e6cc39c1ce DIST gnatcoll-bindings-24.0.0.tar.gz 253286 BLAKE2B 6f9ee60a298f98921df3f8bfd3c6e21a3b54412dfea3d67cb6fe0e85d7ba90f17f83d564d9853e989cd60b0d9d9052694a14a70d10a4f70d161878501edd036b SHA512 d82f593cd0a2822d0007ba768a05e9870aa80b47232154008ea91af4ec758df1b23b92eb5264a58f2b4bedf775d143ce7119046a9ba8f7d5496ed89f3a4a2118 -EBUILD gnatcoll-bindings-23.0.0-r2.ebuild 2525 BLAKE2B e24fe93e0f43c5e52219a685ef2c3eed738a3651e250eb0f5c296b900a514fece901440f126c25a55f80b6c762cd739a99f2b6dd1863ed4f155a8d4106b7cdfe SHA512 de9381f3b6327e40e9140b7e9a03f521e67bba6d86118091ae556ce4935afa5678e555ebfe8dd1c3fc024b07bcbed24c213a2438047723fe5745e341bbac80ed +DIST gnatcoll-bindings-25.0.0.tar.gz 299443 BLAKE2B 8feee477728f036d32b4957ffde309d529eb5ccead784dd1bfaf7a3b945046672467ed3eac49336369bda473f317d30ce73f2d6a8afcbb289da4a4f7496f523a SHA512 0cc5b4a1e966b6e05dcfa15e60cb3960894ffe73b9348f0642a972f4d517e535c617893a4080d33095ee62779b14aeb6cdd8a8f0a8b5a6c8e81c94df132420b2 EBUILD gnatcoll-bindings-24.0.0-r1.ebuild 2541 BLAKE2B a298d268e14f8f498dae13998e5f6cc034ed5cb499861e67ddd52551b33a7c7d98f758d0696fc8df51f74c6ec43cb25f8333dc9e9b491378f25ddab5ca2a3596 SHA512 b0b1ee319aa5f8f2e0bf718d7049e76764cfc5bcd1b5fe39280efa47b7703573f3425bc7a529d53bf0181a0729f4fafd21a7ade1e6b56f09ff981284d078073b +EBUILD gnatcoll-bindings-25.0.0.ebuild 2984 BLAKE2B 1a4f4f8170153dbd8890ffbd9d442eda50bda533533046a913a517ae60995cec272a1b21c055613d400ad64a0cdf54388129f88f8439cc94b69d6dc1b03142df SHA512 e8770599765887e085ad5517b921728f4ed2974be3024865b529d66d3700265a4c9a9da81520d62dda3125e96f2465de55349c60ce99e5edb2741528cbfd0775 MISC metadata.xml 1172 BLAKE2B 23758b9a71c24a6e635488947a6491713dd69750c62715b1fe0eb12db380d1ecc80ebb4941a00a9ae01ce2009316849e802560bc52402fed64b671547951cf89 SHA512 1ea356da231ee9b42df8733e0ca6c3cbb5e3a2f0eb143bc894a8961e82b69f2e05b0f5d8dba309dc6b0556c4340bb51175fe9aa5a272aae006eed4a2cf449098 diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-23.0.0-r2.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-25.0.0.ebuild index 1ef0b150ddc0..f3bc30e005e7 100644 --- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-23.0.0-r2.ebuild +++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-25.0.0.ebuild @@ -1,40 +1,42 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) -ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) +PYTHON_COMPAT=( python3_{10..13} ) +ADA_COMPAT=( gcc_13 gcc_14 ) inherit ada multiprocessing python-single-r1 DESCRIPTION="GNAT Component Collection" -HOMEPAGE="http://libre.adacore.com" +HOMEPAGE="https://github.com/AdaCore/gnatcoll-bindings/" SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0/${PV}" -KEYWORDS="amd64 x86" -IUSE="gmp iconv lzma openmp python readline +shared static-libs static-pic syslog" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc gmp lzma openmp +shared static-libs static-pic" REQUIRED_USE="|| ( shared static-libs static-pic ) - || ( gmp iconv lzma openmp python readline syslog ) ${PYTHON_REQUIRED_USE} ${ADA_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} ${ADA_DEPS} - dev-ada/gnatcoll-core:=[${ADA_USEDEP},shared?,static-libs?,static-pic?] + dev-ada/gnatcoll-core:${SLOT}[${ADA_USEDEP},shared?,static-libs?,static-pic?] gmp? ( dev-libs/gmp:* ) lzma? ( app-arch/xz-utils ) - openmp? ( dev-lang/gnat-gpl:=[openmp] ) - " + openmp? ( sys-devel/gcc:=[openmp] ) + $(python_gen_cond_dep ' + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) + ')" DEPEND="${RDEPEND} dev-ada/gprbuild[${ADA_USEDEP}]" QA_EXECSTACK=usr/lib/gnatcoll_readline.*/libgnatcoll_readline.* -PATCHES=( "${FILESDIR}"/${P}-py_3_11.patch ) - pkg_setup() { python-single-r1_pkg_setup ada_pkg_setup @@ -60,16 +62,26 @@ src_compile() { if use $kind; then lib=${kind%-libs} lib=${lib/shared/relocatable} - for dir in gmp iconv lzma python readline syslog ; do - if use $dir; then - build $dir $lib - fi - done - if use openmp; then - build omp $lib - fi + build cpp $lib + build iconv $lib + use gmp && build gmp $lib + use lzma && build lzma $lib + use openmp && build omp $lib + build python $lib + build syslog $lib + build readline $lib + build zlib $lib fi done + if use doc; then + emake -C iconv/docs html + emake -C readline/docs html + emake -C syslog/docs html + mkdir html + mv iconv/docs/_build/html html/iconv || die + mv readline/docs/_build/html html/readline || die + mv syslog/docs/_build/html html/syslog || die + fi } src_install() { @@ -83,16 +95,19 @@ src_install() { if use $kind; then lib=${kind%-libs} lib=${lib/shared/relocatable} - for dir in gmp iconv lzma python readline syslog ; do - if use $dir; then - build $dir $lib - fi - done - if use openmp; then - build omp $lib - fi + build cpp $lib + use gmp && build gmp $lib + build iconv $lib + use lzma && build lzma $lib + use openmp && build omp $lib + build python $lib + build syslog $lib + build readline $lib + use lzma && build lzma $lib + build zlib $lib fi done rm -rf "${D}"/usr/share/gpr/manifests + use doc && HTML_DOCS=( html/* ) einstalldocs } diff --git a/dev-ada/gnatcoll-core/Manifest b/dev-ada/gnatcoll-core/Manifest index 7c5fadc8ae5c..0e4dc45ea9b9 100644 --- a/dev-ada/gnatcoll-core/Manifest +++ b/dev-ada/gnatcoll-core/Manifest @@ -1,7 +1,8 @@ AUX gnatcoll-core-2018-gentoo.patch 555 BLAKE2B d0913c845f4f7d96afbcec5d400599535417ee1c7b0d9f3c1e0c8766218c6a2556ff2de3e39febc1882b31e947876ca0849fad1564970f422530e58a8966c638 SHA512 90ef785337cb85aa7e2e2b5d0a24efc963512aa19780b215a96a1db6d980e55ff3b1409939e6d77913bf6416d158402ca900fd3ccc4cfb5362ee7440dfb42b64 AUX gnatcoll-core-24.0.0-gentoo.patch 607 BLAKE2B 9138e65de3403760b3a56a622c002e064c4bd145c1c544b74221538fe04849f340f042a58301de315bf35f8edf804b49034885d5c43dd40909155243532ef904 SHA512 4c5d9ea25ac786e580ef3191e2a33546f9cd85d88bfee0ba89ca8edfbe5d3602485b780d6cf58240d71d3c5f872c53ddba0305894919a53e223727233e21d474 -DIST gnatcoll-core-23.0.0.tar.gz 745131 BLAKE2B 25e5f17adf88c48f45cc30cfbd82e2213233aecd78c9c22455ac6458e2f336f527604911c9eaaa1ab8853e0a16bbe9e1a7b8f31481ee9c2894287ec16e961123 SHA512 49f33abe07d2c4b51a6e69be550d05c5794953f4fbe8cb15e29c9834b9c5600724acaff4156fb53e4146620f1e4335f4c22453215a39ec5ee95b3992528b9828 +AUX gnatcoll-core-25.0.0-gentoo.patch 559 BLAKE2B 4df9019ef026ee7ac367ed2dd01bb0dcb9553963cf25918309d09bda68bc5cc6302b34dc3a9b8d13da7d7f08be6ebe04f46984563d14edd04f3af06095748b45 SHA512 c029fe6a6c1ac21037b025a980d59d08b27b6eaef949357ff8f2c18583fe37a73ae83e74231e43fd170f33cd62c3273fefc8e399a65c6dead9a6abd6b0b6092f DIST gnatcoll-core-24.0.0.tar.gz 764526 BLAKE2B f96b24dcac2af84802244ed93570f0a922ab0901ecf871fa4995f4c24607cdbd8d91fc760acf35024fe41a066fb307442396cb8c125c74363e0c9276d114ab5a SHA512 1f1d470e7b74f238682f0938efe04c303c6bfca5a6b723eb789f5cb4bd33a199a9f2323626b8887758f01709ab1ba4d8045c56ce45f02e535babca4025662d9f -EBUILD gnatcoll-core-23.0.0-r1.ebuild 1628 BLAKE2B 2a2d70ffb0c115d143f44b1dabc7aa501b3f3d0285ad5dfe37549f9b3002f8113368f624f12ce2df24f576bb06ef52c6a9ac91f1846efefa85e44f03badb92e2 SHA512 7a0328f9d56164deebcd090d038b9bc8e8b6fd10a6ace19ac2f3371fa037212d26b85a89f21557633338ce3ca13c51e6e11a1371fe91c0f31f33923f787b0efd +DIST gnatcoll-core-25.0.0.tar.gz 7492612 BLAKE2B 6c9653b74d575b24a5433dc56214f9fd55d8dfce65921d2f3172521d3f2c542e34e09df99c224634bf87da6068cffd4f47fdf6ed68f2b913d355a9f6ebff1624 SHA512 efa19b9760bd16b402445d4932dfd28f087f9a09b91ec688c6976b7b83fe5986580b1871378ac024e9a712df8ee75963e5dc88629a72ee1ce76f1d1403b8e122 EBUILD gnatcoll-core-24.0.0-r3.ebuild 1881 BLAKE2B 11df5593012394df1a96aee6758988f137e593a38c63cc703947610518abcc0e2f2b26cb1ec5070d0aa175cdbd0deaaa96054a22603b4053885c8e94b7117daa SHA512 c7abea82ff78f49874455dc4872f24147cfce35898527e83c2cd4367d6736a738662a7ad4035bdd69d69d7dac3d6497047e9eb18be82b0711b29b77d436a30fe -MISC metadata.xml 1182 BLAKE2B 3f9bf3841b3006cc8ca840bab94c1324f2fca7ceab33eabcb2d6b6d6a7b27562a24821129285ded3e764b3185ca81b6774fa11e54b27f392b6234fd66223e5b4 SHA512 ec28eeb7f441eb5e5181dbc6bab19b647fba1cf2786238353040d409afaf520803c34b26a94c8583fc2858cb3e674a3ac525e42f6b447f478fb2cdae4c9add18 +EBUILD gnatcoll-core-25.0.0.ebuild 2995 BLAKE2B 88cfcda02cb966b5a30edb5a744f0e24420b525821df32a799c177ae772716c06a796b7f8a2a908d7303f7490b508d5b237f178bb8def8d7c9ea85387717f798 SHA512 89129739b46350b96ceaa62b69c2a4688eed5f773a9401a76a78176d01911404c9300fe00e2c4781f544b91bc24d86cb92a15df990a589955a668b0c38a41da6 +MISC metadata.xml 1237 BLAKE2B 06a5984592bbeb2fa8f663b61eeecded49363cebf58d5b51d70768bebc485035e5c718ba671c4d9e178ca13be82dc56bbac9a0eb39b8dd1c992f019d45affa7c SHA512 6762bd7b0ec30cefbfc94a6e0572ddbeedc89161ae1cdc291c0dd35405be20439bb2bd585b74cbe20db50a3522405f449b5507d592771704a95b0d1f3775b9ea diff --git a/dev-ada/gnatcoll-core/files/gnatcoll-core-25.0.0-gentoo.patch b/dev-ada/gnatcoll-core/files/gnatcoll-core-25.0.0-gentoo.patch new file mode 100644 index 000000000000..66862c6b600a --- /dev/null +++ b/dev-ada/gnatcoll-core/files/gnatcoll-core-25.0.0-gentoo.patch @@ -0,0 +1,11 @@ +--- a/projects/src/gnatcoll-projects.ads 2025-01-04 15:16:43.534598733 +0100 ++++ b/projects/src/gnatcoll-projects.ads 2025-01-04 15:17:23.548103890 +0100 +@@ -2093,7 +2093,7 @@ + Predefined_Source_Files : GNATCOLL.VFS.File_Array_Access; + -- The list of source files in Predefined_Source_Path + +- Default_Gnatls : GNAT.Strings.String_Access := new String'("gnatls"); ++ Default_Gnatls : GNAT.Strings.String_Access := new String'("@GNATLS@"); + -- The default gnatls command to run. + + Xrefs_Subdir : GNAT.Strings.String_Access; diff --git a/dev-ada/gnatcoll-core/gnatcoll-core-23.0.0-r1.ebuild b/dev-ada/gnatcoll-core/gnatcoll-core-23.0.0-r1.ebuild deleted file mode 100644 index 1610bbc91033..000000000000 --- a/dev-ada/gnatcoll-core/gnatcoll-core-23.0.0-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 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="GNAT Component Collection Core packages" -HOMEPAGE="http://libre.adacore.com" -SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0/${PV}" -KEYWORDS="amd64 x86" -IUSE="+shared static-libs static-pic" -REQUIRED_USE="|| ( shared static-libs static-pic ) - ${ADA_REQUIRED_USE}" - -RDEPEND=" - ~dev-ada/libgpr-${PV}:=[${ADA_USEDEP},shared?,static-libs?,static-pic?] -" -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" - -PATCHES=( "${FILESDIR}"/${PN}-2018-gentoo.patch ) - -src_prepare() { - default - sed -i \ - -e "s:@GNATLS@:${GNATLS}:g" \ - src/gnatcoll-projects.ads \ - || die -} - -src_configure() { - emake setup -} - -src_compile() { - build () { - gprbuild -p -m -j$(makeopts_jobs) \ - -XBUILD=PROD -v -XGNATCOLL_VERSION=${PV} \ - -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$* -XGPR_BUILD=$1 \ - gnatcoll.gpr -cargs:C ${CFLAGS} -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() { - local GNATCOLL_VERSION=${PV} - if use shared; then - emake GNATCOLL_VERSION=${PV} prefix="${D}"/usr install-relocatable - fi - if use static-pic; then - emake GNATCOLL_VERSION=${PV} prefix="${D}"/usr install-static-pic - fi - if use static-libs; then - emake GNATCOLL_VERSION=${PV} prefix="${D}"/usr install-static - fi - rm -r "${D}"/usr/share/gpr/manifests || die - einstalldocs -} diff --git a/dev-ada/gnatcoll-core/gnatcoll-core-25.0.0.ebuild b/dev-ada/gnatcoll-core/gnatcoll-core-25.0.0.ebuild new file mode 100644 index 000000000000..0694b04c8e71 --- /dev/null +++ b/dev-ada/gnatcoll-core/gnatcoll-core-25.0.0.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +ADA_COMPAT=( gcc_13 gcc_14 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +inherit ada python-any-r1 multiprocessing + +DESCRIPTION="GNAT Component Collection Core packages" +HOMEPAGE="https://github.com/AdaCore/gnatcoll-core/" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc minimal +projects +shared static-libs static-pic test" +RESTRICT="test" +REQUIRED_USE="|| ( shared static-libs static-pic ) + ${ADA_REQUIRED_USE} + projects? ( !minimal )" + +RDEPEND=" + projects? ( ~dev-ada/libgpr-${PV}:=[${ADA_USEDEP},shared?,static-libs?,static-pic?] ) +" +BDEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}] + $(python_gen_any_dep ' + test? ( dev-ada/e3-testsuite[${PYTHON_USEDEP}] ) + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) + ')" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +python_check_deps() { + if use test; then + python_has_version "dev-ada/e3-testsuite[${PYTHON_USEDEP}]" || return 1 + fi; + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && + python_has_version "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +pkg_setup() { + if use doc || use test; then + python-any-r1_pkg_setup + fi + ada_pkg_setup +} + +src_prepare() { + default + sed -i \ + -e "s:@GNATLS@:${GNATLS}:g" \ + projects/src/gnatcoll-projects.ads \ + || die + rm -r testsuite/tests/file_indexes || die + rm -r testsuite/tests/vfs/basic || die + rm -r testsuite/tests/os/fsutil/sync_trees/error || die + rm -r testsuite/tests/os/process/priority_unix || die +} + +src_compile() { + export GPR_PROJECT_PATH=minimal:core + build() { + gprbuild -v -p -m -P$2/gnatcoll_$2.gpr -j$(makeopts_jobs) \ + -XGNATCOLL_VERSION=$(ver_cut 1-2) -XLIBRARY_TYPE=$1 \ + -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die + } + buildAll () { + build $1 minimal + use minimal && return + build $1 core + use projects && build $1 projects + } + if use shared; then + buildAll relocatable + fi + if use static-libs; then + buildAll static + fi + if use static-pic; then + buildAll static-pic + fi + use doc && emake -C docs html +} + +src_test() { + #To be run after installation + cd testsuite + ./run-tests || die +} + +src_install() { + export GPR_PROJECT_PATH=minimal:core + build() { + gprinstall -v -P$2/gnatcoll_$2.gpr -XGNATCOLL_VERSION=$(ver_cut 1-2) \ + -p -f --prefix="${D}"/usr --sources-subdir=include/gnatcoll_$2 \ + -XLIBRARY_TYPE=$1 --build-name=$1 --build-var=LIBRARY_TYPE || die + } + buildAll () { + build $1 minimal + use minimal && return + build $1 core + use projects && build $1 projects + } + if use shared; then + buildAll relocatable + fi + if use static-libs; then + buildAll static + fi + if use static-pic; then + buildAll static-pic + fi + insinto /usr/share/gpr + doins gnatcoll.gpr + use doc && HTML_DOCS=( docs/_build/html/* ) + einstalldocs + rm -r "${D}"/usr/share/gpr/manifests +} diff --git a/dev-ada/gnatcoll-core/metadata.xml b/dev-ada/gnatcoll-core/metadata.xml index 5cad23aa44ea..5cf893d36197 100644 --- a/dev-ada/gnatcoll-core/metadata.xml +++ b/dev-ada/gnatcoll-core/metadata.xml @@ -5,6 +5,7 @@ <email>ada@gentoo.org</email> </maintainer> <use> + <flag name="projects">Build gnatcoll_projects</flag> <flag name="shared">Build shared library</flag> <flag name="static-pic">Build static library with pic code</flag> </use> diff --git a/dev-ada/gnatcoll-db/Manifest b/dev-ada/gnatcoll-db/Manifest index 8224749038c8..b130511f867a 100644 --- a/dev-ada/gnatcoll-db/Manifest +++ b/dev-ada/gnatcoll-db/Manifest @@ -1,5 +1,3 @@ -DIST gnatcoll-db-23.0.0.tar.gz 2651044 BLAKE2B 73d1cd75eace5a6ebab7551a28acc4d77ff82cac2fb23390fa513e52beb44fcbc6637ce1700cfcdbe13ddf49872be0212d59f24ce80f28bea23d44cf93faa8e6 SHA512 4cc037b63e2b346bb84689522bb1ee3ea6efd07a080ac58856843fd49e06371c5e444fe9458a5338ba34c43b0f796cab051f9aa1ec448c49e5298bc6130e3f34 DIST gnatcoll-db-24.0.0.tar.gz 2651067 BLAKE2B 27c35c44c9be149cd1691ce02b0f30969606816f5e926782ae1eb1d4b2a052f434e0406bf865a729b927586a413f55b9970decdb128462a9fad638645aa80855 SHA512 9c775de99044d803096bad8f68661674e9e82cb026ab458dda6fdd880419264f9f9bfde79c9fada20dba764e5a554a272c5bfe4fc15d6272fd6721969bd824e4 -EBUILD gnatcoll-db-23.0.0-r1.ebuild 2867 BLAKE2B 204207191332d501bdeed99050d928ba07d493d2492508b0d47d17fbf6dd2d50bbbee19ba840b984eeeeb27cd006ed919218356a890b7c245666721c88f071cf SHA512 c82312e98c2ff4ea16021fc80d5a7f64218479f6ce27fb6373bacedda608afd4e907fb47f10e60079127e3726b751d9164bdfdb3cf06bd6e3b2d7570f8c519dc EBUILD gnatcoll-db-24.0.0-r1.ebuild 2869 BLAKE2B b6571ffcc4cccd735c3609a6b870763c438b05ebf44fba17c0c550a353b729ab42bf1c4047cb1312ad0827f4b0d9475ae342c610afe36625010438c8933ad0f8 SHA512 b3a142a27a2d3d8672be776c857088cd839f527f4572c4ca5e29c9f9480ea58d732110c8fcce1802ee7df383ccfc6970256903019afd71310f26e2b6c0077c89 MISC metadata.xml 1359 BLAKE2B fe1a09201ec968c79fad5171c9f1e5ff51fa5be137113729bdfe204345f627b256b2bf15053511421a62bc011fbed510b433d442561d09076b996102c4ff1480 SHA512 299f489c8fb90e944f4186d7f495f61c62bd950a4414ccbf4cbe2daecf49d744b90009f60c1733edf5fc92d12d10f2eb6b3067189d01876af89056e11c47b902 diff --git a/dev-ada/gnatcoll-db/gnatcoll-db-23.0.0-r1.ebuild b/dev-ada/gnatcoll-db/gnatcoll-db-23.0.0-r1.ebuild deleted file mode 100644 index 925a303bf679..000000000000 --- a/dev-ada/gnatcoll-db/gnatcoll-db-23.0.0-r1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) - -inherit ada multiprocessing python-single-r1 - -DESCRIPTION="GNAT Component Collection" -HOMEPAGE="http://libre.adacore.com" -SRC_URI="https://github.com/AdaCore/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="db2ada gnatinspect postgres +shared sql sqlite static-libs static-pic xref" - -RDEPEND="dev-ada/gnatcoll-core:${SLOT}[${ADA_USEDEP},shared?,static-libs?,static-pic?] - sqlite? ( dev-db/sqlite:3 ) - postgres? ( dev-db/postgresql:* ) - xref? ( - dev-ada/gnatcoll-bindings:${SLOT}[${ADA_USEDEP},iconv,shared?,static-libs?,static-pic?] - ) - ${ADA_DEPS} - ${PYTHON_DEPS}" -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" - -REQUIRED_USE="gnatinspect? ( xref ) - xref? ( sqlite ) - sqlite? ( sql ) - db2ada? ( sql ) - postgres? ( sql ) - || ( shared static-libs static-pic ) - || ( sql sqlite xref postgres gnatinspect db2ada ) - ${ADA_REQUIRED_USE} - ${PYTHON_REQUIRED_USE}" - -pkg_setup() { - python-single-r1_pkg_setup - ada_setup -} - -src_compile() { - build () { - GPR_PROJECT_PATH="${S}"/sql:"${S}"/sqlite:"${S}"/xref \ - gprbuild -p -m -v -j$(makeopts_jobs) -XGNATCOLL_SQLITE=external \ - -XGNATCOLL_VERSION=${PV} \ - -XBUILD=PROD -XLIBRARY_TYPE=$2 -XXMLADA_BUILD=$2 -XGPR_BUILD=$2 \ - -P $1/$3.gpr \ - -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed" - } - local lib - for kind in shared static-libs static-pic ; do - if use $kind; then - lib=${kind%-libs} - lib=${lib/shared/relocatable} - for dir in sql sqlite xref postgres ; do - if use $dir; then - build $dir $lib gnatcoll_${dir} - fi - done - fi - done - if use shared; then - lib=relocatable - elif use static-libs; then - lib=static - else - lib=static-pic - fi - if use gnatinspect; then - build gnatinspect ${lib} gnatinspect - fi - if use db2ada; then - build gnatcoll_db2ada ${lib} gnatcoll_db2ada - fi -} - -src_install() { - build () { - GPR_PROJECT_PATH="${D}/usr/share/gpr" gprinstall -p -f \ - -XBUILD=PROD -XGNATCOLL_VERSION=${PV} \ - --prefix="${D}"/usr -XLIBRARY_TYPE=$2 -XXMLADA_BUILD=$2 \ - -XGPR_BUILD=$2 --build-name=$2 --build-var=LIBRARY_TYPE \ - -P $1/$3.gpr - } - local lib - for kind in shared static-libs static-pic ; do - if use $kind; then - lib=${kind%-libs} - lib=${lib/shared/relocatable} - for dir in sql sqlite xref postgres ; do - if use $dir; then - build $dir $lib gnatcoll_${dir} - fi - done - fi - done - if use shared; then - lib=relocatable - elif use static-libs; then - lib=static - else - lib=static-pic - fi - if use gnatinspect; then - build gnatinspect ${lib} gnatinspect - fi - if use db2ada; then - build gnatcoll_db2ada ${lib} gnatcoll_db2ada - fi - rm -r "${D}"/usr/share/gpr/manifests || die - einstalldocs -} diff --git a/dev-ada/gnatmem/Manifest b/dev-ada/gnatmem/Manifest index 64bc1344f2b2..a513b23c46c2 100644 --- a/dev-ada/gnatmem/Manifest +++ b/dev-ada/gnatmem/Manifest @@ -1,4 +1,4 @@ AUX gnatmem-2018-gentoo.patch 2998 BLAKE2B ef2afa9a7ef200adb3729ac6e3bf80b6a4f92cae8c560805c741189917e454a391a6cc09271491110fd2e0c7c95cef672f807a64acf247cea2996fb2bbc71c31 SHA512 259915b1b9c5a586609c0e2801df3239f859871a194da5cd53ad323020832f5e2f37419bbb6f7e3c1d6a0c5d4a2bcf7b709db220b190abe84faa54463f43d199 DIST gnatmem-2021-20210518-19F7B-src.tar.gz 81001 BLAKE2B 618c5e0fc300e1ea53456b776372a06603ce6b71269ddbed8cbd0bceefd957f726ceac8a045f12f2a50e0f4ebdf47d4c60ef65716ba4bcc9eb6fc220a3670bff SHA512 ef938cb7c2b6cda12a68a874218d47acdee214530534114da6490475dd08e21dc4043c9a3f164074a8010e50d0a9c91b4fbabffdc8329700629407644fec46d4 -EBUILD gnatmem-2021-r2.ebuild 1020 BLAKE2B 125e79947002ba823d8a79c428dc4eb6b692d8dff34b3a64f0522212829d8bb3cf77239cd2a4f56a0581992d12fe235fe03e7ea53852fe0ade8585d6e379ca21 SHA512 6172b79fa6222035b7ee52b5dd6bc8246517fa85e984dc9bf82a3a4c819291f5bebe9dd7d8b6c525d724f2f7a63225414ae5fe7de69262bac76138965aeb53aa +EBUILD gnatmem-2021-r3.ebuild 1034 BLAKE2B 8724159104c3a59cac245e4e180097ade6cb85ad587d78c2c2abdac0a0e4adfefa4ba95b942e98fccd25ab9c745c04a0e8f1ac42bbe42e191f36f716e7368734 SHA512 3d11a007f9dfffa2f972357b901074d4aaf669afbd091dbf463d6e6d32f0711c8689365358ef78d499ab1bde50663c5e318b3f8a61492c655aa9cccf07a2ca1f MISC metadata.xml 956 BLAKE2B 07881059585f6c26518d41c31bcbf7c271f7509ab2592bf46f1dff8817514c32521fa88d2aa901704ab5c494a1e072e0bab96517375687a1caf30310e526b7a9 SHA512 292041c6876b22abdecee29b525fbb9ccf2b9069e4c4dd5a22a051bdb69502b905951f235bb5423d834e70df2100153cf5e97c17aa855a12ad5dcf588ff33d8b diff --git a/dev-ada/gnatmem/gnatmem-2021-r2.ebuild b/dev-ada/gnatmem/gnatmem-2021-r3.ebuild index af90fdecbf3d..ea3255deeec0 100644 --- a/dev-ada/gnatmem/gnatmem-2021-r2.ebuild +++ b/dev-ada/gnatmem/gnatmem-2021-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 gcc_14 ) inherit ada multiprocessing autotools MYP=${P}-${PV}0518-19F7B-src @@ -18,7 +18,7 @@ S="${WORKDIR}"/${MYP} LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND="${ADA_DEPS}" DEPEND="${RDEPEND} diff --git a/dev-ada/gprbuild/Manifest b/dev-ada/gprbuild/Manifest index 28e07e54c761..c82dff35bd61 100644 --- a/dev-ada/gprbuild/Manifest +++ b/dev-ada/gprbuild/Manifest @@ -1,9 +1,8 @@ AUX gprbuild-22.0.0-gentoo.patch 2052 BLAKE2B dcab01dcc71bdab78ecf16796c4174401a3d1dd950fb3600b993ed8e3f9606b7bb19e0ef9e30a1e2265a2003154b6ed06de8b1da73bb3279301b21e68a58e7a0 SHA512 6266611075133e580b07044f1fa85a03918254c189d2def36e227996f377b56876085f3e3ff18b443ccb0cc1d67ee69cb478cd90403015ff4d68107870929c0d -DIST gprbuild-23.0.0.tar.gz 952887 BLAKE2B a0de49e838dd41ca927d728dc2e7f23298bb3e7f865146ed6807e1da0f20fe9ce345d972ef93340f1a1fec91082ce14b575ad4e6642d759cb9d696602f291508 SHA512 d3b1af5295c0216eaa93e52b63ca51ceeaea324a3a3f40644e294f9048170f9294335e7e8ee2d77d99d4d9bb359267921632a01d43485d841b6e771143fb47a5 DIST gprbuild-24.0.0.tar.gz 959615 BLAKE2B c432b1f13a1aecb8f664aeb06694d86123268f29b43a50f5c7a48d7428c0b1c16f397e5a84c097aba04c7ee34011df119b154fd546ce156c999a54d159a84afb SHA512 09da4d54f2f151e9f9453e1a459533e2373eb5d4c51831be2bf90964ebcf653752de2f8b271c77f7b599f62146516fc60258ec3c96779fa2b52cd52979c6bd03 -DIST xmlada-23.0.0.tar.gz 1053370 BLAKE2B 4edf2244818d72d6fc760f60c8145f373e5445d1d245b20b605e21faa7eeefed7835db87c1fd1239008e75211a572294e1d8e35af16c2ba2631c02d1d3b6f52f SHA512 a0fb2a34ffb5edf408fbdc1a3d68511b5545a5ec8993251ba75d71dd2a197f14e187d08f8febd71cb23bbd694889a99941911386af8468c5eb3b11128555edcb +DIST gprbuild-25.0.0.tar.gz 940774 BLAKE2B b2a2895db767b55e459351ea6fbeb91a771b6e39672217d53fb2b4aeea4f42aa093760448da715ffb0b7da54c50b4b55f0034910ebfdfc52a8cde7dad7533ef0 SHA512 eb2d7072194323cae90acd0c8683eeb6a806ef6ff2ed4d3496e8b94c5b63dae8a428ec428a3610b380df7e122d7a00d9e9634ef06b5369b165536c99209602ce DIST xmlada-24.0.0.tar.gz 1053363 BLAKE2B 628a1d3645c58cc3f8f5140c7cfb16adef02f6ccc72b8e9410819eaf67e0160bdcf81a8e33065ec52f54cb12309d857a3d82e532990a0fd17c249c04334ab10f SHA512 4e6773a5fdf9b6ebb5afca913d77aba9f697768f28ef9b23b9277aa4ea4ce09de4e53655dd5559e2326ff847327adb53fa6b776775aa923100a2624df415c97d -EBUILD gprbuild-23.0.0-r1.ebuild 1680 BLAKE2B af2bb8ebb07de78ffae8f18601a0a087e60036e32be80c5f7a9ad64982e092ef2695c8c64df9098b74d1e2dc84617134f4cd9b1ecf577a63189f8e9c870c01b1 SHA512 a1493abbfb15309a46f8ffcfd346754b8bf17e4a94a6fd649d79a035a08b4d2a2b65a3aadccec47ec3b8dea829fafd492e465992549b4479918c522220d5c2ae -EBUILD gprbuild-23.0.0-r3.ebuild 1696 BLAKE2B 17743273a195a7f6358b2cd29359128a5da54a6ccda8c9e40b15aa5c5fa2cf1e6cd42b60af98d7fc3398a7b11a1cc2f386cd2783c207978fd1c9498afdc9ce7d SHA512 ddf97786f6a058c2c12060fb18bc63e288e763f3377727077539465fabe40a9af5571e5aaef0957b3bc7da6807440071c1d85f4b3d639a528726bd5418255e90 +DIST xmlada-25.0.0.tar.gz 1082553 BLAKE2B daddd7b1d6cd8c38ff3e9ecdc1d0864e1eca88128121635e8d1a8133f73285ced08478e732a0b7bb02cc00e240887d20a1a16048991450025290fd96ad5cb09f SHA512 c57db78e3afd20862c3275d3d0874ada1748e98df06a76841cb3dca3686b29c7693835a591ca5789dca2d3d6ba9677c9082df94857e180e0758a5b77fafc40c0 EBUILD gprbuild-24.0.0-r2.ebuild 1990 BLAKE2B dbc02977f2830d7aa874ef0988316cb3774043c3fd9167ae79ced38384891889671d9db2ac20eea1d1b97489bebc75e91092185a82a446efef81d90bd8ff120c SHA512 a9c5f17c78c80788df815231032a165deb5921c67d34b48d3c50d7090f246a4d68e920ef056411c90b8dad38bca251cc513230372e1aef40ee728fe4dc5e2dc4 +EBUILD gprbuild-25.0.0-r2.ebuild 2188 BLAKE2B 6bc927f22442d0c60b20cfb40dbcef3f37c863b300f357e5ec6ac780a058f45a754edd4867516b62f4c31dd09bb6a3ad9d610f9032df894b9e9d834ed3e68087 SHA512 bedd5ee4b4510a16c468a5419c229e43e087a8c9b71c1e0aa23705ccf340f6f7785f4b0cb6b6170171995c6e207d9e9db668958c8fb2382dd5a5e863ff4b2d91 MISC metadata.xml 888 BLAKE2B 635ae939acfcaa26b0ba80341ed90cb02d8c5a2cfa50ca78bbcf19bd3081cf434a51ef1b05547bc80f9174db1aabfad1bde6270c3c08ea4c119684a4af7d5e4e SHA512 65b9e30e2b0d5694fe31c244eeca739327274beda743330edb8f85f050a7f9c809cfb3a115b4f9349f282fc39de36f934354db864669f515da746cd9551b5337 diff --git a/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild b/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild deleted file mode 100644 index e340685fb095..000000000000 --- a/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild +++ /dev/null @@ -1,68 +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 ) - -inherit ada multiprocessing - -XMLADA=xmlada-${PV} - -DESCRIPTION="Multi-Language Management" -HOMEPAGE="http://libre.adacore.com/" -SRC_URI=" - https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz - https://github.com/AdaCore/xmlada/archive/refs/tags/v${PV}.tar.gz - -> ${XMLADA}.tar.gz" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" - -DEPEND="${ADA_DEPS} - dev-ada/gprconfig_kb[${ADA_USEDEP}]" -RDEPEND="${DEPEND}" - -REQUIRED_USE="${ADA_REQUIRED_USE}" -PATCHES=( "${FILESDIR}"/${PN}-22.0.0-gentoo.patch ) - -src_prepare() { - default - sed -i \ - -e "s:@GNATBIND@:${GNATBIND}:g" \ - src/gprlib.adb \ - || die - cd gpr/src || die - ln -s gpr-util-put_resource_usage__unix.adb \ - gpr-util-put_resource_usage.adb -} - -bin_progs="gprbuild gprconfig gprclean gprinstall gprname gprls" -lib_progs="gprlib gprbind" - -src_compile() { - local xmlada_src="../${XMLADA}" - inc_flags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \ - -I${xmlada_src}/schema -I${xmlada_src}/unicode \ - -I${xmlada_src}/input_sources" - - gcc -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die - for bin in ${bin_progs}; do - gnatmake -j$(makeopts_jobs) ${inc_flags} $ADAFLAGS ${bin}-main \ - -o ${bin} -largs ${LDFLAGS} gpr_imports.o || die - done - for lib in $lib_progs; do - gnatmake -j$(makeopts_jobs) ${inc_flags} ${lib} $ADAFLAGS \ - -largs ${LDFLAGS} gpr_imports.o || die - done -} - -src_install() { - dobin ${bin_progs} - exeinto /usr/libexec/gprbuild - doexe ${lib_progs} - insinto /usr/share/gpr - doins share/_default.gpr - einstalldocs -} diff --git a/dev-ada/gprbuild/gprbuild-23.0.0-r3.ebuild b/dev-ada/gprbuild/gprbuild-25.0.0-r2.ebuild index 7141f9b2e902..e4b4ece9db50 100644 --- a/dev-ada/gprbuild/gprbuild-23.0.0-r3.ebuild +++ b/dev-ada/gprbuild/gprbuild-25.0.0-r2.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 gcc_14 ) - -inherit ada multiprocessing +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +inherit ada python-any-r1 multiprocessing XMLADA=xmlada-${PV} DESCRIPTION="Multi-Language Management" -HOMEPAGE="http://libre.adacore.com/" +HOMEPAGE="https://github.com/AdaCore/gprbuild" SRC_URI=" https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz @@ -18,21 +18,40 @@ SRC_URI=" -> ${XMLADA}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc" DEPEND="${ADA_DEPS} dev-ada/gprconfig_kb[${ADA_USEDEP}]" RDEPEND="${DEPEND}" +BDEPEND="doc? ( + $(python_gen_any_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + ') +)" REQUIRED_USE="${ADA_REQUIRED_USE}" PATCHES=( "${FILESDIR}"/${PN}-22.0.0-gentoo.patch ) +python_check_deps() { + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use doc && python-any-r1_pkg_setup + ada_pkg_setup +} + src_prepare() { default sed -i \ -e "s:@GNATBIND@:${GNATBIND}:g" \ src/gprlib.adb \ || die + sed -i \ + -e "s|\"gnatbind\"|\"gnatbind-${GCC_PV}\"|" \ + src/gprbind.adb \ + || die cd gpr/src || die ln -s gpr-util-put_resource_usage__unix.adb \ gpr-util-put_resource_usage.adb @@ -56,6 +75,7 @@ src_compile() { gnatmake -j$(makeopts_jobs) ${inc_flags} ${lib} $ADAFLAGS \ -largs ${LDFLAGS} gpr_imports.o || die done + use doc && emake -C doc html } src_install() { @@ -64,5 +84,7 @@ src_install() { doexe ${lib_progs} insinto /usr/share/gpr doins share/_default.gpr + local DOCS=README.md + use doc && HTML_DOCS="doc/html/*" einstalldocs } diff --git a/dev-ada/gprconfig_kb/Manifest b/dev-ada/gprconfig_kb/Manifest index 32a8225736d1..26fad8ec20d5 100644 --- a/dev-ada/gprconfig_kb/Manifest +++ b/dev-ada/gprconfig_kb/Manifest @@ -1,7 +1,7 @@ -AUX gprconfig_kb-23.0.0-gentoo.patch 5997 BLAKE2B ab522e5510b9a8cea9d0ad6bf9c9b27d74d00b8ab330f32fdb301f4441279a193ef8d07c8b2859dd739613baf32f0ffbeeb80b9b0e0d3370d1b6a87248febe67 SHA512 13c47f87f5c5dcee460e4380cc02cfdc849ee0a28092aa6aacd4371c7d7362099f2ef722a084ef9bb4f3fdc52d58cecf428e7062533ffd6c9558e06bf52e18f8 AUX gprconfig_kb-24.0.0-gentoo.patch 5724 BLAKE2B d48884538f67554db7d48d185a18f10c17eb94aee597c0055e889e7c1f8707677cb4fcc2d09214e2e519244e222aaa722103d92576d3c6c8c956500adf7da7a7 SHA512 17e653cbe43f4d09d891c83a14ae373685782d22bacd8a713add769d1661f6744ce2b40c6bdc5affb034ed7d64d5c6a398f412516d029ca7d3fa48ff78eb6d47 -DIST gprconfig_kb-23.0.0.tar.gz 42132 BLAKE2B ed39c8f199e0cd31dbd3b587bcf589d62befc29ab907c54d9bcbc08887239a5ce12bc22428631e32d8c69c0c6bdd01e4591d050f480ea461f4d8af0f1cc05288 SHA512 505b632ff744c8fbb75b72d0f406a88a2c675d5afead9f0f8ca282ae79ca4e38c174dfe424c4c4a55835a9ebdbc6d0a2f329592bd6dfb87d5493e8473a0b2376 +AUX gprconfig_kb-25.0.0-gentoo.patch 7020 BLAKE2B ba0009d5eee186f9ae7502b81caf69f894b739423901836c5b60ee5b87d2668ed10b9088828d5c4dc9fb72eddbac0fd7ff3b380efd43e1e0748ca2fc1750d660 SHA512 86a6398fb43978a6debb7fb4e3aabbc88bf7a0803b3828777bbcd941ea9cbfbf75e30dcdd9a6e92d5581668808766b3d5fc3d721834b2d5f6345124a7ede961e DIST gprconfig_kb-24.0.0.tar.gz 43010 BLAKE2B af246be2c5683655bf023e07b08539647d8a351f8f5d8eace77665980fca80855262028667a94b5d9ed9ebf2af16d061968822ef923505c7a4de6497baefa3d7 SHA512 1bd28b7eba57a8952635f3fb61e06278935c31ed196182e19e9e8c2ffa3edbccea5a9b97b3f5a3c820e7c3f5b6878d87f7b42d66a7f57e083d0b56cb91a6eb84 -EBUILD gprconfig_kb-23.0.0-r3.ebuild 706 BLAKE2B 7d7aff991b5fa16bf2ae8923a568e50a45ec36753ee2e7a9d8dcfccf6ba688037d382ad703b5429801908da94c02115822a8679b24a66799c5e9af5977beee8d SHA512 d649db78e6880f2e34b9d54f4e9fd7d29c84e22aff98ebc5b6e70037558bcddc597f7d8b7d073e0696928897fe37de5e1961badb0f2b9cc7b08d393baf47672c +DIST gprconfig_kb-25.0.0.tar.gz 44165 BLAKE2B e026f7f644dfd8ba4665fd22ef6cb5abcdb1013779a8119e1be3dc3313cca37af138e1a351f2fc8dd10780009d0d98e0ab60e73293ea508acbe4cd5a836bdb16 SHA512 afc1754efdf6e3cbff9752a182cd063f83965c6a13e53930a14f806a46e3cbfb0afed8f8e11b098986227f27a1a67b45d22369adaa39a5dc1f2a8cc494f789e8 EBUILD gprconfig_kb-24.0.0-r1.ebuild 712 BLAKE2B 5b60c6cc7ee837939777ffe47f783001f6dcc6544855b9fb3cbc9de5283a951a954798a85adfc3da1533bb769b9fe777488014d49a6880082fba55ee743e7c95 SHA512 c4bf1ca35a25f383284da4cec2c92c16d79deccec879dfc2878242fb97d368b9efe544d85d6729ac9d194ab89f7ebc1c346c2e8b64f052fb41c8bbfc4c27915c +EBUILD gprconfig_kb-25.0.0.ebuild 721 BLAKE2B eb72331ace347d30d18681683233dff1148bd56fa82bd0058687a4c0b9946c3a24238f5af164b234f17580473befd137d7100a2b2905b111da7010efcab63cbf SHA512 61e7689ac6d049ef6747589a76354470f1c64b430dba90a9425c2fc8875ee83fc8d3ee16233974d0eca1e2f92eb91caf622f328f8c4da73cfc78889a02d5aee0 MISC metadata.xml 455 BLAKE2B 9c952304874ab4f01943eae8096d48825d36079409d713c929f58a0bf11cb835b43a0d255ac0b6d37614deafceec111b914b73b15fa4deba70e5e14153897dc5 SHA512 9de3eb46353e61f14f4f2dab8f7048b8dea48ceb3861383a74c3c4463aa93eefacf4952d4977d00f76fd8f99b7c79712b5098b9aa6261185ce666827d05afcc1 diff --git a/dev-ada/gprconfig_kb/files/gprconfig_kb-23.0.0-gentoo.patch b/dev-ada/gprconfig_kb/files/gprconfig_kb-25.0.0-gentoo.patch index 6808542199fa..c65cc6e1eab1 100644 --- a/dev-ada/gprconfig_kb/files/gprconfig_kb-23.0.0-gentoo.patch +++ b/dev-ada/gprconfig_kb/files/gprconfig_kb-25.0.0-gentoo.patch @@ -4,17 +4,17 @@ <!-- GCC 3.x & 4.x (not for GNAT Pro)--> <compiler_description> <name>GCC</name> -- <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-linux-gnu-|.*mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-)?gcc(-\d+)?</executable> -+ <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-linux-gnu-|.*mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-)?gcc-@VER@</executable> +- <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-linux-gnu-|.*mingw32.*|.*-xcoff-.*|.*linux-android.*|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|.*-freebsd.*)?gcc(-\d+)?</executable> ++ <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-linux-gnu-|.*mingw32.*|.*-xcoff-.*|.*linux-android.*|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|.*-freebsd.*)?gcc-@VER@</executable> <version> <external>$EXEC -v</external> <nogrep regexp="for GNAT Pro"></nogrep> -@@ -173,18 +173,18 @@ +@@ -189,18 +189,18 @@ --> <compiler_description> <name>GNAT</name> -- <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-linux-gnu-|.*mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|.*-qnx.*|.*-rtems.*)?gnatls</executable> -+ <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-linux-gnu-|.*mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|.*-qnx.*|.*-rtems.*)?gnatls-@VER@</executable> +- <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-linux-gnu-|.*mingw32.*|.*-xcoff-.*|.*linux-android.*|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|.*-fastos.*|.*-freebsd.*|.*-qnx.*|.*-rtems.*)?gnatls</executable> ++ <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-linux-gnu-|.*mingw32.*|.*-xcoff-.*|.*linux-android.*|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|.*-fastos.*|.*-freebsd.*|.*-qnx.*|.*-rtems.*)?gnatls-@VER@</executable> <version> - <external>${PREFIX}gnatls -v --version</external> + <external>${EXEC} -v --version</external> @@ -32,7 +32,7 @@ <grep regexp="^[-\w]*gcc \S+ (\d+)\.\d+\.\d+" group="1"></grep> </variable> <runtimes default="default,kernel,native"> -@@ -194,7 +194,7 @@ +@@ -210,7 +210,7 @@ <directory group="2" >\.\./$TARGET/lib(32|64)?/gnat/(.*)/adalib/</directory> </runtimes> <target> @@ -41,7 +41,7 @@ <grep regexp="[^\r\n]+"></grep> </target> </compiler_description> -@@ -245,7 +245,7 @@ +@@ -302,7 +302,7 @@ <!-- Generic C compiler for LLVM --> <compiler_description> <name>C_LLVM</name> @@ -50,15 +50,6 @@ <version> <external>clang --version</external> -@@ -475,7 +475,7 @@ - <!-- LLVM Compiler --> - <compiler_description> - <name>LLVM</name> -- <executable>clang</executable> -+ <executable>fake-clang</executable> - <version> - <external>clang -v</external> - <grep regexp=".*(LLVM|clang) version ([0-9.]*)" group="2"></grep> --- a/db/gnat.xml 2019-06-01 21:53:53.383281607 +0200 +++ b/db/gnat.xml 2019-06-01 21:57:08.414196529 +0200 @@ -10,7 +10,7 @@ @@ -93,7 +84,7 @@ </configuration> --- a/db/linker.xml 2021-12-21 22:36:01.054738486 +0100 +++ b/db/linker.xml 2021-12-21 22:36:59.973738600 +0100 -@@ -128,9 +128,13 @@ +@@ -130,9 +130,13 @@ <host name="^i686.*-linux.*$" /> </hosts> <config> @@ -108,7 +99,46 @@ package Linker is for Export_File_Format use "GNU"; for Export_File_Switch use "-Wl,--version-script="; -@@ -917,7 +921,8 @@ +@@ -696,34 +696,19 @@ + <configuration> + <!-- aarch64-linux - native compiler. --> + <targets> +- <target name="^aarch64-linux-gnu$" /> ++ <target name="^aarch64(-unknown)-linux-gnu$" /> + </targets> + <hosts> +- <host name="^aarch64-linux-gnu$" /> ++ <host name="^aarch64(-unknown)-linux-gnu$" /> + </hosts> + <config> +- for Archive_Builder use ("ar", "cr"); ++ AR := External("AR", "ar"); ++ for Archive_Builder use (AR, "cr"); + for Archive_Builder_Append_Option use ("q"); + for Archive_Indexer use ("ranlib"); + for Archive_Suffix use ".a"; + </config> + </configuration> +- +- <configuration> +- <!-- aarch64-linux - cross compiler. --> +- <targets> +- <target name="^aarch64-.*linux-gnu$" /> +- </targets> +- <hosts negate="true"> +- <host name="^aarch64-linux-gnu$" /> +- </hosts> +- <config> +- for Archive_Builder use ("aarch64-linux-gnu-ar", "cr"); +- for Archive_Builder_Append_Option use ("q"); +- for Archive_Indexer use ("aarch64-linux-gnu-ranlib"); +- for Archive_Suffix use ".a"; +- </config> +- </configuration> + + <configuration> + <targets> +@@ -1022,7 +1026,8 @@ <host name="^x86_64-.*linux.*" /> </hosts> <config> @@ -118,7 +148,7 @@ for Archive_Builder_Append_Option use ("q"); for Archive_Indexer use ("ranlib"); for Archive_Suffix use ".a"; -@@ -1274,7 +1279,7 @@ +@@ -1395,7 +1400,7 @@ </targets> <config> for Library_Partial_Linker use @@ -127,7 +157,7 @@ & GCC_No_Pie & ("-Wl,-r", "-o"); </config> -@@ -1295,7 +1300,7 @@ +@@ -1421,7 +1426,7 @@ </targets> <config> for Library_Partial_Linker use @@ -136,3 +166,5 @@ & GCC_No_Pie & ("-Wl,-r", "-o"); </config> +--- db/linker.xml.old 2025-01-04 23:22:02.343268592 +0100 ++++ db/linker.xml 2025-01-04 23:24:11.562660779 +0100 diff --git a/dev-ada/gprconfig_kb/gprconfig_kb-23.0.0-r3.ebuild b/dev-ada/gprconfig_kb/gprconfig_kb-25.0.0.ebuild index 5438b3d85e97..a7e89934ab37 100644 --- a/dev-ada/gprconfig_kb/gprconfig_kb-23.0.0-r3.ebuild +++ b/dev-ada/gprconfig_kb/gprconfig_kb-25.0.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -ADA_COMPAT=( gnat_2021 gcc_12 ) +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 gcc_14 ) inherit ada @@ -13,8 +13,7 @@ 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="" +KEYWORDS="~amd64 ~arm64 ~x86" REQUIRED_USE="${ADA_REQUIRED_USE}" PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) diff --git a/dev-ada/libgpr/Manifest b/dev-ada/libgpr/Manifest index fb11aadcaaf4..ed896a74299f 100644 --- a/dev-ada/libgpr/Manifest +++ b/dev-ada/libgpr/Manifest @@ -1,7 +1,6 @@ AUX libgpr-2020-gentoo.patch 321 BLAKE2B fe3affe50712460474125d074936fd9db526c4392e6ecb8bbcb07091e9971042368ee134112d9550ffc9fd2a0ab23371e7bb760b3d8e53cd4ca0e54e0522f604 SHA512 2bcae85d30a41333664f17f097f31cf21b270c43092e823dda256098c928d4ccdab62f9d349b57f941b50bb676649aedf5f978a05f3afaf1ee234e4515c305b5 -DIST gprbuild-23.0.0.tar.gz 952887 BLAKE2B a0de49e838dd41ca927d728dc2e7f23298bb3e7f865146ed6807e1da0f20fe9ce345d972ef93340f1a1fec91082ce14b575ad4e6642d759cb9d696602f291508 SHA512 d3b1af5295c0216eaa93e52b63ca51ceeaea324a3a3f40644e294f9048170f9294335e7e8ee2d77d99d4d9bb359267921632a01d43485d841b6e771143fb47a5 DIST gprbuild-24.0.0.tar.gz 959615 BLAKE2B c432b1f13a1aecb8f664aeb06694d86123268f29b43a50f5c7a48d7428c0b1c16f397e5a84c097aba04c7ee34011df119b154fd546ce156c999a54d159a84afb SHA512 09da4d54f2f151e9f9453e1a459533e2373eb5d4c51831be2bf90964ebcf653752de2f8b271c77f7b599f62146516fc60258ec3c96779fa2b52cd52979c6bd03 -EBUILD libgpr-23.0.0-r1.ebuild 1510 BLAKE2B aded3fbe533b72e6d714593fc3fd2ae3def41656e491fb2c73b39e599a9ea92ae0bb7ef66126a19ed2502018020b93bbc460a70ffb49e9be0b6969e09a812c3b SHA512 d55fb4f1ffbf322d899dcd33d6b94df5a9f4752ed8fb2ffa8beafd762175d32763cc89a2e7bf6a7cbb2c6c0664550dc63319e3e68c86e47b67799331b2d3fe2c -EBUILD libgpr-23.0.0.ebuild 1501 BLAKE2B 9aeded1f11d4a1096631d30cc2eead9be968c8fadf76bd54274a26571025f3b7b16e876e29952681b65f9df9952f73712aa4bbf9faeaa18310169acedfb8ab7f SHA512 c9e708c6df97fbf40d8cda62899bef51df2b113ccb754521418707346e18f7e1a7f0761b796a532c0a0eb09e58dec9039e1fe5bba6cc0b44fe97429cdef13e38 +DIST gprbuild-25.0.0.tar.gz 940774 BLAKE2B b2a2895db767b55e459351ea6fbeb91a771b6e39672217d53fb2b4aeea4f42aa093760448da715ffb0b7da54c50b4b55f0034910ebfdfc52a8cde7dad7533ef0 SHA512 eb2d7072194323cae90acd0c8683eeb6a806ef6ff2ed4d3496e8b94c5b63dae8a428ec428a3610b380df7e122d7a00d9e9634ef06b5369b165536c99209602ce EBUILD libgpr-24.0.0.ebuild 1508 BLAKE2B 4a1b7176d35349cf51c1eaf918e5c8a2517d6b00acba2cedbef84c856c84b1a131cbb21d849aec057c9c105513b3a586962c6192af0bd6476ab2b325c9201bb5 SHA512 21335fa502e776134b985051b29dc6b1e9473eceaf8864e280d2f089a0ab19bc7bc10bf9da1546d929cb95e5599a9a7b87ec89c9219e55794fd4e34a2354e62d +EBUILD libgpr-25.0.0.ebuild 1520 BLAKE2B 927569cab1fe31fa292d03094c9d697ed765d621f8c750f4472cb5422b69958fbb2d362a552cacf897e506e7fed73c35889766c8bd07e5be6acb28af210b9ba3 SHA512 1d167b083701b9a063832da3479436357e94333f7c18fac761a9404824492bf307cd14c98ec734c7bb870ed08c21a004a3a258cf56937a7e246c58e40de7f929 MISC metadata.xml 1021 BLAKE2B 448e77605bee95104afac31b48193217ee6c38af0b4e63cdee2c5d8e420a7f9b9a13c1302cfe49a109ab5c878808582a6f4a3ca3315e41b256f529d202bc1b4b SHA512 71427b65c100cba3e66d889124f27f1e378ad72559e7165ec93a4ffc68b7efe12db81ee5ec83aa92939b922d3efcfb3a5641c46db772a25bae21ce51acec5f47 diff --git a/dev-ada/libgpr/libgpr-23.0.0.ebuild b/dev-ada/libgpr/libgpr-23.0.0.ebuild deleted file mode 100644 index e3b1ae52f6fe..000000000000 --- a/dev-ada/libgpr/libgpr-23.0.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -ADA_COMPAT=( gnat_2021 gcc_12 ) -inherit ada multiprocessing - -MYPN=gprbuild -MYP=${MYPN}-${PV} - -DESCRIPTION="Ada library to handle GPRbuild project files" -HOMEPAGE="http://libre.adacore.com/" -SRC_URI="https://github.com/AdaCore/${MYPN}/archive/refs/tags/v${PV}.tar.gz - -> ${MYP}.tar.gz" - -S="${WORKDIR}"/${MYP} - -LICENSE="GPL-3" -SLOT="0/${PV}" -KEYWORDS="amd64 x86" -IUSE="+shared static-libs static-pic" - -RDEPEND="dev-ada/xmlada:=[shared?,static-libs?,static-pic?,${ADA_USEDEP}]" -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" -REQUIRED_USE="${ADA_REQUIRED_USE} - || ( shared static-libs static-pic )" - -PATCHES=( "${FILESDIR}"/${PN}-2020-gentoo.patch ) - -src_prepare() { - default - sed -i -e '/Library_Name/s|gpr|gnatgpr|' gpr/gpr.gpr || die -} - -src_configure() { - emake setup -} - -src_compile() { - build () { - gprbuild -p -m -j$(makeopts_jobs) -XBUILD=production -v \ - -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \ - gpr/gpr.gpr -cargs:C ${CFLAGS} -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() { - if use static-libs; then - emake prefix="${D}"/usr libgpr.install.static - fi - for kind in shared static-pic; do - if use ${kind}; then - emake prefix="${D}"/usr libgpr.install.${kind} - fi - done - rm -r "${D}"/usr/share/gpr/manifests || die - einstalldocs -} diff --git a/dev-ada/libgpr/libgpr-23.0.0-r1.ebuild b/dev-ada/libgpr/libgpr-25.0.0.ebuild index 66f3a81aaf09..d9cd45761682 100644 --- a/dev-ada/libgpr/libgpr-23.0.0-r1.ebuild +++ b/dev-ada/libgpr/libgpr-25.0.0.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 gcc_14 ) inherit ada multiprocessing MYPN=gprbuild MYP=${MYPN}-${PV} DESCRIPTION="Ada library to handle GPRbuild project files" -HOMEPAGE="http://libre.adacore.com/" +HOMEPAGE="https://github.com/AdaCore/gprbuild" SRC_URI="https://github.com/AdaCore/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${MYP}.tar.gz" @@ -18,7 +18,7 @@ S="${WORKDIR}"/${MYP} LICENSE="GPL-3" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="+shared static-libs static-pic" RDEPEND="dev-ada/xmlada:=[shared?,static-libs?,static-pic?,${ADA_USEDEP}]" @@ -65,5 +65,4 @@ src_install() { fi done rm -r "${D}"/usr/share/gpr/manifests || die - einstalldocs } diff --git a/dev-ada/markdown/Manifest b/dev-ada/markdown/Manifest index cb6109c89460..1a90076607c0 100644 --- a/dev-ada/markdown/Manifest +++ b/dev-ada/markdown/Manifest @@ -1,5 +1,6 @@ -DIST markdown-23.0.0.tar.gz 29626 BLAKE2B 146c980635aec06e8b806f3b00ef8a66b2a34de0a5aebf3ff1a83d3f99187b97c714c81a5a7054dd75d3fa87e6682b260636c12044fce05dc79ddf52d2fe56a5 SHA512 13497f8762d360190d158bbcbbb3a0efaaedad0c67b69d0df63c31029ed482c5b6a169152433fb3fd267e97bebc1950d0a8307fc849945a1b7f68892feb496c0 +DIST commonmark-spec-0.31.2.tar.gz 75228 BLAKE2B bc92d6f39527e6d675d89b34a2e0941bf18a7faf0dfc7622d95bab7504b745629fa210b3c6e39f4ae1300ce14936b43a709b237b6b5fcb9e3095f94312b1d454 SHA512 b44e0b791a2d7e597c5280f1f8779ff8e3f6dab376e97872077e34adb0b2ad264b55155e5c9d0b88713b479f1b4254f766399a0901d02e63da5088a8585e85ba DIST markdown-24.0.0.tar.gz 44043 BLAKE2B c8ae36d9bb628298a61ca91f15c3c937c1b5d192c90f38fbf85a7a2b193664abd7dcad50a61c75f91160475774f6ddf2ecdb7b47ad9f454223795fd6983afb01 SHA512 beb6adc41d86a2b18debbc21bdafbd069cfef72bd2cd52d5b18630316744f25fc6c71450d87dc8a87830a9a40458a494132dec61c10587d5d81418f58c6e0f73 -EBUILD markdown-23.0.0-r2.ebuild 652 BLAKE2B 12e18eeb98bd63e7b5b60d81b187d32a922140354a0a0e1697028a5a4b0ac5d63a1d909d18c9418208c4dc03c31c43167bc3ee69c7133ddca3e5178339e91e5e SHA512 ccb19fe523ae9f64638aee576fb6e630f4c650c9e9dd8500220bbd57ab1c3f04a22a6dc0baac9a8f3b235bb936c5b61cb8068df3a112c1b81875727795bab2bc -EBUILD markdown-24.0.0.ebuild 657 BLAKE2B c7fa4385fc1e171f5e3fb1da169547e78fcc8eb23ac187b3ed9ebd7c1398ba3d44a53d3c7d5cae9e1d1cffffaceafebb148ca0833dea3bade853419b1b62c3b9 SHA512 6b9be67d63fe36bddc62f1946c5eec19b88b130c4223ca6d9f43a2868d7594956fabef1c6dd8a4f0c7e9615333b8fe49819c661b602d85243b9846c069be4fdf +DIST markdown-25.0.0.tar.gz 48445 BLAKE2B ccdf0e6851c462b88565611e89db60dc42895f9c55e7f1219a1dfee98623575f5c5bc416b813becf4e7f3ed64791a82d1edd20b4082c1ccb1349cd68f88c018f SHA512 1818110a0539b91d407b1bba6ca2d9f18e0d5fe71be97dc9cd1000331e579a5f06349f4f1b11f09341e507dbff9e47cafb31df2d5816e33c1c84baa9e4b01009 +EBUILD markdown-24.0.0-r1.ebuild 647 BLAKE2B 21bb1683c3af1d9ff0e5b8ac526d6ac4218c9dcd5f516a7aec6b5493ec6a4f138ab79023e5dd178f258b7ab3ba42d5f571fb807409634b1802467096c376db00 SHA512 da8dcd4511261b95ddd654ac22a273cd156f036331a01f70ba203641622788d87ae972cbdbe13136fd49b719e6da34bb2d2ce8ebcb906d4ba023f3b28a9f010b +EBUILD markdown-25.0.0.ebuild 1231 BLAKE2B 1bc324c2dcc35b4e7fe37c830b9fe8bc3ff732eb9d7cd41b1e3b7685aa973599b729edcd57adba427a387ed34ffce72c0085bd26fcac00ce65950ffd099b3117 SHA512 eb0e365169eeb81c51e311d2b59bda0d09de96515830140658ee3ae7a8bb750b79470cf31137baab20e5a340f5df8d4a4c98b8306cefd20ff3d1455db05e8051 MISC metadata.xml 297 BLAKE2B e9b6674777967e3b392b904af4cac37deff1e0344979b3ae53cf4130353f2d8bf8a38ecd999182c958559a0c4c56255366253ece09f37f59583ebe9dd78dad20 SHA512 517d8222a6bc08f0cf301e11858640f2f40389f338fe1bf77aff093aa3c9ac886688a388f314d9b227f63eacf971034ae056988041c746e7dc9ce58e12ca5821 diff --git a/dev-ada/markdown/markdown-23.0.0-r2.ebuild b/dev-ada/markdown/markdown-23.0.0-r2.ebuild deleted file mode 100644 index ff6f2a9745ef..000000000000 --- a/dev-ada/markdown/markdown-23.0.0-r2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2022-2023 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="Provides a markdown parser written in Ada" -HOMEPAGE="https://github.com/AdaCore/markdown" -SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="${ADA_DEPS} - dev-ada/gprbuild[${ADA_USEDEP}] - dev-ada/VSS[${ADA_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="" - -src_compile() { - gprbuild -v -p -j$(makeopts_jobs) -XBUILD_MODE=dev gnat/markdown.gpr -cargs ${ADAFLAGS} -} diff --git a/dev-ada/markdown/markdown-24.0.0.ebuild b/dev-ada/markdown/markdown-24.0.0-r1.ebuild index 7b04a6f1cd8e..1c2a4d380b42 100644 --- a/dev-ada/markdown/markdown-24.0.0.ebuild +++ b/dev-ada/markdown/markdown-24.0.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) +ADA_COMPAT=( gcc_12 gcc_13 ) inherit ada multiprocessing DESCRIPTION="Provides a markdown parser written in Ada" diff --git a/dev-ada/markdown/markdown-25.0.0.ebuild b/dev-ada/markdown/markdown-25.0.0.ebuild new file mode 100644 index 000000000000..b65f0331dd69 --- /dev/null +++ b/dev-ada/markdown/markdown-25.0.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ADA_COMPAT=( gcc_12 gcc_13 ) +PYTHON_COMPAT=( python3_{10..13} python3_13t ) + +inherit ada python-any-r1 multiprocessing + +SpecV=0.31.2 +SpecN="commonmark-spec" +Spec=${SpecN}-${SpecV} + +DESCRIPTION="Provides a markdown parser written in Ada" +HOMEPAGE="https://github.com/AdaCore/markdown" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz + test? ( + https://github.com/commonmark/${SpecN}/archive/refs/tags/${SpecV}.tar.gz + -> ${Spec}.tar.gz + )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="${ADA_DEPS} + dev-ada/gprbuild[${ADA_USEDEP}] + dev-ada/VSS[${ADA_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="test? ( ${PYTHON_DEPS} )" + +src_prepare() { + if use test; then + mv ../${Spec} ${SpecN} || die + sed -i -e "s|python3|python|" Makefile || die + fi + default +} + +src_compile() { + gprbuild -v -p -j$(makeopts_jobs) -XBUILD_MODE=dev gnat/markdown.gpr \ + -cargs ${ADAFLAGS} || die +} + +src_test() { + emake build_tests + emake check_markdown + diff -u testsuite/commonmark/xfails.txt \ + commonmark-spec/markdown_tests_result || die +} diff --git a/dev-ada/spawn/Manifest b/dev-ada/spawn/Manifest index 7fff09ececb5..6eff17977dcc 100644 --- a/dev-ada/spawn/Manifest +++ b/dev-ada/spawn/Manifest @@ -1,5 +1,5 @@ -DIST spawn-23.0.0.tar.gz 43449 BLAKE2B b4a025784d7fb1248696081c128d415101cffca59f03edae3e3ca05c286390ca93a34c1284d1e4b23f8e57bfff274b87d977e5b7840c74049f6f66be89c9b9ac SHA512 440f8b8a45b7a322a5715a195f7e37e6f2641af8190166229e89a11ce6ab60511eb058432f4c3ffcdd670ec71b2509d5e23a80ac2e8dd6b7960bc42385bab86e DIST spawn-24.0.0.tar.gz 66727 BLAKE2B 12da7485b27ff75ce75efbbe4e9c71542faf2c283f843cc903530b9e8829f86e3ea1aff73f8f9efb80fd9924c695039456f3b63ff6d635161ed8b33daeb2da88 SHA512 948bcaa7963d79f7a42fe05c80586bce669b7ff01bb756c087f237b35892956d2ababc274e594e9bda82a8c70fbb62c9ca199161176c87ed3ff42f9e7bc78ea9 -EBUILD spawn-23.0.0-r3.ebuild 2703 BLAKE2B f3f6d9d82d80ff8aba19f64b537239aa7379cbc0de6ffe89cd5daf455d362504d426457495037fc1e6886ae5549cc38920e70948c538cf6200bcb43c768d9a28 SHA512 c69e452e433647f6d9f065e3eeeb43431c636f85abc6e16e2b2968bb86b0bd38a3ba8be358b98ed24c7cdcffa512642a7f8d09a9841ca610cf59ae965126140b +DIST spawn-25.0.0.tar.gz 66730 BLAKE2B 45790fcce26594b583eea5cfa123dbd19449d9a38c9fa5f205b549b04f50686ed32609d7b63726815b8ba950e3f61b81f919caaed89d5baa1273e78cff27c1a5 SHA512 429442b1d308b552516bc872508f9d735f0f24acce7c7b705caa54837f3a2eadb7555cad49dbdf01872faf7d838d438b6b542d2196f50f8012ffc8faad4d6f9d EBUILD spawn-24.0.0.ebuild 2703 BLAKE2B 3d07ffb6cfe40c0d7336c895b2510abd5e54f1782c1464060fc8fb679bb6c7d7243f3e33f4b829de71990038aa21f7f10d8c351cfd41cd05c0e005bd50564ac1 SHA512 c8b345db28847a3e79183dbd6f76a6a1dfc117c9ca6bb74e3dde1d2bf6b46bf4212b8da0de4d4d5c2ccab51e83004e717551267f88b6f2765e2023a35ef54055 +EBUILD spawn-25.0.0.ebuild 1987 BLAKE2B f28b712485c4367613fbe141f087d2ddb8afc277adf021de064369126b79b38883f5090916f22cdbda68f33743ad6335a9bd6974ee20f0e0e854ba9f753310c7 SHA512 86ec444d73034fff67c9ab3a036e16c5d68221abe1e58456d1ee92d790cb48f578d3a08770cbd94a3af8c40636aa0ff352dd16027a930108b1aff790d1992a9b MISC metadata.xml 757 BLAKE2B ab129603cda705c21f84a789cd100d39186e06885589089320dfcfc0726cc913ad73784fd35e541ee0773c93e89bbd42965897b9bd921008cdc0fbdaffdaf64f SHA512 6124d3eecafe758ca841715bcead3b8d35d9af7bafeea8a967910156043c30b1902a521e7cf37c0a61283859797dc364580f2b84f6b597adeb81c25c98f3f9d2 diff --git a/dev-ada/spawn/spawn-23.0.0-r3.ebuild b/dev-ada/spawn/spawn-25.0.0.ebuild index deeae8222886..2d9d0e516a91 100644 --- a/dev-ada/spawn/spawn-23.0.0-r3.ebuild +++ b/dev-ada/spawn/spawn-25.0.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 gcc_14 ) inherit ada multiprocessing DESCRIPTION="Simple API to spawn processes" @@ -13,16 +13,12 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="GPL-3 gcc-runtime-library-exception-3.1" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="glib +shared static-libs static-pic" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+shared static-libs static-pic" REQUIRED_USE="|| ( shared static-libs static-pic ) ${ADA_REQUIRED_USE}" -RDEPEND="${ADA_DEPS} - glib? ( - dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic(-)?] - dev-libs/glib -)" +RDEPEND="${ADA_DEPS}" DEPEND="${RDEPEND}" BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]" @@ -31,12 +27,6 @@ src_compile() { gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \ -XLIBRARY_TYPE=$1 \ gnat/spawn.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die - if use glib; then - gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \ - -XLIBRARY_TYPE=$1 \ - gnat/spawn_glib.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \ - || die - fi } if use shared; then build relocatable @@ -51,16 +41,11 @@ src_compile() { src_test() { build () { + GPR_PROJECT_PATH=gnat \ gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \ - -XLIBRARY_TYPE=$1 \ - gnat/spawn_tests.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \ + -XLIBRARY_TYPE=$1 gnat/tests/spawn_tests.gpr \ + -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \ || die - if use glib; then - gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \ - -XLIBRARY_TYPE=$1 \ - gnat/spawn_glib_tests.gpr \ - -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die - fi } if use shared; then build relocatable @@ -71,30 +56,20 @@ src_test() { fi .obj/spawn_test/spawn_test || die .obj/spawn_test/spawn_unexpected || die + .obj/spawn_test/wait_all || die + .obj/spawn_test/spawn_bad_exe || die .obj/spawn_test/spawn_kill || die - if use glib; then - .obj/spawn_test/spawn_glib_test || die - .obj/spawn_test/spawn_glib_args_test.exe || die - fi + .obj/spawn_test/spawn_stty || die } src_install() { build() { gprinstall --prefix=/usr --sources-subdir="${D}"/usr/include/spawn \ -XLIBRARY_TYPE=$1 \ - --lib-subdir="${D}"/usr/lib/spawn \ + --lib-subdir="${D}"/usr/$(get_libdir)/spawn \ --project-subdir="${D}"/usr/share/gpr \ - --link-lib-subdir="${D}"/usr/lib/ -p \ + --link-lib-subdir="${D}"/usr/$(get_libdir)/ -p \ -P gnat/spawn.gpr || die - if use glib; then - gprinstall --prefix=/usr \ - -XLIBRARY_TYPE=$1 \ - --sources-subdir="${D}"/usr/include/spawn_glib \ - --lib-subdir="${D}"/usr/lib/spawn_glib \ - --project-subdir="${D}"/usr/share/gpr \ - --link-lib-subdir="${D}"/usr/lib/ -p \ - -P gnat/spawn_glib.gpr || die - fi } if use shared; then build relocatable diff --git a/dev-ada/templates-parser/Manifest b/dev-ada/templates-parser/Manifest index da82cafdc5b5..063df5a612fc 100644 --- a/dev-ada/templates-parser/Manifest +++ b/dev-ada/templates-parser/Manifest @@ -1,6 +1,5 @@ -DIST templates-parser-23.0.0.tar.gz 225459 BLAKE2B 0971030e3079ff93b876bcb51925208eeee63837878a24589700dc9e0c025272e2d7920f82ee9b769c04857e4701d3eed629a1ac1f0979714c47fc132a188bed SHA512 c0a94b42391c61b4251cbbe86f91c506f46f6eed5be3779385bf199cf43281b704c68fd078b8b917948675976538168c1ac4c1f3b757f6db9988a45af7bfc4a5 DIST templates-parser-24.0.0.tar.gz 226649 BLAKE2B 6e84721cbe28164e9c5f683906ff0b360a7dca82a2b91a7fe0253546c6d617d82ff2bb385133435e48c1588821daa3171eee86aeb0de27a55f38cad372f858db SHA512 3661ccb4be3bc3a6a81bbf04244f3b943c87655cad25370e857bb09d24b86ee801388a4a71d63f9135d5f069c54bc184cef4a8a25bcc90d0add8a15c67f8c374 -EBUILD templates-parser-23.0.0-r1.ebuild 1011 BLAKE2B ef95a12ef02ae5a130056a58121bd4d1f115716f1c790047ba3b2be5dbf518d95b656398cff9a951f443dddc1052bc1d83b7d28b3176bcfcc732c984584788ce SHA512 2b19679f7414dfb43dc17a701e1ebe737717c292bc1a8b705d897ab5ba0f0a4d42907fe368c0a68ec417f122d64fe66e75f6ee62f2e7ce5890cd553a8e486e04 -EBUILD templates-parser-23.0.0-r2.ebuild 1020 BLAKE2B 05188dad7fe7eac6de420a86a7a6f31b8809e240c360f589d165d5d189f0e099571d3dfe2356277883a09e59548ab1d355903afa5302e8bc1c94f63099aa2e5a SHA512 4b3e8b4163d6cf795fc1ca8ab6172eaffcd55d5e441cc2667b56e49de14b27556c9d72f330e41f8a94c6df708a2b993e92a4f40ef382d8d39194da791939b84e +DIST templates-parser-25.0.0.tar.gz 259459 BLAKE2B b0ba2ad87cbd9cb34773cce54160a30e59b566ec72ce773525ba4cbb33be659dd83f23846bcb6d6fd88726c7cfae52e2993c1ced052f078bd589b14cf73cef55 SHA512 902e41f713dd8446e08ba6f180b4c88c35d37da3476d0c925a4b6a05fb5038ff9ec1b0daa0443a55e82f902867b774efb4e28c0b7d8ec59fb15d050ee523ee87 EBUILD templates-parser-24.0.0.ebuild 1022 BLAKE2B 86edd650de78cc010460baadb67560089457fbcd584cae67ba9fc4b951396f5d776bb520f4960da8f1553ad2d667308e0c8af6b75b72ea2466db07016456f6d7 SHA512 9ff929b285cfd0d5d226cedb7388286d295ff7bc22bdcdfe5e835475614b7846d8cc465cbf4012b40985ad8952e4ba8d4d234670c8e036963063c99d26182d39 -MISC metadata.xml 370 BLAKE2B 69c033fb988741a15510bfa2550038d9618b0d062e289f529c60c513cc9e63d0cd721a1f48212602f90be74e2f08e806bf0a6745b2488cfd6dde600a10eaaca6 SHA512 5ecbbb2c164d96711c20aa96dfbec89c17516406a649e8d1afa68455e262800f43b3f3697d9715a371027a850e821fcf80deb4c3f64ae0ece72a20edb1577767 +EBUILD templates-parser-25.0.0-r2.ebuild 3861 BLAKE2B f3aed9a3afcf29020d77d4c0c51874945ffa4a6ff201b9097d304fc6d08a384379740f9e207ed37fdadb09e1dc90a504dead7015decbdcdf366ca653d7adafeb SHA512 cb39dde6b1e8878df0599722c46098bf8603e2d111beb3d9659ce0a36b622e791d1a87fa727823dc26feebab597d3ba2363889a27ae6834212fde179dcdd1fb0 +MISC metadata.xml 630 BLAKE2B 85fcb405c631c72043010eb82381dc7d2b118f288fdd358f42adbd2113189d38912efa90bd5980626cd648bbbf8549c1dd6feeb9591c605d49d1b40f33744f24 SHA512 f2914f4184cfc534641e8b6ba24690a9be459b153fb3fad9491cbe330ba9dedc524923756d1a371473e757f15dbb345883af9bd14dbbfbbe0cfebf688e5eff4b diff --git a/dev-ada/templates-parser/metadata.xml b/dev-ada/templates-parser/metadata.xml index 71e5ca6a8779..eb0de48e9af6 100644 --- a/dev-ada/templates-parser/metadata.xml +++ b/dev-ada/templates-parser/metadata.xml @@ -6,7 +6,12 @@ </maintainer> <use> <flag name="shared">Build shared library</flag> + <flag name="static-pic">Build static library with pic code</flag> </use> + <longdescription lang="en"> + The templates parser package has been designed to parse files and to + replace some specific tags into these files by some specified values. + </longdescription> <upstream> <remote-id type="github">AdaCore/templates-parser</remote-id> </upstream> diff --git a/dev-ada/templates-parser/templates-parser-23.0.0-r1.ebuild b/dev-ada/templates-parser/templates-parser-23.0.0-r1.ebuild deleted file mode 100644 index 501a155a74e7..000000000000 --- a/dev-ada/templates-parser/templates-parser-23.0.0-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ADA_COMPAT=( gnat_2021 gcc_12 ) -inherit ada multiprocessing - -DESCRIPTION="A template engine" -HOMEPAGE="https://github.com/AdaCore/templates-parser" -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" -RESTRICT="test" - -RDEPEND="${ADA_DEPS} - dev-ada/xmlada[${ADA_USEDEP},shared?,static-libs?] - shared? ( dev-ada/xmlada[static-pic] )" -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" - -REQUIRED_USE="|| ( shared static-libs ) - ${ADA_REQUIRED_USE}" - -src_configure() { - emake PROCESSORS=$(makeopts_jobs) \ - DEFAULT_LIBRARY_TYPE=$(usex shared relocatable static) \ - ENABLE_STATIC=$(usex static-libs true false) \ - ENABLE_SHARED=$(usex shared true false) \ - prefix=/usr \ - setup -} - -src_compile() { - emake GPROPTS=-v -} - -src_install() { - emake DESTDIR="${D}" -j1 install - einstalldocs -} diff --git a/dev-ada/templates-parser/templates-parser-23.0.0-r2.ebuild b/dev-ada/templates-parser/templates-parser-23.0.0-r2.ebuild deleted file mode 100644 index d014363fa2a1..000000000000 --- a/dev-ada/templates-parser/templates-parser-23.0.0-r2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2022-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="A template engine" -HOMEPAGE="https://github.com/AdaCore/templates-parser" -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" -RESTRICT="test" - -RDEPEND="${ADA_DEPS} - dev-ada/xmlada[${ADA_USEDEP},shared?,static-libs?] - shared? ( dev-ada/xmlada[static-pic] )" -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" - -REQUIRED_USE="|| ( shared static-libs ) - ${ADA_REQUIRED_USE}" - -src_configure() { - emake PROCESSORS=$(makeopts_jobs) \ - DEFAULT_LIBRARY_TYPE=$(usex shared relocatable static) \ - ENABLE_STATIC=$(usex static-libs true false) \ - ENABLE_SHARED=$(usex shared true false) \ - prefix=/usr \ - setup -} - -src_compile() { - emake GPROPTS=-v -} - -src_install() { - emake DESTDIR="${D}" -j1 install - einstalldocs -} diff --git a/dev-ada/templates-parser/templates-parser-25.0.0-r2.ebuild b/dev-ada/templates-parser/templates-parser-25.0.0-r2.ebuild new file mode 100644 index 000000000000..6fd9775b8876 --- /dev/null +++ b/dev-ada/templates-parser/templates-parser-25.0.0-r2.ebuild @@ -0,0 +1,155 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ADA_COMPAT=( gcc_12 gcc_13 gcc_14 ) +PYTHON_COMPAT=( python3_{10..13} python3_13t ) +inherit ada python-any-r1 multiprocessing + +DESCRIPTION="A template engine" +HOMEPAGE="https://github.com/AdaCore/templates-parser" +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="doc man +shared static-libs static-pic test" +RESTRICT="!test? ( test )" + +RDEPEND="${ADA_DEPS} + dev-ada/xmlada[${ADA_USEDEP},shared?,static-libs?,static-pic?] +" +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}]" +BDEPEND="doc? ( + dev-tex/latexmk + dev-texlive/texlive-latexextra +) +man? ( + dev-python/sphinx + dev-python/sphinx-rtd-theme +) +test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-ada/e3-testsuite[${PYTHON_USEDEP}] + ') + dev-ada/gnatmem +)" + +REQUIRED_USE="|| ( shared static-libs static-pic ) + ${ADA_REQUIRED_USE} + doc? ( man ) + test? ( static-libs ) +" + +python_check_deps() { + use test || return 0 + python_has_version "dev-ada/e3-testsuite[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + # Drop tests that require TP_XMLADA + rm -r regtests/tests/010{7,9}* || die + default +} + +src_configure() { + cp config/tp_xmlada_dummy.gpr tp_xmlada.gpr + echo "PRJ_TARGET = Linux" > makefile.setup + echo "VERSION = $(ver_cut 1-2)" >> makefile.setup +} + +src_compile() { + build() { + gprbuild -p -v -XPRJ_BUILD=Release -XPRJ_TARGET=Linux \ + -XTP_XMLADA=Disabled -XPROCESSORS=$(makeopts_jobs) \ + -XVERSION=$(ver_cut 1-2) -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \ + --subdirs=${CHOST}/release/$1 \ + -Ptemplates_parser -largs ${LDFLAGS} -cargs ${ADAFLAGS} \ + || die "gprbuild failed" + } + if use shared; then + build relocatable + fi + if use static-libs; then + build static + fi + if use static-pic; then + build static-pic + fi + local lib + if use shared; then + lib=relocatable + elif use static-libs; then + lib=static + else + lib=static-pic + fi + gprbuild -p -v -XPRJ_BUILD=Release -XPRJ_TARGET=Linux \ + -XTP_XMLADA=Disabled -XPROCESSORS=$(makeopts_jobs) \ + -XVERSION=$(ver_cut 1-2) -XLIBRARY_TYPE=${lib} -XXMLADA_BUILD=${lib} \ + --subdirs=${CHOST}/release/${lib} -Ptools/tools -largs ${LDFLAGS} \ + -cargs ${ADAFLAGS} \ + || die "gprbuild failed" + if use man; then + emake -C docs man GPROPTS=-v + fi + if use doc; then + emake -C docs html epub latexpdf GPROPTS=-v + fi +} + +src_install() { + build() { + gprinstall -XPRJ_BUILD=Release -XPRJ_TARGET=Linux \ + -XTP_XMLADA=Disabled -XPROCESSORS=$(makeopts_jobs) \ + -XVERSION=$(ver_cut 1-2) -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \ + -p -f --prefix="${D}"/usr --build-var=LIBRARY_TYPE \ + --build-var=TEMPLATES_PARSER_BUILD --subdirs=${CHOST}/release/$1 \ + --build-name=$1 -Ptemplates_parser \ + || die "gprinstall failed" + } + if use shared; then + build relocatable + fi + if use static-libs; then + build static + fi + if use static-pic; then + build static-pic + fi + local lib + if use shared; then + lib=relocatable + elif use static-libs; then + lib=static + else + lib=static-pic + fi + gprinstall -XPRJ_BUILD=Release -XPRJ_TARGET=Linux -XTP_XMLADA=Disabled \ + -XPROCESSORS=$(makeopts_jobs) -XVERSION=$(ver_cut 1-2) \ + -XLIBRARY_TYPE=${lib} -XXMLADA_BUILD=${lib} -p -f --prefix="${D}"/usr \ + --build-var=LIBRARY_TYPE --build-var=TEMPLATES_PARSER_BUILD \ + --mode=usage --subdirs=${CHOST}/release/${lib} \ + --install-name=templates_parser -Ptools/tools \ + || die "gprinstall failed" + DOCS="README.md" + if use doc; then + mv "${D}"/usr/share/doc/templates_parser "${D}"/usr/share/doc/"${PF}" || die + DOCS+=" docs/build/epub/Templates_ParserTemplatesEngine.epub" + fi + einstalldocs + use man && doman docs/build/man/templates_parser.1 + rm -r "${D}"/usr/share/gpr/manifests +} + +src_test() { + emake -j1 test +} diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest index 9f6d3b7f1805..e18ee8a78dc2 100644 --- a/dev-ada/xmlada/Manifest +++ b/dev-ada/xmlada/Manifest @@ -1,8 +1,7 @@ AUX xmlada-23.0.0-gentoo.patch 1070 BLAKE2B 1894bf507add813229dc505c6300d475dfbad4a5f0dbcf957b211cf47f9f916d5656658eecd4892d10810d4e5c13cda00107d7a9fe591ebe8f4b5b3567a043c9 SHA512 c3fd4ee0d44df3ad836c6ca3a1e1ae3ee0c5962c8a628299134e6293bc8bdb0de3b98b43910940646c4384db985cf4a1fb47b50ac17a2d315bb1ee12a406e800 AUX xmlada-24.0.0-gentoo.patch 1255 BLAKE2B 92e437d6d594a0d1527114301a3e77b0466588dc66b6cbb31d9cb0777416dc5cba9d78b1147df7ee23dde63f20aa046f8d797347885d4a7715fae8e902e1c5f7 SHA512 10beb7eec14815b899552dda732368dee8183fc78f9014eb3557c84416892ca46d6df4dfbb567875574bdd74c96bbdf5558f9d17d3dbc310fcb296966ecb1056 -DIST xmlada-23.0.0.tar.gz 1053370 BLAKE2B 4edf2244818d72d6fc760f60c8145f373e5445d1d245b20b605e21faa7eeefed7835db87c1fd1239008e75211a572294e1d8e35af16c2ba2631c02d1d3b6f52f SHA512 a0fb2a34ffb5edf408fbdc1a3d68511b5545a5ec8993251ba75d71dd2a197f14e187d08f8febd71cb23bbd694889a99941911386af8468c5eb3b11128555edcb DIST xmlada-24.0.0.tar.gz 1053363 BLAKE2B 628a1d3645c58cc3f8f5140c7cfb16adef02f6ccc72b8e9410819eaf67e0160bdcf81a8e33065ec52f54cb12309d857a3d82e532990a0fd17c249c04334ab10f SHA512 4e6773a5fdf9b6ebb5afca913d77aba9f697768f28ef9b23b9277aa4ea4ce09de4e53655dd5559e2326ff847327adb53fa6b776775aa923100a2624df415c97d -EBUILD xmlada-23.0.0-r1.ebuild 2423 BLAKE2B 7fa7cebecb991d8ddca21cc3693a61b3c91391e84e5749166f1c800623e0dc3d39ad928b069eba5eb658b2887f1ec2979b0e956fe16339319f44e3d2d98c30bf SHA512 e703eb60f456b87368f3c17b777498dc58c8b9863c4ff8810084c22829d551c4223c489151af0523e70bc8b7f0d8c7e7b64d98f7b8e4dbccc22095e9c2c6d665 -EBUILD xmlada-23.0.0-r3.ebuild 2439 BLAKE2B 01da5bcac23ed171d0fdebac3b8d7297ab2bbf6eaa36cf0d0ca274ffdb11025d71192041d323c414169490ed5f3735367d07466a844fdcb4e8d244c5fc2bea35 SHA512 3ffc5f3b453f8d6b8083000c2352f7468510927d461389d965bdb416ef4606d74e08a06b08413aad5b7b9012160d4fa7ed41c9fb1a0d7c765e7fb14060a92efc +DIST xmlada-25.0.0.tar.gz 1082553 BLAKE2B daddd7b1d6cd8c38ff3e9ecdc1d0864e1eca88128121635e8d1a8133f73285ced08478e732a0b7bb02cc00e240887d20a1a16048991450025290fd96ad5cb09f SHA512 c57db78e3afd20862c3275d3d0874ada1748e98df06a76841cb3dca3686b29c7693835a591ca5789dca2d3d6ba9677c9082df94857e180e0758a5b77fafc40c0 EBUILD xmlada-24.0.0-r3.ebuild 2492 BLAKE2B 4c3ae705dd48d9bf293c8b1bff2a0fe238596abf315d3043d49c4e2d5d13f862c01ee69c933f06c910ee542f170a15af9daf6ad698f22f3b54708ce22d21c6a6 SHA512 75cb73d7f424c06dd17c07c0312bba95313768c3265c3ef267762ca4c55344793a620b0a60b974a7f5928f2e9a4b3f1b1069d968724f13e7523c3d6a756d8314 +EBUILD xmlada-25.0.0-r2.ebuild 2746 BLAKE2B 4753469b798b04f2d35ef945762b28fbf1cfd42af3a0f541950afd9bf898b03e8417adaa3f099f7629cfb99bdcf06674d49271c65709d98b6d6770d25df89673 SHA512 e571f069ae7f72fe0c4ffcd29ca377093dbd7e07bb7fcce473b69db99b6bc83cbfee8e51841873dd422269e9e23c069efd41332fac044f8e46693a338f3b7011 MISC metadata.xml 987 BLAKE2B 0cea4d25986c676a4418a482ece808fe48869771b7c021727b7b81785ae254d68eab90a6ba52e5a62b2fbf2ea2539103cfc4b4909ebc6c578c33d61d8b3bb16e SHA512 c578017e1aceb4e81669eb3a44cb7e154f5ef16e09b88de70c5fb4675619fbbbaa0260ad7e7ba7bf07a957e64ac9ee8dc172d91df9f8ee1801ff5e4787e09092 diff --git a/dev-ada/xmlada/xmlada-23.0.0-r1.ebuild b/dev-ada/xmlada/xmlada-23.0.0-r1.ebuild deleted file mode 100644 index 67b2018ced01..000000000000 --- a/dev-ada/xmlada/xmlada-23.0.0-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ADA_COMPAT=( gnat_2021 gcc_12 ) -inherit ada multiprocessing - -DESCRIPTION="Set of modules that provide a simple manipulation of XML streams" -HOMEPAGE="http://libre.adacore.com/" -SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0/${PV}" -KEYWORDS="amd64 x86" -IUSE="+shared static-libs static-pic" -REQUIRED_USE="|| ( shared static-libs static-pic ) - ${ADA_REQUIRED_USE}" - -RDEPEND="${ADA_DEPS}" -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" - -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) - -src_compile() { - build () { - gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \ - -XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \ - -largs ${LDFLAGS} \ - -cargs ${ADAFLAGS} || die "gprbuild failed" - } - 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_test() { - GPR_PROJECT_PATH=schema:input_sources:dom:sax:unicode \ - gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=static \ - -XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \ - -XTESTS_ACTIVATED=Only \ - -largs ${LDFLAGS} \ - -cargs ${ADAFLAGS} || die "gprbuild failed" - emake --no-print-directory -C tests tests | tee xmlada.testLog - grep -q DIFF xmlada.testLog && die -} - -src_install() { - build () { - gprinstall -XLIBRARY_TYPE=$1 -f -p -XBUILD=Production \ - -XPROCESSORS=$(makeopts_jobs) --prefix="${D}"/usr \ - --install-name=xmlada --build-var=LIBRARY_TYPE \ - --build-var=XMLADA_BUILD \ - --build-name=$1 xmlada.gpr || die "gprinstall failed" - } - if use shared; then - build relocatable - fi - if use static-libs; then - build static - fi - if use static-pic; then - build static-pic - fi - - einstalldocs - dodoc xmlada-roadmap.txt - rm -rf "${D}"/usr/share/gpr/manifests - rm -f "${D}"/usr/share/examples/xmlada/*/b__* - rm -f "${D}"/usr/share/examples/xmlada/*/*.adb.std* - rm -f "${D}"/usr/share/examples/xmlada/*/*.ali - rm -f "${D}"/usr/share/examples/xmlada/*/*.bexch - rm -f "${D}"/usr/share/examples/xmlada/*/*.o - rm -f "${D}"/usr/share/examples/xmlada/*/*example - rm -f "${D}"/usr/share/examples/xmlada/dom/domexample2 - rm -f "${D}"/usr/share/examples/xmlada/sax/saxexample_main - mv "${D}"/usr/share/examples/xmlada "${D}"/usr/share/doc/"${PF}"/examples || die -} diff --git a/dev-ada/xmlada/xmlada-23.0.0-r3.ebuild b/dev-ada/xmlada/xmlada-25.0.0-r2.ebuild index d5f175058ac5..7aae56bdf915 100644 --- a/dev-ada/xmlada/xmlada-23.0.0-r3.ebuild +++ b/dev-ada/xmlada/xmlada-25.0.0-r2.ebuild @@ -1,28 +1,56 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 gcc_14 ) -inherit ada multiprocessing +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +inherit ada python-any-r1 multiprocessing DESCRIPTION="Set of modules that provide a simple manipulation of XML streams" -HOMEPAGE="http://libre.adacore.com/" +HOMEPAGE="https://github.com/AdaCore/xmlada" SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+shared static-libs static-pic" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc +shared static-libs static-pic" REQUIRED_USE="|| ( shared static-libs static-pic ) ${ADA_REQUIRED_USE}" RDEPEND="${ADA_DEPS}" DEPEND="${RDEPEND} dev-ada/gprbuild[${ADA_USEDEP}]" +BDEPEND="doc? ( + $(python_gen_any_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') +)" -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-23.0.0-gentoo.patch + "${FILESDIR}"/${PN}-24.0.0-gentoo.patch +) + +python_check_deps() { + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && + python_has_version "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use doc && python-any-r1_pkg_setup + ada_pkg_setup +} + +src_prepare() { + default + sed -i \ + -e "s|@PF@|${PF}|g" \ + input_sources/xmlada_input.gpr \ + || die +} src_compile() { build () { @@ -40,6 +68,7 @@ src_compile() { if use static-pic; then build static-pic fi + use doc && emake -C docs html } src_test() { @@ -51,6 +80,14 @@ src_test() { -cargs ${ADAFLAGS} || die "gprbuild failed" emake --no-print-directory -C tests tests | tee xmlada.testLog grep -q DIFF xmlada.testLog && die + rm docs/*/b__* || die + rm docs/*/*ali || die + rm docs/*/*std* || die + rm docs/*/*bexch || die + rm docs/*/*.o || die + rm docs/*/*example || die + rm docs/dom/domexample2 || die + rm docs/sax/saxexample_main || die } src_install() { @@ -70,17 +107,6 @@ src_install() { if use static-pic; then build static-pic fi - einstalldocs - dodoc xmlada-roadmap.txt - rm -rf "${D}"/usr/share/gpr/manifests - rm -f "${D}"/usr/share/examples/xmlada/*/b__* - rm -f "${D}"/usr/share/examples/xmlada/*/*.adb.std* - rm -f "${D}"/usr/share/examples/xmlada/*/*.ali - rm -f "${D}"/usr/share/examples/xmlada/*/*.bexch - rm -f "${D}"/usr/share/examples/xmlada/*/*.o - rm -f "${D}"/usr/share/examples/xmlada/*/*example - rm -f "${D}"/usr/share/examples/xmlada/dom/domexample2 - rm -f "${D}"/usr/share/examples/xmlada/sax/saxexample_main - mv "${D}"/usr/share/examples/xmlada "${D}"/usr/share/doc/"${PF}"/examples || die + rm -r "${D}"/usr/share/gpr/manifests } |