2022-03-12 06:05:36 +00:00
|
|
|
package:
|
|
|
|
name: cryptography
|
2023-03-29 08:39:43 +00:00
|
|
|
version: 39.0.2
|
2022-09-06 06:20:04 +00:00
|
|
|
top-level:
|
|
|
|
- cryptography
|
2022-03-12 06:05:36 +00:00
|
|
|
source:
|
2023-03-29 08:39:43 +00:00
|
|
|
url: https://files.pythonhosted.org/packages/fa/f3/f4b8c175ea9a1de650b0085858059050b7953a93d66c97ed89b93b232996/cryptography-39.0.2.tar.gz
|
|
|
|
sha256: bc5b871e977c8ee5a1bbc42fa8d19bcc08baf0c51cbf1586b0e87a2694dde42f
|
2022-06-09 17:57:34 +00:00
|
|
|
patches:
|
2022-09-19 03:58:53 +00:00
|
|
|
- patches/0001-Use-patched-instant.patch
|
2022-03-12 06:05:36 +00:00
|
|
|
build:
|
2022-06-09 17:57:34 +00:00
|
|
|
script: |
|
|
|
|
export OPENSSL_INCLUDE_PATH=$(pkg-config --cflags-only-I --dont-define-prefix openssl)
|
|
|
|
export OPENSSL_LIBRARY_PATH=$(pkg-config --libs-only-L --dont-define-prefix openssl)
|
2023-01-10 04:28:04 +00:00
|
|
|
|
2022-06-09 17:57:34 +00:00
|
|
|
# TODO: remove this when instant makes a release
|
|
|
|
git clone --depth 1 https://github.com/hoodmane/instant.git --branch emscripten-no-leading-underscore
|
2022-03-12 06:05:36 +00:00
|
|
|
cflags: |
|
|
|
|
-Wno-implicit-function-declaration
|
2022-05-18 04:14:16 +00:00
|
|
|
$(OPENSSL_INCLUDE_PATH)
|
2022-03-12 06:05:36 +00:00
|
|
|
ldflags: |
|
2022-05-18 04:14:16 +00:00
|
|
|
$(OPENSSL_LIBRARY_PATH)
|
2022-06-14 12:54:07 +00:00
|
|
|
-Wl,--no-entry
|
2022-03-12 06:05:36 +00:00
|
|
|
requirements:
|
|
|
|
run:
|
|
|
|
- openssl
|
|
|
|
- six
|
|
|
|
- cffi
|
2022-08-22 04:35:27 +00:00
|
|
|
host:
|
|
|
|
- openssl
|
|
|
|
- cffi
|
2023-01-10 04:28:04 +00:00
|
|
|
executable:
|
|
|
|
- rustup
|
2022-03-12 06:05:36 +00:00
|
|
|
test:
|
|
|
|
imports:
|
|
|
|
- cryptography
|
|
|
|
- cryptography.fernet
|
|
|
|
- cryptography.hazmat
|
|
|
|
- cryptography.utils
|
|
|
|
- cryptography.x509
|
2022-09-06 06:20:04 +00:00
|
|
|
about:
|
|
|
|
home: https://github.com/pyca/cryptography
|
|
|
|
PyPI: https://pypi.org/project/cryptography
|
|
|
|
summary:
|
|
|
|
cryptography is a package which provides cryptographic recipes and primitives
|
|
|
|
to Python developers.
|
|
|
|
license: BSD-3-Clause OR Apache-2.0
|