From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sBlgF1mhgmITAwAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 21:09:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EI5QFlmhgmJxwgAAG6o9tA (envelope-from ) for ; Mon, 16 May 2022 21:09:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B9A2915DEA for ; Mon, 16 May 2022 21:09:12 +0200 (CEST) Received: from localhost ([::1]:34854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqg5f-0004lP-G3 for larch@yhetil.org; Mon, 16 May 2022 15:09:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqg5W-0004kz-7Z for bug-guix@gnu.org; Mon, 16 May 2022 15:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqg5V-0006Wz-V2 for bug-guix@gnu.org; Mon, 16 May 2022 15:09:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqg5V-0002ju-PJ for bug-guix@gnu.org; Mon, 16 May 2022 15:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54752: import: hackage: `elif` conditionals not supported Resent-From: "Philip Munksgaard" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 May 2022 19:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54752 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Lars-Dominik Braun" Cc: 54752@debbugs.gnu.org X-Debbugs-Original-Cc: John Kehayias Received: via spool by submit@debbugs.gnu.org id=B.165272811710499 (code B ref -1); Mon, 16 May 2022 19:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 May 2022 19:08:37 +0000 Received: from localhost ([127.0.0.1]:55076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqg56-0002jH-PR for submit@debbugs.gnu.org; Mon, 16 May 2022 15:08:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:34856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqg54-0002jA-WD for submit@debbugs.gnu.org; Mon, 16 May 2022 15:08:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqg54-0004h1-Mg for bug-guix@gnu.org; Mon, 16 May 2022 15:08:34 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:42095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqg52-0006TO-QL for bug-guix@gnu.org; Mon, 16 May 2022 15:08:34 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AC5DB5C01F1; Mon, 16 May 2022 15:08:30 -0400 (EDT) Received: from imap43 ([10.202.2.93]) by compute2.internal (MEProxy); Mon, 16 May 2022 15:08:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=munksgaard.me; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1652728110; x= 1652814510; bh=SbtsVsVgSp6pn0950gbllt5UhoPPlUVxnyD0mBNFPfU=; b=v EmOLgL3Mkt66/Af0fqz6ULJ8S2o8riSypKC7EPiGMnXPGKeAJyK1Jal6cTSzTLlv Z6Dwzo446iVxvbWZAuGZfXTY8XqwC2orkAr5q567po0E5+AAsiN4FZClE7lloEXe 4UQWNtDkkmepHUtPKLiXNeo1ca86K9vgSy++gubxRacoSqMfZcKk6/l62MAFdtGC sl8WuPn2JaP3MBSooNaUHucxEDLt481aO2p+56/FvoYy1jRXLwTi2CC0wRpd3kzf XAo0csdP2zl44ulkWIEAeuEXbrqLSj8C/WIZ8BwvzTuowcPTWza4EXNWhQsU78iS 5ecl6nm1k8nNop1Jr+9Jg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1652728110; x=1652814510; bh=SbtsVsVgSp6pn 0950gbllt5UhoPPlUVxnyD0mBNFPfU=; b=ffk8WM7ijiLaZndHQi8gkk+D1Gezv z7FYK3IY9O+XSH1gLXOGhorgbNP+zAQs4obOmbFOx/4RdDBuHg+Z9lVe5zg5Y5Nx YAfo9Q1+nIWi62/n2NGlzZvWcvrPDHC5h+R0t7CkIsGOkuVwyFZz55FemNErhzJj Swml5+vgiDe3EOu1kEARKCPy8Lr5zpiEpFp6P9zbdzWA/9knL0TUHfjfbnLvEOsS fDLUnXNmkP67NiyF0zhj67QEbISHWsneAA4M9yT8B8wZJlQpwIZ/SSfCqgyuS05q ejXjhLsqNJWQRyXP64i3+y1QOcbzU4S+y3BoCTjLM/sdgMd5RPpj9MgXg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrheehgddufeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfr hhhilhhiphcuofhunhhkshhgrggrrhgufdcuoehphhhilhhiphesmhhunhhkshhgrggrrh gurdhmvgeqnecuggftrfgrthhtvghrnhepgfehteeiffduleetffehuefgtdefgfevjedv vefhveeviedtkeelveejhfehgfelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepphhhihhlihhpsehmuhhnkhhsghgrrghrugdrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4D2C02D4005F; Mon, 16 May 2022 15:08:30 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-591-gfe6c3a2700-fm-20220427.001-gfe6c3a27 Mime-Version: 1.0 Message-Id: <7c74e5b9-6c37-4b9b-aa3b-40a4a5373e03@www.fastmail.com> In-Reply-To: References: <86aa9c55-a4b0-4075-bdf6-8281885ab835@www.fastmail.com> Date: Mon, 16 May 2022 21:08:09 +0200 From: "Philip Munksgaard" Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=66.111.4.29; envelope-from=philip@munksgaard.me; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652728153; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SbtsVsVgSp6pn0950gbllt5UhoPPlUVxnyD0mBNFPfU=; b=jCLqQ6n5aouEiVku2Yk6YVpKm3A4qmK0OofHd8V8R8eEZtFTPyQS1JmPoYW4TtPiCHw43a PaRmNYQm5Bh9jbSKXTQBh8q69nJ7JUIpJ/5zwh17ZqkQibLWMYgOHPHFmj2bulbrA0KYt4 v6BTrqwfdm1IZxalJ/9GNMvW4/jhYqJRoAcC7Ka9eTJW4LPcVoyOCpt+A9rbxEXDLfM5wH w1PWaDOwsrQAtPVPqQoV2tkDAHuPOGNX3FR3r035jnn6TyDK4YmJy7pvCU3PzFsp+hz6bS 7NkKJ4Ua30TRB9y08BzF0v+vVafJK2j5REb6pGTlyHguxTzvhRabyK9feEN34w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652728153; a=rsa-sha256; cv=none; b=WwSmHQg5wfW5Oyw0dXrGtnxE9T+55RWvNEZaAlBEkN7ZrF4T7tWypumlna9jqvD88orAeE d9wKvps+hZvbEGBbyjF1wWkAknHK6AW++JNzwQmZpuuh4jc8FT/51VORru/brwECysAKj/ Z+Fy2Is2kbUQKMnOLceU8cp+dYsvLtZKYniQTiIhHr+HoZtshZlheNYJAZ7UyguNx6shsD QArqkghSGdFv/1UZhf2kRRdiQK8JsYK6RehiEZnZcIsIkYpp9hpuuIbhBG3ycogIxAFzgD VqjzSf+yO0uXwVC/fMf8dgwZqpxOoAMUpuKGQWVRaL1ePKY7gMMqXF+wqaf8vw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm1 header.b="v EmOLgL"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=ffk8WM7i; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm1 header.b="v EmOLgL"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=ffk8WM7i; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B9A2915DEA X-Spam-Score: 0.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: iqrhak5NAOd7 Hi Lars=20 On Sat, 14 May 2022, at 15:53, Lars-Dominik Braun wrote: > attached patch series fixes the import for `raaz` by adding support for > elif and other minor adjustments. There still is syntax we do not supp= ort, > most importantly mixed indentation, which is already documented as xfa= il > via a testcase. I=E2=80=99m adding a few more. > > Could you have a look please if these make sense? > Looks like it works! Unfortunately, building raaz still fails (first bec= ause of the description, then because some internal libraries are added = as external dependencies, and then for... other reasons I haven't figure= d out. But all of those are separate issues.