From 92e45d8c110d3b9403a141d225037f2c8ed90450 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Dec 2023 11:20:21 +0000 Subject: gentoo auto-resync : 10:12:2023 - 11:20:21 --- dev-ada/Manifest.gz | Bin 4560 -> 4559 bytes dev-ada/langkit/Manifest | 2 +- dev-ada/langkit/langkit-23.0.0-r1.ebuild | 109 ------------------------------ dev-ada/langkit/langkit-23.0.0-r2.ebuild | 110 +++++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+), 110 deletions(-) delete mode 100644 dev-ada/langkit/langkit-23.0.0-r1.ebuild create mode 100644 dev-ada/langkit/langkit-23.0.0-r2.ebuild (limited to 'dev-ada') diff --git a/dev-ada/Manifest.gz b/dev-ada/Manifest.gz index 79d563e043f7..5c95678e1a1b 100644 Binary files a/dev-ada/Manifest.gz and b/dev-ada/Manifest.gz differ diff --git a/dev-ada/langkit/Manifest b/dev-ada/langkit/Manifest index 88e742c16c34..8581cdff6883 100644 --- a/dev-ada/langkit/Manifest +++ b/dev-ada/langkit/Manifest @@ -1,5 +1,5 @@ AUX langkit-23.0.0-gentoo.patch 357 BLAKE2B 3408d89156a55658881a65d9d180d361d6f516308c0e55f44d7aa78ca261fdd5426e66de25b004c9496d610a16b93054abe98a81fe213af0e1e9a6aa628c37c4 SHA512 8dff9eb7cd914eb112c53d38b3d47f02cd48aa56d65319ae537967baab328e2f4ac94483bf5760455e68e7f621a9d2188bef25025a17e6a19dee9cb381e8e8e5 AUX langkit-23.0.0-py311.patch 3488 BLAKE2B fee31cc4e09a69c357791eaca65152ca56ef5934d3cedf36f4940ba842c595d2b79bfd72fb11c9d60c8cacf208969421ca39db5f528d61b34ae03e99755b5032 SHA512 a022ab4f31e7fa49912382fbdef3f446209f6daa2c78b2443a1e52c5a9ca7d7c078a94e0d8cc2ecda1fcb925320223943dbbf65ded961be9a06ad9457ce0d3ea DIST langkit-23.0.0.tar.gz 1178557 BLAKE2B c3b81cafea3afcfd90a87192dca5abd0f19c5ff4e195515dd7c4df70824bf328c24855a6761264b89bf44a56afc8dd77b78fbf322c6f92299082507aa65d61e5 SHA512 6cc6adacb157a47ebc8da46591e45a4ff212fba2cd5ac80c12adb2e84f4508735d98dc68ffce86aa5e5e8d873e6f51efb4f88f4d76a190b9eb0024bf69deefc1 -EBUILD langkit-23.0.0-r1.ebuild 2964 BLAKE2B 7e80ffed4e1456b27b120d3af7ffee0f816286a5f46e300196be5fcb36b0e525754fe90629309345c7352c5442a9548ced6aa3c8f29531ea7486295d32fc61c6 SHA512 c3cd1453cc3d82c88a74307744cc84a1b17fec70b8f6fe1c7126752a6c04918eb57ed67b60d318db289e425898d9f862805a458de6e55c589f112ebe7b0204db +EBUILD langkit-23.0.0-r2.ebuild 2987 BLAKE2B b51c7a93c0bca1d46077b3620f338237089d3a78ea309cfb6a6d5660b100f72dc0afc732a8af6f4c40717161510db9b18b466cb658de4a6036ba0b11b9fbd03c SHA512 6ad6df71e1955dc9a206a0601354161c20e4fafcaaf97bc4f9be9cd26b90eacafe8e158a37e8003069cea77714e30929442905ca690b2f16e09b4cdd3a738302 MISC metadata.xml 930 BLAKE2B 5ec7305df09ee1011fc0a0b93f75bbbf315a153a835d0e3c074e95b717d6c95c7f0b29e99537375be3c6aa73e5cf089cd32fcc3567f78bb3c6768e171c3d4521 SHA512 8f0056d87158d87dc3fad08ceffcfc2a6c065977669b8d0f8560b72627f8b050ed34886e4cad19e51062b8a2e412f37b1c3ff983f1d33da79cb6283f6532df85 diff --git a/dev-ada/langkit/langkit-23.0.0-r1.ebuild b/dev-ada/langkit/langkit-23.0.0-r1.ebuild deleted file mode 100644 index 26dee3b78532..000000000000 --- a/dev-ada/langkit/langkit-23.0.0-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -ADA_COMPAT=( gnat_2021 gcc_12 ) - -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 ada multiprocessing - -DESCRIPTION="A Python framework to generate language parsers" -HOMEPAGE="https://www.adacore.com/community" -SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+shared static-libs static-pic" -REQUIRED_USE="${PYTHON_REQUIRED_USE} - ${ADA_REQUIRED_USE} - || ( shared static-libs static-pic )" - -RDEPEND="${PYTHON_DEPS} - ${ADA_DEPS} - dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?] - dev-python/mako[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/funcy[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/types-gdb[${PYTHON_USEDEP}] - dev-python/types-docutils[${PYTHON_USEDEP}] - dev-ada/e3-core[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-py311.patch -) - -python_prepare_all() { - distutils-r1_python_prepare_all - cd testsuite/tests - - # missing gprbuild option to build libraries static/relocatable - rm -r {langkit_support,adalog,misc/link_two_libs} || die - rm -r misc/standalone || die - - # other failures - rm -r misc/docstrings_lkt_roles || die -} - -python_compile_all() { - build () { - rm -f langkit/support/obj/dev/*lexch - gprbuild -j$(makeopts_jobs) -p -v \ - -XLIBRARY_TYPE=$1 -P langkit/support/langkit_support.gpr -XBUILD_MODE=dev \ - -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || 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 - gprbuild -j$(makeopts_jobs) -p -v \ - -P sigsegv_handler/langkit_sigsegv_handler.gpr -XBUILD_MODE=dev \ - -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed" -} - -python_test_all() { - export GPR_PROJECT_PATH="${S}"/langkit/support - ${EPYTHON} ./manage.py make --no-langkit-support || die - eval $(./manage.py setenv) - ${EPYTHON} ./manage.py test -v \ - --disable-ocaml \ - --disable-gdb \ - --disable-tear-up-builds \ - --restricted-env \ - --jobs $(makeopts_jobs) \ - |& tee langkit.testOut - grep -qw FAIL langkit.testOut && die -} - -python_install_all() { - build () { - gprinstall -v -P langkit/support/langkit_support.gpr -p -XBUILD_MODE=dev \ - --prefix="${D}"/usr --build-var=LIBRARY_TYPE \ - --build-var=LANGKIT_SUPPORT_LIBRARY_TYPE \ - --sources-subdir=include/langkit_support \ - -XLIBRARY_TYPE=$1 --build-name=$1 || die - } - if use static-libs; then - build static - fi - if use static-pic; then - build static-pic - fi - if use shared; then - build relocatable - fi - gprinstall -v -P sigsegv_handler/langkit_sigsegv_handler.gpr -p -XBUILD_MODE=dev \ - --prefix="${D}"/usr || die -} diff --git a/dev-ada/langkit/langkit-23.0.0-r2.ebuild b/dev-ada/langkit/langkit-23.0.0-r2.ebuild new file mode 100644 index 000000000000..0048c09c5589 --- /dev/null +++ b/dev-ada/langkit/langkit-23.0.0-r2.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) + +DISTUTILS_USE_SETUPTOOLS=no +inherit distutils-r1 ada multiprocessing + +DESCRIPTION="A Python framework to generate language parsers" +HOMEPAGE="https://www.adacore.com/community" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+shared static-libs static-pic" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + ${ADA_REQUIRED_USE} + || ( shared static-libs static-pic )" +RESTRICT="test" + +RDEPEND="${PYTHON_DEPS} + ${ADA_DEPS} + dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?] + dev-python/mako[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/funcy[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/types-gdb[${PYTHON_USEDEP}] + dev-python/types-docutils[${PYTHON_USEDEP}] + dev-ada/e3-core[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-py311.patch +) + +python_prepare_all() { + distutils-r1_python_prepare_all + cd testsuite/tests + + # missing gprbuild option to build libraries static/relocatable + rm -r {langkit_support,adalog,misc/link_two_libs} || die + rm -r misc/standalone || die + + # other failures + rm -r misc/docstrings_lkt_roles || die +} + +python_compile_all() { + build () { + rm -f langkit/support/obj/dev/*lexch + gprbuild -j$(makeopts_jobs) -p -v \ + -XLIBRARY_TYPE=$1 -P langkit/support/langkit_support.gpr -XBUILD_MODE=dev \ + -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || 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 + gprbuild -j$(makeopts_jobs) -p -v \ + -P sigsegv_handler/langkit_sigsegv_handler.gpr -XBUILD_MODE=dev \ + -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed" +} + +python_test_all() { + export GPR_PROJECT_PATH="${S}"/langkit/support + ${EPYTHON} ./manage.py make --no-langkit-support || die + eval $(./manage.py setenv) + ${EPYTHON} ./manage.py test -v \ + --disable-ocaml \ + --disable-gdb \ + --disable-tear-up-builds \ + --restricted-env \ + --jobs $(makeopts_jobs) \ + |& tee langkit.testOut + grep -qw FAIL langkit.testOut && die +} + +python_install_all() { + build () { + gprinstall -v -P langkit/support/langkit_support.gpr -p -XBUILD_MODE=dev \ + --prefix="${D}"/usr --build-var=LIBRARY_TYPE \ + --build-var=LANGKIT_SUPPORT_LIBRARY_TYPE \ + --sources-subdir=include/langkit_support \ + -XLIBRARY_TYPE=$1 --build-name=$1 || die + } + if use static-libs; then + build static + fi + if use static-pic; then + build static-pic + fi + if use shared; then + build relocatable + fi + gprinstall -v -P sigsegv_handler/langkit_sigsegv_handler.gpr -p -XBUILD_MODE=dev \ + --prefix="${D}"/usr || die +} -- cgit v1.2.3