# automatically generated by g-sorcery # please do not edit this file EAPI=8 REALNAME="${PN}" LITERALNAME="${PN}" REALVERSION="${PV}" DIGEST_SOURCES="yes" PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} ) DISTUTILS_USE_PEP517=standalone inherit python-r1 gs-pypi DESCRIPTION="ASTAligner is designed to align tokens from source code snippets to Abstract Syntax Tree (AST) nodes using Tree-sitter for AST generation and various HuggingFace tokenizers for language tokenization. The library supports a wide range of programming languages and Fast tokenizers, enabling precise mapping between source code elements and their AST representations." HOMEPAGE="https://pypi.org/project/ASTAligner/" LICENSE="MIT" SRC_URI="https://files.pythonhosted.org/packages/b4/75/da186f443b6d429d6c6e11c0710e63a01599444d83305d0a107170a5242d/astaligner-${REALVERSION}.tar.gz" SOURCEFILE="astaligner-${REALVERSION}.tar.gz" RESTRICT="test" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPENDENCIES="~dev-python/flask-3.0.3[${PYTHON_USEDEP}] ~dev-python/flask-cors-5.0.0[${PYTHON_USEDEP}] dev-python/protobuf[${PYTHON_USEDEP}] dev-python/sentencepiece[${PYTHON_USEDEP}] dev-python/tokenizers[${PYTHON_USEDEP}] dev-python/transformers[${PYTHON_USEDEP}] ~dev-python/tree-sitter-0.23.0[${PYTHON_USEDEP}] dev-python/tree-sitter-cpp[${PYTHON_USEDEP}] dev-python/tree-sitter-java[${PYTHON_USEDEP}] dev-python/tree-sitter-python[${PYTHON_USEDEP}] dev-python/tree-sitter-c-sharp[${PYTHON_USEDEP}] dev-python/tree-sitter-go[${PYTHON_USEDEP}] dev-python/tree-sitter-haskell[${PYTHON_USEDEP}] dev-python/tree-sitter-javascript[${PYTHON_USEDEP}] dev-python/tree-sitter-kotlin[${PYTHON_USEDEP}] dev-python/tree-sitter-rust[${PYTHON_USEDEP}] dev-python/tree-sitter-html[${PYTHON_USEDEP}] dev-python/tree-sitter-c[${PYTHON_USEDEP}] dev-python/tree-sitter-ruby[${PYTHON_USEDEP}] dev-python/concurrently[${PYTHON_USEDEP}]" BDEPEND="${DEPENDENCIES}" RDEPEND="${DEPENDENCIES}"