summaryrefslogtreecommitdiff
path: root/lang/python/python-cryptography/patches
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-02-18 18:24:43 +0800
committerJeffery To <jeffery.to@gmail.com>2023-04-24 16:18:14 +0800
commit0b5091bbff52ef8e2e8b6b1f173928088ebe5cc6 (patch)
tree6acc6364e2f05a149fee93b1248b7617f7fa9b12 /lang/python/python-cryptography/patches
parent159895b79461aa93cc0e9a6d51f5074ab85e08d3 (diff)
python-cryptography: Update patch to disable Rust
This extends the patch to also apply for pyproject.toml-based builds. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-cryptography/patches')
-rw-r--r--lang/python/python-cryptography/patches/0004-disable-rust.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/python/python-cryptography/patches/0004-disable-rust.patch b/lang/python/python-cryptography/patches/0004-disable-rust.patch
index 81c45a44d..bf3010bb0 100644
--- a/lang/python/python-cryptography/patches/0004-disable-rust.patch
+++ b/lang/python/python-cryptography/patches/0004-disable-rust.patch
@@ -1,3 +1,13 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -6,7 +6,6 @@ requires = [
+ "wheel",
+ # Must be kept in sync with the `setup_requirements` in `setup.py`
+ "cffi>=1.12; platform_python_implementation != 'PyPy'",
+- "setuptools-rust>=0.11.4",
+ ]
+ build-backend = "setuptools.build_meta"
+
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ import sys