From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IDSdLGrfl2DOXwEAgWs5BA (envelope-from ) for ; Sun, 09 May 2021 15:11:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GC1qKGrfl2DYVAAAB5/wlQ (envelope-from ) for ; Sun, 09 May 2021 13:11:06 +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 69C3514F67 for ; Sun, 9 May 2021 15:11:06 +0200 (CEST) Received: from localhost ([::1]:59496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfjD7-0002vd-KM for larch@yhetil.org; Sun, 09 May 2021 09:11:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfjD4-0002vR-ID for guix-patches@gnu.org; Sun, 09 May 2021 09:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfjD4-0004t0-B5 for guix-patches@gnu.org; Sun, 09 May 2021 09:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfjD4-0005fe-6b for guix-patches@gnu.org; Sun, 09 May 2021 09:11:02 -0400 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: Sun, 09 May 2021 13:11: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.162056580621782 (code B ref 48289); Sun, 09 May 2021 13:11:02 +0000 Received: (at 48289) by debbugs.gnu.org; 9 May 2021 13:10:06 +0000 Received: from localhost ([127.0.0.1]:55418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfjC9-0005fF-Js for submit@debbugs.gnu.org; Sun, 09 May 2021 09:10:05 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:52537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfjC6-0005eo-D0 for 48289@debbugs.gnu.org; Sun, 09 May 2021 09:10:03 -0400 X-Originating-IP: 93.177.90.216 Received: from localhost.localdomain (unknown [93.177.90.216]) (Authenticated sender: filip@lajszczak.dev) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id C98F424000A; Sun, 9 May 2021 13:09:55 +0000 (UTC) From: Filip Lajszczak Date: Sun, 9 May 2021 15:09:29 +0200 Message-Id: <20210509130929.26805-1-filip@lajszczak.dev> X-Mailer: git-send-email 2.31.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620565866; 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=6dhVPaqtBvcfde50P4H0XR2VkBPP8y16+aZ93peoa1w=; b=p9POWjQVXa/fSWV15PPhEWEy55Rvu+K1MjOgkGxhDFpAJOuiFs3xE+6zmtvcwffK0UnVhd swrd72OlIpg7FlOOqVZFq0hcAycd0hli2ARaT0JlBrfH00Eosvs5NFgz9gxgW82CcjESxK wIthSwRXWBrOVUy/54FuWA8S7Y03loXZaONW3mMzlSOpIeTuoPujLP7cEQmS1/YbuYvyaz HYA34VXvXZ0Acm4kH9IIEGVB/YL8/GcSWJDrdn4nF+gOfy5rxfXP5xkbvKptixn7kvadea AfhdFsBb4aJZSLuGle/d7a2gc0zp2PY19bv7e8tyd4zrzZGa3dyCQImjqKlB1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620565866; a=rsa-sha256; cv=none; b=VjTsrIYNuPog1z/3DEnDv9GHd/cYczXI9HF449+bAL5ei4Oy66jTJZO0LFFhTPZeCpKx1c QKipQZUx3Q4+EBaOK75jTWa/63OeRSRgcvx4EmFdGaTTtg5Hqwpfkzawy9QSDZRfZvNefR UOYQFYR3XHKvkzlrvozXyURGYc7WrQ6Tp8Ce+3Fohc8wRNlCxt5wT0rLfKN+1LDRtqqAM2 VAsejFsqsdJ6+z75Vvv16EU34B7gsEtsILa6YGhHJ6XgfWBHhy6EY905n/ldG10NmwS6tm THOEgloBt4Nfwj1hpjVm6xwh51IPpiUVNOOGhjJ2Kd7/cJTZiJlD43Qw3jXA4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 69C3514F67 X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: 60RgaSCFdVv4 * gnu/packages/python-xyz.scm (python-pythonanywhere): New variable. --- gnu/packages/python-xyz.scm | 50 +++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index de7c303b6c..c9468dff19 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -99,6 +99,7 @@ ;;; Copyright © 2021 Sharlatan Hellseher ;;; Copyright © 2021 Ellis Kenyő ;;; Copyright © 2021 LibreMiami +;;; Copyright © 2021 Filip Lajszczak ;;; ;;; This file is part of GNU Guix. ;;; @@ -11455,6 +11456,55 @@ programmatically with command-line parsers like @code{getopt} and (define-public python2-docopt (package-with-python2 python-docopt)) +(define-public python-pythonanywhere + (package + (name "python-pythonanywhere") + (version "0.9.8") + (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 + "0yd0hk9awfk4kc99nn008by8jbz2h709qvzzixjyjhcg6xjmc2zh")))) + (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 + `(("python-pytest" ,python-pytest) + ("python-psutil" ,python-psutil) + ("python-responses" ,python-responses) + ("python-pytest-mock" ,python-pytest-mock))) + (propagated-inputs + `(("python-dateutil" ,python-dateutil) + ("python-docopt" ,python-docopt) + ("python-packaging" ,python-packaging) + ("python-requests" ,python-requests) + ("python-schema" ,python-schema) + ("python-tabulate" ,python-tabulate) + ("python-typer" ,python-typer))) + (home-page + "https://github.com/pythonanywhere/helper_scripts/") + (synopsis + "PythonAnywhere helper tools for users") + (description + "PythonAnywhere helper tools for users. Scripts, cli and python wrapper around API +that allows to manage 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.31.1