From patchwork Sat Jun 18 20:11:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luis Henrique Gomes Higino X-Patchwork-Id: 40141 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F02EC27BBE9; Sat, 18 Jun 2022 21:13:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0C86C27BBED for ; Sat, 18 Jun 2022 21:13:43 +0100 (BST) Received: from localhost ([::1]:46928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2epC-0002i7-5v for patchwork@mira.cbaines.net; Sat, 18 Jun 2022 16:13:42 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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