From patchwork Mon Jan 3 16:34:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 35922 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 52ED827BBEA; Mon, 3 Jan 2022 16:36:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED 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 1B3D127BBE9 for ; Mon, 3 Jan 2022 16:36:12 +0000 (GMT) Received: from localhost ([::1]:59394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4QJf-00078o-AH for patchwork@mira.cbaines.net; Mon, 03 Jan 2022 11:36:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4QJW-00077f-Hm for guix-patches@gnu.org; Mon, 03 Jan 2022 11:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4QJW-0004w3-7v for guix-patches@gnu.org; Mon, 03 Jan 2022 11:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4QJV-0000bj-UV for guix-patches@gnu.org; Mon, 03 Jan 2022 11:36:01 -0500 Subject: bug#48289: [PATCH] gnu: Add python-pythonanywhere. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 03 Jan 2022 16:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 48289 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Filip Lajszczak Cc: 48289-done@debbugs.gnu.org Mail-Followup-To: 48289@debbugs.gnu.org, ludo@gnu.org, filip@lajszczak.dev Received: via spool by 48289-done@debbugs.gnu.org id=D48289.16412277032245 (code D ref 48289); Mon, 03 Jan 2022 16:36:01 +0000 Received: (at 48289-done) by debbugs.gnu.org; 3 Jan 2022 16:35:03 +0000 Received: from localhost ([127.0.0.1]:36007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4QIZ-0000a9-3O for submit@debbugs.gnu.org; Mon, 03 Jan 2022 11:35:03 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:33464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4QIT-0000ZU-M2 for 48289-done@debbugs.gnu.org; Mon, 03 Jan 2022 11:35:01 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 414433E5; Mon, 3 Jan 2022 17:34:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6-8h-wWAFDqz; Mon, 3 Jan 2022 17:34:50 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id F2CD1B8; Mon, 3 Jan 2022 17:34:49 +0100 (CET) From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <20210508132849.26030-1-filip@lajszczak.dev> <20211217230847.9375-1-filip@lajszczak.dev> Date: Mon, 03 Jan 2022 17:34:49 +0100 In-Reply-To: <20211217230847.9375-1-filip@lajszczak.dev> (Filip Lajszczak's message of "Sat, 18 Dec 2021 00:08:47 +0100") Message-ID: <877dbghj6e.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 414433E5 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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 Hi Filip, Filip Lajszczak skribis: > * gnu/packages/python-xyz.scm (python-pythonanywhere): New variable. Finally applied with the tweaks below (see ). Thank you, and thanks for persevering! Ludo’. diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5baddf1abb..01992dc729 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12532,11 +12532,11 @@ (define-public python-pythonanywhere (setenv "HOME" "/tmp"))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; exclude tests marked as slowtest that assume running - ;; inside git repository on system with virtualenvwrapper - ;; installed. - (invoke "pytest" "-m" "not slowtest"))))))) + (when tests? + ;; Exclude tests marked as slowtest that assume running + ;; inside Git repository on system with virtualenvwrapper + ;; installed. + (invoke "pytest" "-m" "not slowtest"))))))) (native-inputs (list python-pytest python-psutil @@ -12552,9 +12552,9 @@ (define-public python-pythonanywhere python-typer)) (home-page "https://github.com/pythonanywhere/helper_scripts/") (synopsis "PythonAnywhere helper tools for users") - (description "PythonAnywhere helper tools for users. Cli and python wrapper -around API that allows managing web apps and scheduled tasks. Includes single-command -deployment for Django Girls tutorial.") + (description "PythonAnywhere provides a command-line interface and an +application programming interface that allows managing Web apps and scheduled +tasks. It includes single-command deployment for the Django Girls tutorial.") (license license:expat))) (define-public python-pythondialog