mirror of
https://github.com/openwrt/packages.git
synced 2025-12-20 01:21:21 +00:00
python-cryptography: Fix failing build
Fixes https://github.com/openwrt/packages/issues/18876. Fixes https://github.com/openwrt/packages/issues/18879. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -9,9 +9,12 @@
|
||||
except ImportError:
|
||||
print(
|
||||
"""
|
||||
@@ -45,7 +45,7 @@ setuptools_rust = "setuptools-rust>=0.11
|
||||
@@ -43,9 +43,9 @@ with open(os.path.join(src_dir, "cryptog
|
||||
# `pyproject.toml`
|
||||
setuptools_rust = "setuptools-rust>=0.11.4"
|
||||
install_requirements = ["cffi>=1.12"]
|
||||
setup_requirements = install_requirements + [setuptools_rust]
|
||||
-setup_requirements = install_requirements + [setuptools_rust]
|
||||
+setup_requirements = install_requirements
|
||||
|
||||
-if os.environ.get("CRYPTOGRAPHY_DONT_BUILD_RUST"):
|
||||
+if True:
|
||||
|
||||
Reference in New Issue
Block a user