From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IBQCJIW6lmAm+wAAgWs5BA (envelope-from ) for ; Sat, 08 May 2021 18:21:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yN+1H4W6lmCBMwAA1q6Kng (envelope-from ) for ; Sat, 08 May 2021 16:21:25 +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 2F33C1A39F for ; Sat, 8 May 2021 18:21:25 +0200 (CEST) Received: from localhost ([::1]:44536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfPhk-00053i-9V for larch@yhetil.org; Sat, 08 May 2021 12:21:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfPEM-0000eQ-Cq for guix-patches@gnu.org; Sat, 08 May 2021 11:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfPEM-0007MI-5H for guix-patches@gnu.org; Sat, 08 May 2021 11:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfPEM-0002eD-4D for guix-patches@gnu.org; Sat, 08 May 2021 11:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48289] [PATCH] gnu: Add python-pythonanywhere. Resent-From: Filip Lajszczak Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 May 2021 15:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48289 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48289@debbugs.gnu.org Cc: Filip Lajszczak X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162048904810153 (code B ref -1); Sat, 08 May 2021 15:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2021 15:50:48 +0000 Received: from localhost ([127.0.0.1]:50927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfPE7-0002dh-Qv for submit@debbugs.gnu.org; Sat, 08 May 2021 11:50:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:33236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfN1Z-0001IZ-KF for submit@debbugs.gnu.org; Sat, 08 May 2021 09:29:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfN1Y-0002uk-El for guix-patches@gnu.org; Sat, 08 May 2021 09:29:41 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfN1V-00066C-SK for guix-patches@gnu.org; Sat, 08 May 2021 09:29:39 -0400 X-Originating-IP: 93.177.90.216 Received: from localhost.localdomain (unknown [93.177.90.216]) (Authenticated sender: filip@lajszczak.dev) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 292EEE0006; Sat, 8 May 2021 13:29:31 +0000 (UTC) From: Filip Lajszczak Date: Sat, 8 May 2021 15:28:49 +0200 Message-Id: <20210508132849.26030-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 Received-SPF: pass client-ip=217.70.183.196; envelope-from=filip@lajszczak.dev; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 08 May 2021 11:50:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 08 May 2021 12:20:46 -0400 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=1620490885; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=iHC34Eba5RfJDBszNtO6GVLpF6GsL2a8+22RpRjxdx8=; b=T2T7RxVm5afM+yuGjHVbN2bzclxOxuEWxT22l9mQNnxTC+a6VQyzGpQAGDQ7iXoxINseqi V5U91ADhDfMn/+/RjDi/CquwgjNvzg8FEdA2B1EzVcF6fphABc04NnKlbW2f7+oOR8TZYK xdMvckUMD0BTO5SY7JAHXZ9mLLQCtPQrqUNDFBIgUIfQsvHFsTougek1/+bjuAPk8mIpoq 2vSiMs9K5/vY76GHYMFpbCT2dGBq5vql77nVFXXu1zrr2pkDh3Xt+fIaPlNNnwvHRpmynU Xe06lTaX8ToZL0a8juvXsOsFo7KPNPySyAfW38aB6oN87g/DCgItryn0KZIKbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620490885; a=rsa-sha256; cv=none; b=Y1wNvUhdNrOoPKdvuW7fHOiYcgvEEGHVpD+SFpIQyR4ddgx6UiKRAADNsIj6+7YVNlm1q7 8iH8np2oiIBGSMRQBgfDfeCPIMJuuS1IHoGDXPdCBPJ3ACFWvoeSHhTpOjXxOO9QSxwZYF s1zWbIk+N9aj9e84+1P9AJ5a9DRcM2q8S+GEs0JJ62JAINKBLaAlpB/f/nUR0XjOfAXESb 9m8xL8oS9fpr8gdkgPgQzn8mKbqhH3JR5+MW+ENfqdGnKuSuAxTrZlb8Mbx8xE6rDci3jP DW7MBH5d6hjjZJxmms31Rojn7qT3M1tUSUPgU0LCFmQIJM/vZsKsskmDo8HCsA== ARC-Authentication-Results: i=1; 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-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: 2F33C1A39F X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: zJkf91cNgBSt * gnu/packages/python-xyz.scm (python-pythonanywhere): New variable. --- gnu/packages/python-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index de7c303b6c..083d26c212 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,52 @@ 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") #t)) + (replace 'check + (lambda _ + (invoke "pytest" "-m" "not slowtest") #t))))) + (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