From patchwork Mon Feb 21 18:43:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5209 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 4K2WRL0Jpvz3xfp for ; Mon, 21 Feb 2022 18:43:58 +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 4K2WQv1V4Pz5XS; Mon, 21 Feb 2022 18:43:35 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4K2WQr5HX0z32MZ; Mon, 21 Feb 2022 18:43:32 +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 4K2WQp4dcvz30HP for ; Mon, 21 Feb 2022 18:43:30 +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 4K2WQm3H8vz1TN; Mon, 21 Feb 2022 18:43:28 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1645469008; 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=hxSscGerJePCHSxEDVT+nQSA7G+MG0FpXRYC7lBE1fShvrJ0Oy9t0A1pqSdD/96BVeInDy T4OBVCf62xqFRsDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1645469008; 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=P73nWtSFUCtTo1DDF/DdDjfwvYC50FDBab7Sk6ZQB8hblH2tMwHYueS5iHLhvKFo0pV1jp ZNw9CZB5s9YRzvw39pcMSQj5GmeVX0GO+qTCWvw5sNnz6CT5iRttM7AE9d86rY8Hp7MYuE 9+MSobQxKHxKtcnsvcC8li36QrZeD1gf0l0OrVoyds3A252KyRw9XCvEbJUADd5KEQbfWt 0QCPNllVGQJ9TFTLjWIdaXAMRcwqWglMFZM0x+0mAhoOKm8wpghovdX9Xxj6EcpaOj1zAn 9gNM+nszXAVkChHVl1nnfimBqnn9pU8DtDaEGsbbXjQXz7Fs743a6xaxSM/DdQ== 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> References: <20220221184318.1158749-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)