diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-06-25 23:22:27 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-27 16:23:40 +0100 |
| commit | 3ecfadb08aadc524643ed32f330d70d008dd57e8 (patch) | |
| tree | e9c3c5578e71d15bde9d9824e729321088220404 /meta/recipes-devtools/python/python3-cryptography/0001-cryptography-cffi-substitute-include-path-from-targe.patch | |
| parent | f01cd7aeaf18a89afe9670a0ff0a8a0d46c02131 (diff) | |
| download | poky-3ecfadb08aadc524643ed32f330d70d008dd57e8.tar.gz | |
python3-cryptography: update 39.0.2 -> 41.0.1
Drop 0002-Cargo.toml-edition-2018-2021.patch
(issue fixed upstream)
License-Update: PSF licensed code removed as of
https://github.com/pyca/cryptography/commit/5e6476a4c6e094926a983dcf5cbe9488c30aeb53
(From OE-Core rev: 5c7ea0531bd099006c258b50c7b1747182123ae0)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-cryptography/0001-cryptography-cffi-substitute-include-path-from-targe.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3-cryptography/0001-cryptography-cffi-substitute-include-path-from-targe.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cryptography/0001-cryptography-cffi-substitute-include-path-from-targe.patch b/meta/recipes-devtools/python/python3-cryptography/0001-cryptography-cffi-substitute-include-path-from-targe.patch new file mode 100644 index 0000000000..1a60abada7 --- /dev/null +++ b/meta/recipes-devtools/python/python3-cryptography/0001-cryptography-cffi-substitute-include-path-from-targe.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 04aac6c88152088778c6551dfa86b2fc446dc61c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Mon, 19 Jun 2023 13:27:28 +0200 | ||
| 4 | Subject: [PATCH] cryptography-cffi: substitute include path from target | ||
| 5 | sysroot | ||
| 6 | |||
| 7 | Upstream-Status: Accepted [https://github.com/pyca/cryptography/pull/9105] | ||
| 8 | |||
| 9 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 10 | --- | ||
| 11 | src/rust/cryptography-cffi/build.rs | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/src/rust/cryptography-cffi/build.rs b/src/rust/cryptography-cffi/build.rs | ||
| 15 | index 4a40990..08abb95 100644 | ||
| 16 | --- a/src/rust/cryptography-cffi/build.rs | ||
| 17 | +++ b/src/rust/cryptography-cffi/build.rs | ||
| 18 | @@ -48,7 +48,7 @@ fn main() { | ||
| 19 | println!("cargo:rustc-cfg=python_implementation=\"{}\"", python_impl); | ||
| 20 | let python_include = run_python_script( | ||
| 21 | &python, | ||
| 22 | - "import sysconfig; print(sysconfig.get_path('include'), end='')", | ||
| 23 | + "import sysconfig; print(sysconfig.get_config_var('INCLUDEPY'), end='')", | ||
| 24 | ) | ||
| 25 | .unwrap(); | ||
| 26 | let openssl_include = | ||
| 27 | -- | ||
| 28 | 2.30.2 | ||
| 29 | |||
