Magellan Linux

Annotation of /trunk/extras/python-cryptography/python-cryptography-41.0.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33581 - (hide annotations) (download)
Mon Aug 7 11:47:48 2023 UTC (10 months ago) by niro
File size: 618 byte(s)
-ver bump to 41.0.2-r1
1 niro 33581 # $Id$
2    
3     PNAME="python-cryptography"
4     PVER="41.0.2"
5     PBUILD="r1"
6    
7     DESCRIPTION="Library providing cryptographic recipes and primitives."
8    
9     SPLIT_PNAME="cryptography"
10     PYPI_MODULE="cryptography"
11     sminclude pypi
12    
13     PYTHON3_DEPEND=">= dev-python/python3-cffi-1.15"
14    
15     SDEPEND=">= dev-python/python3-setuptools-68
16     >= dev-python/python3-setuptools-rust-1.6
17     >= dev-python/python3-pip-23
18     >= sys-dev/clang-15
19     >= sys-dev/llvm-15
20     >= sys-dev/lld-15"
21    
22     src_compile()
23     {
24     # https://github.com/pyca/cryptography/issues/9023
25     export CC=clang RUSTFLAGS+="-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld"
26     pypi_src_compile || die
27     }