/[alx-svn]/smage/branches/alx08x-unstable/extras/python-cryptography/python-cryptography-41.0.2-r1.smage2 |
Contents of /smage/branches/alx08x-unstable/extras/python-cryptography/python-cryptography-41.0.2-r1.smage2
Parent Directory | Revision Log
Revision 16570 -
(show annotations)
(download)
Mon Oct 2 14:07:52 2023 UTC (11 months, 3 weeks ago) by niro
File size: 618 byte(s)
Mon Oct 2 14:07:52 2023 UTC (11 months, 3 weeks ago) by niro
File size: 618 byte(s)
-release branches/alx08x-unstable
1 | # $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 | } |