From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 MO/7NPQxrmJ/GAEAbAwnHQ (envelope-from ) for ; Sat, 18 Jun 2022 22:13:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MD7aNPQxrmJV9gAAauVa8A (envelope-from ) for ; Sat, 18 Jun 2022 22:13:40 +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 4B7721102D for ; Sat, 18 Jun 2022 22:13:40 +0200 (CEST) Received: from localhost ([::1]:46928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2ep9-0002i7-DH for larch@yhetil.org; Sat, 18 Jun 2022 16:13:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2ena-0001SY-Hx for guix-patches@gnu.org; Sat, 18 Jun 2022 16:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56311) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2ena-0004Wj-8v for guix-patches@gnu.org; Sat, 18 Jun 2022 16:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2ena-0002Qp-0l for guix-patches@gnu.org; Sat, 18 Jun 2022 16:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56043] [PATCH v2] gnu: grip: Update to 4.6.1 and use gexps. References: <20220617203334.16172-1-luishenriquegh2701@gmail.com> In-Reply-To: <20220617203334.16172-1-luishenriquegh2701@gmail.com> Resent-From: Luis Henrique Gomes Higino Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Jun 2022 20:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56043 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56043@debbugs.gnu.org Cc: Luis Henrique Gomes Higino Received: via spool by 56043-submit@debbugs.gnu.org id=B56043.16555831129329 (code B ref 56043); Sat, 18 Jun 2022 20:12:01 +0000 Received: (at 56043) by debbugs.gnu.org; 18 Jun 2022 20:11:52 +0000 Received: from localhost ([127.0.0.1]:50208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2enQ-0002QP-Aq for submit@debbugs.gnu.org; Sat, 18 Jun 2022 16:11:52 -0400 Received: from mail-oi1-f178.google.com ([209.85.167.178]:34320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2enM-0002QA-7O for 56043@debbugs.gnu.org; Sat, 18 Jun 2022 16:11:50 -0400 Received: by mail-oi1-f178.google.com with SMTP id v4so9301016oiv.1 for <56043@debbugs.gnu.org>; Sat, 18 Jun 2022 13:11:48 -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=GCFP3zOuxjsNHhSH+wm9R15ux0GCq4lIGkHSbR1QuqE=; b=K8hkoNjRE53u5/TpDJh5xrn8VSbKkoR7E0iCMJBboRKLUzZo9TQVoREyBik3FUYc8Y +9aq4wXA+Q2Lm4mTrhtzm4sfhaVET+56RxvvudfJ8N+Ee8mSGG71ILvbUJU50S02gQCH WmZ+QPYnoSJ2GEfxCN2v3JDZAIUA71E0PFCCeTHZmUuR0DfjmiJJF6d5880cG1eXH+bG PCBvxq6f0MKTQBxKfJD0FyddNMkaGA3IeX+MTrMCWG8PR7p/sRdLXFiaK+tkQwW5iw2h rfusCBFl/Qj0na0cKi1IMPp2/Rzb85SiWPV/+zlm1SOx+zlQoDblTCAqrVeFKFXCQaTe I/4g== 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=GCFP3zOuxjsNHhSH+wm9R15ux0GCq4lIGkHSbR1QuqE=; b=e4ZFK/VC29Y0kUmw8anog0UAZnWF8moMV6RYS3N75gOS70eaWoJR/SUxoJBqAw2Sn7 ZUUcYTMvobuZP0jSuesoxP8WnXmP0RQE0zClHO/yCh8OhuaG38ide0UU1AauqdKVFTqz 2rquDWuo5gDA8Y3w7eXodi6QYqzIzWK2Y3dBWaVxmO+eQT52xmUR1ICgsoJNH7NxrXhp 3nkWfkem933aFLgLDgcHrJL5U64h7Gdkl7rAuGvVOJmpZsxb/Y39ZDsEhCXlpBAH7G52 oQd+2j87oRsCcqZM4eoEYGE1EJq8j6hWAAdlZHnb/EPE+zBU3saGBXjpyZvLs1FxogUG 9aXQ== X-Gm-Message-State: AOAM532polsMqNldkK2+6R679DNUjIwBVTnamRd1SFzDJDKeyaDg2V/x iC6Ajpgo6OGqbqrMy9j8k58nw26asE6v6g== X-Google-Smtp-Source: ABdhPJyDHNaWTA+hddjEYuOwc2ldRJCvVUFhj8fC2ESj0+fzm3t46BaxCp3uftOgjQQZmQ1VW9NwYA== X-Received: by 2002:a05:6808:3082:b0:32f:14df:d56 with SMTP id bl2-20020a056808308200b0032f14df0d56mr13273838oib.36.1655583101993; Sat, 18 Jun 2022 13:11:41 -0700 (PDT) Received: from localhost.localdomain ([2804:1b3:c200:508a:1879:706b:7be7:64f9]) by smtp.gmail.com with ESMTPSA id t8-20020a9d66c8000000b0060b0b638583sm4764444otm.13.2022.06.18.13.11.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 13:11:41 -0700 (PDT) From: Luis Henrique Gomes Higino Date: Sat, 18 Jun 2022 17:11:27 -0300 Message-Id: <20220618201127.24684-1-luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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=1655583220; 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=GCFP3zOuxjsNHhSH+wm9R15ux0GCq4lIGkHSbR1QuqE=; b=XT2m5oxxuvyu/sa81LMlyuA92HYvEqL9+2ApKC0pANO04KyzMZWMAXOG8OJSqYi0vY1x40 xSvGimusiyzAvbCOrYDinvsvYIr69czq+u84Vy5ywngB4nk09oBeC1+Vop2M5fsjhpt9TD NPMeeeeXtu0DerZjwPAkhPZ9XoKLRHgWCJgKgpUGRkxaTPPxZop0+4V4z9EjKK7yR8QhOo EGemKZUjXvrvhLi6/KKBGM5yz60zn4Mgs/nreJ+qsLwlg2JSkcDc7ILVByyY0MI3/T0Otw hAPmutoIuYux7eDc5urjV5enIbihmStumt80l7OlJzvjo8UCvAt0vhMLcTyo4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655583220; a=rsa-sha256; cv=none; b=AV50GgMWRh1KJaPro5IvkmHT2gJ1+grZ28aKT/UAofU4bcXwwuQgIIoGNN0zlWH1dpaRtj b1CesHNRZIg4adbfWgE6DwmvL8Z4AcFTAySMup921YpfI4ghRI8cJcbs/fZiCgxSyGucqA s4nkT3Im2UgNt03cr1buty4pzwye7KyEtHQ4Pf3KJD+LaLiI9HI59GFs9q3qJl9iqiIYTM hU4V/lC2sZ4DLbliaECfusort7AcGOXYzBQLsbZJKycYU1qoHOJJogzkJQi1v2QYMI6biQ YoK4EDva7BPz+iS3dM0S7BoBOmq9GMKlidfwDJLYCHJykHtKpBCRS7np6dDq2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=K8hkoNjR; 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: 7.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=K8hkoNjR; 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: 4B7721102D X-Spam-Score: 7.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: PP0fQHk+68gc * gnu/packages/python-web.scm (grip): Update to 4.6.1 and use gexps. --- I had forgot to add a copyright line in the previous version 😓. gnu/packages/python-web.scm | 77 ++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 40 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b4500c6d2f..9284c4dc42 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -51,6 +51,7 @@ ;;; Copyright © 2022 Denis 'GNUtoo' Carikli ;;; Copyright © 2022 Felix Gruber ;;; Copyright © 2022 Peter Polidoro +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -5176,50 +5177,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