summaryrefslogtreecommitdiff
path: root/lang/python/python-cryptography
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-05-10 12:11:07 +0800
committerGitHub <noreply@github.com>2023-05-10 12:11:07 +0800
commit8a36b03870fd2f6b75b8890ce912660e00ccade8 (patch)
tree5e03f31c967408fe8ce0e7e3d470f4d5eb0a3863 /lang/python/python-cryptography
parent83dd66fd34792c692a477c2ed8430f81802d8f22 (diff)
parentb1b008f42ff0a6da96b801e2eaf68be4e2f2b5bb (diff)
Merge pull request #20801 from jefferyto/python-pyproject
python: Add proper support for pyproject.toml-based builds, update Python packages for new build process
Diffstat (limited to 'lang/python/python-cryptography')
-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