# $Id$ PNAME="python-cryptography" PVER="41.0.2" PBUILD="r1" DESCRIPTION="Library providing cryptographic recipes and primitives." SPLIT_PNAME="cryptography" PYPI_MODULE="cryptography" sminclude pypi PYTHON3_DEPEND=">= dev-python/python3-cffi-1.15" SDEPEND=">= dev-python/python3-setuptools-68 >= dev-python/python3-setuptools-rust-1.6 >= dev-python/python3-pip-23 >= sys-dev/clang-15 >= sys-dev/llvm-15 >= sys-dev/lld-15" src_compile() { # https://github.com/pyca/cryptography/issues/9023 export CC=clang RUSTFLAGS+="-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld" pypi_src_compile || die }