From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 19/27] python3-cryptography: Fix build against Rust Date: Mon, 21 Feb 2022 18:43:10 +0000 Message-ID: <20220221184318.1158749-19-michael.tremer@ipfire.org> In-Reply-To: <20220221184318.1158749-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6588006407392640013==" List-Id: --===============6588006407392640013== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- lfs/python3-cryptography | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lfs/python3-cryptography b/lfs/python3-cryptography index 15e6c5697..47a46840f 100644 --- a/lfs/python3-cryptography +++ b/lfs/python3-cryptography @@ -36,6 +36,8 @@ PAK_VER =3D 1 =20 DEPS =3D python3-cffi =20 +export CARGOPATH =3D $(CARGO_PATH) + ############################################################################= ### # Top-level Rules ############################################################################= ### @@ -77,6 +79,8 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && $(CARGO_PREPARE) + cd $(DIR_APP) && rm -vf src/rust/Cargo.lock cd $(DIR_APP) && python3 setup.py build cd $(DIR_APP) && python3 setup.py install --root=3D/ @rm -rf $(DIR_APP) --=20 2.30.2 --===============6588006407392640013==--