From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2I63ItMYvWFJHwEAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 00:10:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kf14HtMYvWHIMgAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 23:10:11 +0000 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 453422DE6A for ; Sat, 18 Dec 2021 00:10:11 +0100 (CET) Received: from localhost ([::1]:54906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myMMb-0002uR-Ly for larch@yhetil.org; Fri, 17 Dec 2021 18:10:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myMMU-0002u4-GO for guix-patches@gnu.org; Fri, 17 Dec 2021 18:10:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myMMU-0001y6-7t for guix-patches@gnu.org; Fri, 17 Dec 2021 18:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myMMU-0003p8-3H for guix-patches@gnu.org; Fri, 17 Dec 2021 18:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#48289] [PATCH] gnu: Add python-pythonanywhere. References: <20210508132849.26030-1-filip@lajszczak.dev> In-Reply-To: <20210508132849.26030-1-filip@lajszczak.dev> Resent-From: Filip Lajszczak Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 23:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48289 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48289@debbugs.gnu.org Cc: Filip Lajszczak Received: via spool by 48289-submit@debbugs.gnu.org id=B48289.163978256714639 (code B ref 48289); Fri, 17 Dec 2021 23:10:02 +0000 Received: (at 48289) by debbugs.gnu.org; 17 Dec 2021 23:09:27 +0000 Received: from localhost ([127.0.0.1]:40834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myMLv-0003o3-37 for submit@debbugs.gnu.org; Fri, 17 Dec 2021 18:09:27 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:43013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myMLs-0003nm-Gz for 48289@debbugs.gnu.org; Fri, 17 Dec 2021 18:09:25 -0500 Received: (Authenticated sender: filip@lajszczak.dev) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id D1397C000B; Fri, 17 Dec 2021 23:09:17 +0000 (UTC) From: Filip Lajszczak Date: Sat, 18 Dec 2021 00:08:47 +0100 Message-Id: <20211217230847.9375-1-filip@lajszczak.dev> X-Mailer: git-send-email 2.34.0 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639782611; 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; bh=K/6xE1G1jP0M9CSz4aETWUfUlpXyuNUDU/D9HDupmiE=; b=O26qSaLwWW2wGOp/vQYBGZI8dvYtnboQ4d/TXlerInDsB+9N9HRlAz2Fg/KbCCaLSlAolW xIAkCIajvQuRB906NVBrnqFRcjNWJTrLsbE1p4NiMF1sUoieSEyMnksIldDoxkH2niUMKz UJrwP/X9htUFDd7z2oijLmIx13UQN7zB5YTU4ZePSH4C1skie806roOwLL/iHFB6BM7Eu/ VY7xlfBY1l9XL8YApXVvzCC66YkL2xQ5Y/xt9vGgCp4pwYth4TNXlYyq52nHNQqZzX1yMc hEuprLR03CQ6RkVdyvziUOAdDr5+zJiX9jKokbOiZp/GlHyRERpdC0zt/k1BeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639782611; a=rsa-sha256; cv=none; b=C2hJulGJuuCTzkjqBwV1FdrmXBz2visf70475Gu4wIB0Jn93VaVMSWhJl3SIzSRLyE6/x5 EEkEsNF0zfYc/XZdWp4gieHw1UGCROI9izP7nJCj2EI/JS2bdncKBp/lUVq74JbFHVj3/P fSV4IWHdkfl/nEQNuBQzksg2Qd2z7wbCg8iZ12y6F/HrIUDARzxWzPxC02Lc4ZiPJFsWHS Zt0ntzQa/TffMMhGNjHSK57K4NI3MiksKbSPp+gjpGH/fF/3udEYQQWUIdIho/7ObKqpUK FPvVm5HkpP2K/73Sut/mA4V6O8/yNkAzsZnA9WHTTW4Y3K1UyBc9Yz7Ww9mOKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.80 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 453422DE6A X-Spam-Score: -2.80 X-Migadu-Scanner: scn0.migadu.com X-TUID: bdiUSFyu8BaK * gnu/packages/python-xyz.scm (python-pythonanywhere): New variable. --- gnu/packages/python-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2af4794..2c319a0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -112,6 +112,7 @@ ;;; Copyright © 2021 Sébastien Lerique ;;; Copyright © 2021 Raphaël Mélotte ;;; Copyright © 2021 ZmnSCPxj +;;; Copyright © 2021 Filip Lajszczak ;;; ;;; This file is part of GNU Guix. ;;; @@ -12406,6 +12407,54 @@ (define-public python-docopt (define-public python2-docopt (package-with-python2 python-docopt)) +(define-public python-pythonanywhere + (package + (name "python-pythonanywhere") + (version "0.9.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pythonanywhere/helper_scripts") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vzzc1g8pl7cb9yvm3n1j5zlzxf0jd423rzspc2kvpb8yhvydklx")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'change-home + (lambda _ + (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"))))))) + (native-inputs + (list python-pytest + python-psutil + python-responses + python-pytest-mock)) + (propagated-inputs + (list python-dateutil + python-docopt + python-packaging + python-requests + python-schema + python-tabulate + 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.") + (license license:expat))) + (define-public python-pythondialog (package (name "python-pythondialog") -- 2.34.0