diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-03-19 20:53:10 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-03-19 20:53:10 +0100 |
commit | 03fa0b2ce8bdb625ccdcef676f95ba9617c1f207 (patch) | |
tree | fd67dd4fe6e0b3192a0116f4b6cd1fbd3395c93d /dev-ada | |
parent | dev-ada/libadalang: drop 22.0.0 (diff) | |
download | gentoo-03fa0b2ce8bdb625ccdcef676f95ba9617c1f207.tar.gz gentoo-03fa0b2ce8bdb625ccdcef676f95ba9617c1f207.tar.bz2 gentoo-03fa0b2ce8bdb625ccdcef676f95ba9617c1f207.zip |
dev-ada/langkit: drop 22.0.0-r3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/langkit/Manifest | 1 | ||||
-rw-r--r-- | dev-ada/langkit/files/langkit-22.0.0-abc.patch | 24 | ||||
-rw-r--r-- | dev-ada/langkit/langkit-22.0.0-r3.ebuild | 90 |
3 files changed, 0 insertions, 115 deletions
diff --git a/dev-ada/langkit/Manifest b/dev-ada/langkit/Manifest index 59b6bdba50b4..9a010d224369 100644 --- a/dev-ada/langkit/Manifest +++ b/dev-ada/langkit/Manifest @@ -1,2 +1 @@ -DIST langkit-22.0.0.tar.gz 1008946 BLAKE2B 2b4ee37c9af1c95f9a6e9ad81f37b6bb112d5bd70f36b78e95d969580eacc1101b824ea24de39d04ccf8bc9f9850906fa1c660a29de05e90d12106b10792c37d SHA512 4c6207b650ae8352c65f3edda3192fc66c9b5d2c351665d78ca83b549960a0a41e7828e8974cb8daa3c415281b50253aa15a247407bcedc2c13e573aaa804909 DIST langkit-23.0.0.tar.gz 1178557 BLAKE2B c3b81cafea3afcfd90a87192dca5abd0f19c5ff4e195515dd7c4df70824bf328c24855a6761264b89bf44a56afc8dd77b78fbf322c6f92299082507aa65d61e5 SHA512 6cc6adacb157a47ebc8da46591e45a4ff212fba2cd5ac80c12adb2e84f4508735d98dc68ffce86aa5e5e8d873e6f51efb4f88f4d76a190b9eb0024bf69deefc1 diff --git a/dev-ada/langkit/files/langkit-22.0.0-abc.patch b/dev-ada/langkit/files/langkit-22.0.0-abc.patch deleted file mode 100644 index 0b3e9bbf8f4f..000000000000 --- a/dev-ada/langkit/files/langkit-22.0.0-abc.patch +++ /dev/null @@ -1,24 +0,0 @@ -From cdc5768fb8db416e4eede97639f381a537ae9336 Mon Sep 17 00:00:00 2001 -From: Charles Pigott <charlespigott@googlemail.com> -Date: Wed, 10 Nov 2021 20:42:12 +0000 -Subject: [PATCH] Use collections.abc.Sequence as the alias is set to be - removed - -Alias has been in place since Py 3.3, and minimum (test) version is 3.7. ---- - langkit/templates/python_api/module_py.mako | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/langkit/templates/python_api/module_py.mako b/langkit/templates/python_api/module_py.mako -index 831fb6044..65373fdbc 100644 ---- a/langkit/templates/python_api/module_py.mako -+++ b/langkit/templates/python_api/module_py.mako -@@ -1503,7 +1503,7 @@ class ${root_astnode_name}: - if isinstance(ast_type_or_pred, type): - sought_type = ast_type_or_pred - pred = lambda node: isinstance(node, sought_type) -- elif isinstance(ast_type_or_pred, collections.Sequence): -+ elif isinstance(ast_type_or_pred, collections.abc.Sequence): - sought_types = ast_type_or_pred - pred = lambda node: isinstance(node, tuple(sought_types)) - else: diff --git a/dev-ada/langkit/langkit-22.0.0-r3.ebuild b/dev-ada/langkit/langkit-22.0.0-r3.ebuild deleted file mode 100644 index a5c90c452b7b..000000000000 --- a/dev-ada/langkit/langkit-22.0.0-r3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_10 ) -ADA_COMPAT=( gnat_2021 gcc_12_2_0 ) - -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="GPL-3" -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-ada/e3-core[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}"/${P}-abc.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 - - # require railroad-diagrams - rm -r contrib/svg_railroad_diagrams || die -} - -python_compile_all() { - build () { - gprbuild -j$(makeopts_jobs) -p -v \ - -XLIBRARY_TYPE=$1 -P 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 -} - -python_test_all() { - export GPR_PROJECT_PATH="${S}"/support - ${EPYTHON} ./manage.py make --no-langkit-support || die - eval $(./manage.py setenv) - ${EPYTHON} ./manage.py test --verbose |& tee langkit.testOut - grep -qw FAIL langkit.testOut && die -} - -python_install_all() { - build () { - gprinstall -v -P 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 shared; then - build relocatable - fi - if use static-libs; then - build static - fi - if use static-pic; then - build static-pic - fi -} |