From patchwork Tue Feb 22 12:51:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5245 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4K2zb703Vvz3xgV for ; Tue, 22 Feb 2022 12:52:19 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4K2zZl1z06z5Xd; Tue, 22 Feb 2022 12:51:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4K2zZj6fs9z32N9; Tue, 22 Feb 2022 12:51:57 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4K2zZf471zz2yqy for ; Tue, 22 Feb 2022 12:51:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4K2zZc3WqVz5VX; Tue, 22 Feb 2022 12:51:52 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1645534312; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xrk6WKdMYyW6Ltltmz6FInx6FEa4PAoeeKQtBLMSB8s=; b=XBBqN5Ja8dEE+3Gg1XHEc792fbBNeX/ZqfnNo9eL+bvQ+B8avVlG3SR1upHlt/RCI9dxgz v1hCVocmX34BKvAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1645534313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xrk6WKdMYyW6Ltltmz6FInx6FEa4PAoeeKQtBLMSB8s=; b=rT0Bmuew77okMev7+yp87H0s6wcM3/vvcG9pcpo1vK97y8xIcps5/kjx1cZxC+thUHR//W BQ0rubWytWrsqDLAzaDIVCZ9ZRt8f20mWnTRk5PP0XbEenUL8Dk0v4SG+w1jf6UIG6P4US CalhSr+Rj0crRsIOTlBvyC/O0g7EhRDPyKL9b6ca5nOUU7Jj6dGXtNX5V5UIKWuHYRslkV 1PBMB6w4IVofaGKt8j2Li94EbXiktFrsgbG2wi4gD0HWsf86Stc93pUUHja4U1FVYnmiJD jdDcu99nB4NOkJvCe1l3w0qBlJFvpjgDu/l8VdQmmGOsdcDxbF9FODi+lNGV+g== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 23/50] python3-cryptography: Fix build against Rust Date: Tue, 22 Feb 2022 12:51:08 +0000 Message-Id: <20220222125135.1211290-24-michael.tremer@ipfire.org> In-Reply-To: <20220222125135.1211290-1-michael.tremer@ipfire.org> References: <20220222125135.1211290-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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 = 1 DEPS = python3-cffi +export CARGOPATH = $(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=/ @rm -rf $(DIR_APP)