# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.13.3 EAPI=8 CARGO_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 PYTHON_COMPAT=( python3_{13..14} ) RUST_MIN_VER="1.87.0" CRATES="" inherit cargo distutils-r1 pypi DESCRIPTION="Cryptographic utilities for Telegram" HOMEPAGE=" https://pypi.org/project/cryptg/ https://github.com/cher-nov/cryptg/ " SRC_URI+=" https://github.com/sysrq-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" LICENSE="CC0-1.0" # Dependent crate licenses LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 ZLIB " SLOT="0" KEYWORDS="~amd64" BDEPEND=" ${RUST_DEPEND} dev-python/setuptools-rust[${PYTHON_USEDEP}] " # rust does not use *FLAGS from make.conf, silence portage warning QA_FLAGS_IGNORED=".*" EPYTEST_PLUGINS=( pytest-import-check ) distutils_enable_tests import-check src_unpack() { cargo_src_unpack }