From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oC4sHoHlrGL9jgAAbAwnHQ (envelope-from ) for ; Fri, 17 Jun 2022 22:35:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QCY2HYHlrGKGIwAAG6o9tA (envelope-from ) for ; Fri, 17 Jun 2022 22:35: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 DFAD52A24B for ; Fri, 17 Jun 2022 22:35:12 +0200 (CEST) Received: from localhost ([::1]:46476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2IgR-0007j3-NN for larch@yhetil.org; Fri, 17 Jun 2022 16:35:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2IgJ-0007im-Ca for guix-patches@gnu.org; Fri, 17 Jun 2022 16:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2IgJ-0002M9-41 for guix-patches@gnu.org; Fri, 17 Jun 2022 16:35:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2IgI-0000Ir-WC for guix-patches@gnu.org; Fri, 17 Jun 2022 16:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56043] [PATCH] gnu: grip: Update to 4.6.1 and use gexps. Resent-From: Luis Henrique Gomes Higino Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Jun 2022 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56043 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56043@debbugs.gnu.org Cc: Luis Henrique Gomes Higino X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16554980631093 (code B ref -1); Fri, 17 Jun 2022 20:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jun 2022 20:34:23 +0000 Received: from localhost ([127.0.0.1]:47050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Ife-0000HZ-VY for submit@debbugs.gnu.org; Fri, 17 Jun 2022 16:34:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:53970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Ifb-0000HP-Qu for submit@debbugs.gnu.org; Fri, 17 Jun 2022 16:34:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Ifb-0007gz-Ks for guix-patches@gnu.org; Fri, 17 Jun 2022 16:34:19 -0400 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]:33381) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2IfZ-0002Gc-Tk for guix-patches@gnu.org; Fri, 17 Jun 2022 16:34:19 -0400 Received: by mail-oi1-x22a.google.com with SMTP id s124so6732782oia.0 for ; Fri, 17 Jun 2022 13:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UmsI3Cjkrp2BsOL0Rh0Mr8bY4Qnf+FuaGHdrjTEiw+U=; b=RUW4ubT862o8KsIr43V1teQLeU4jtZy6LeE+0NPDlrT2psDB4OMM8B5BvO03pV4cTv 1Wxy9OS5mgsbJMgYtHiHe7DQnKrOChaPbXCW2tJklgE8gHykHcFXrnJflqhzB1NiHWje BYY4KXN+08l/wOki7adv+tBan+Bb0XA67wtLDrNzLdlJlAl5wQulsd0yy7oHVj8a0tYz /2IieQHkOu+OJGg5jGV8cD+qER6ENXFoBK6Q6JpBmI89V9zrFgCvmH0nOBnxDuNhmHxa qRYDXV/mju0AnZZv4ECMso3AtvUNVq2Uso8nZ5YCimgaBxeGuXNLJ4zhQ21Iqedl7dBH 0L/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UmsI3Cjkrp2BsOL0Rh0Mr8bY4Qnf+FuaGHdrjTEiw+U=; b=fT02hIpi/n3Okw6j76gALZIfkYZHLDjdp0rEHu0w3U/lliSGtpWZv74ooZo9lwK4ZF L3EkTojRi79CKxNxF0eWebRVzlg+3nH9cfKbm/ceujaNdMyraGtK6i7ytKqTDtwHLjvx iowNjv92W2C5KTpzQIMQFOLrSp8PSYQiAJf0qxFcCej4mQeNz6wi6U0cHTKMPP91TsNB wqjPqSDyUklxsnMYAuZ96YDBJPVAnOsU1aItOt+MhKsKzelSkYsVRsY5b10D1kC3dNE6 RUkzDRU94nmsKY9jqBFrS9/Y/k8Rg5ndyXkBlnw+kxm3R7R0tCEMTV0FwwxtIljX5p4m 3mhw== X-Gm-Message-State: AOAM532MgimBferHUP8eRD6Us5TaGd2Buloy/PTygOKkYf0LR9MELLeI Yx4WKTuUPz8fl3nBakBNGAaeKSfcqVN4RA== X-Google-Smtp-Source: ABdhPJx3rQIIKty2MsFg9NXziAgpE+gf86Ap9LZemroR2Jiua6Np57SjVDM4p9oyfH/xur3s4RJshw== X-Received: by 2002:a05:6808:b29:b0:32e:98af:5cc3 with SMTP id t9-20020a0568080b2900b0032e98af5cc3mr11122271oij.25.1655498055689; Fri, 17 Jun 2022 13:34:15 -0700 (PDT) Received: from localhost.localdomain ([2804:1b3:c200:508a:1879:706b:7be7:64f9]) by smtp.gmail.com with ESMTPSA id r9-20020a9d5cc9000000b0060b1f3924c3sm3027089oti.44.2022.06.17.13.34.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 13:34:14 -0700 (PDT) From: Luis Henrique Gomes Higino Date: Fri, 17 Jun 2022 17:33:34 -0300 Message-Id: <20220617203334.16172-1-luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::22a; envelope-from=luishenriquegh2701@gmail.com; helo=mail-oi1-x22a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1655498113; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UmsI3Cjkrp2BsOL0Rh0Mr8bY4Qnf+FuaGHdrjTEiw+U=; b=CHg4USR5ZaEloqsgBMTsRxd/1+fBwnqtVhyE77dRTL6ttm4Dj/Dchxzzf1eWCE/+T6iUw8 F+JrXuShwON4gWY1oKZ7PFss5Hu9udddpvUhbZCOla5NSByYUpB+7wM7iAMc/SzodbSgDu mQMca2z6nUC6wJQTCmCz8Tc2/meb9zwjIvFx0l4FGjeHW5eE5GLW8Mjn/l6dWa9zLC1aL9 VOX0CnGmhx4d/HBfF0YqMVCX3vqFioCO9wVIpFiuA//k1rstbimaOVd3tk4fTlJHjfXFzW W83UgBdYXx2246y/vA204HG7ABWnnIYp4S07q88KSnpaH8mK21hSJ3JqJ4YABQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655498113; a=rsa-sha256; cv=none; b=I9TK4BLrtpwjhYT98nkdnh4QILv73wz5nnoKHxgUrt22BCICSEcsvunkZKbLXTlMzB3Wnk +VqkSlPlPV1eG2wp0DB2A5P9MG3dVUPyastbrlv9dAtlZEaKl4RVT1gAf0ZNM5xz7bjBM1 lB62mqE15uRC+MDhH9T4M15TWlGcmM0Y3oVw3jPMtbnF49xSpuR/p/M6QBGBD6NXB1ywKY ijrcygJuVnD7M0zaAuxUWcoNITfWpCeIiPFPuKb7WQPcwaSUXZGZdeEYsq5ON7Wcojqhfs sxZCyAh+oo8kiGAj2YGKtoVSkMcNaC4LbF2oJxqi3SZ8DzhohZOoDBvPFVpjNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=RUW4ubT8; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=RUW4ubT8; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DFAD52A24B X-Spam-Score: 6.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: Oaz8W7lnzPaO * gnu/packages/python-web.scm (grip): Update to 4.6.1 and use gexps. --- Hi guix, this patch fixes the build of the grip package by updating it and also rewrites its arguments using gexps. gnu/packages/python-web.scm | 76 ++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 40 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b4500c6d2f..7b07cb72d6 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5176,50 +5176,46 @@ (define-public python-path-and-address (license license:expat))) (define-public grip - ;; No release by upstream for quite some time, some bugs fixed since. See: - ;; https://github.com/joeyespo/grip/issues/304 - (let ((commit "27a4d6d87ea1d0ea7f7f120de55baabee3de73e3")) - (package - (name "grip") - (version (git-version "4.5.2" "1" commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/joeyespo/grip") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0kx5hgb3q19i4l18a4vqdq9af390xgpk88lp2ay75qi96k0dc68w")))) - (build-system python-build-system) - (propagated-inputs - (list python-docopt - python-flask - python-markdown - python-path-and-address - python-pygments - python-requests)) - (native-inputs - (list python-pytest python-responses)) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (setenv "PATH" (string-append - (getenv "PATH") ":" - (assoc-ref %outputs "out") "/bin")) - (invoke "py.test" "-m" "not assumption")))))) - (home-page "https://github.com/joeyespo/grip") - (synopsis "Preview Markdown files using the GitHub API") - (description "Grip is a command-line server application written in Python + (package + (name "grip") + (version "4.6.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/joeyespo/grip") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vhimd99zw7s1fihwr6yfij6ywahv9gdrfcf5qljvzh75mvzcwh8")))) + (build-system python-build-system) + (propagated-inputs (list python-docopt + python-flask + python-markdown + python-path-and-address + python-pygments + python-requests)) + (native-inputs (list python-pytest python-responses)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (setenv "PATH" + (string-append (getenv "PATH") ":" + #$output "/bin")) + (invoke "py.test" "-m" "not assumption"))))))) + (home-page "https://github.com/joeyespo/grip") + (synopsis "Preview Markdown files using the GitHub API") + (description + "Grip is a command-line server application written in Python that uses the GitHub Markdown API to render a local Markdown file. The styles and rendering come directly from GitHub, so you'll know exactly how it will appear. Changes you make to the file will be instantly reflected in the browser without requiring a page refresh.") - (license license:expat)))) + (license license:expat))) (define-public python-port-for (package -- 2.36.1