aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/cryptography/next/rust/ya.make
blob: 0a94a24fc7ec3d34f0bbc7978afacf5bf874b7f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Generated by devtools/yamaker/ym2

PY3_LIBRARY()

LICENSE(
    Apache-2.0 AND
    BSD-3-Clause
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

SUBSCRIBER(
    g:cpp-contrib
    g:devtools-contrib
)

VERSION(41.0.6)

ORIGINAL_SOURCE(https://github.com/pyca/cryptography/archive/refs/tags/41.0.6.tar.gz)

IF (FALSE)
ELSEIF (OS_LINUX AND ARCH_X86_64 AND NOT MUSL)
    COPY_FILE(a/x86_64-unknown-linux-gnu/release/libcryptography_rust.a libcryptography_rust.a)
ELSEIF (OS_LINUX AND ARCH_X86_64 AND MUSL)
    COPY_FILE(a/x86_64-unknown-linux-musl/release/libcryptography_rust.a libcryptography_rust.a)
ELSE()
    MESSAGE(FATAL_ERROR "We don't have cryptography_rust for this platform")
ENDIF()

PY_REGISTER(
    _rust
    _openssl
)

NO_COMPILER_WARNINGS()

NO_UTIL()

END()