From de0c4910c80a5216efde692a36c8ce1039cd8faa Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 18 Oct 2025 11:32:40 +0100 Subject: [PATCH] gnu: Add python-pythonanywhere-core. * gnu/packages/python-xyz.scm (python-pythonanywhere-core): New variable. Change-Id: Ia29b0a9faaa65c906c16bd3e28d5caa9b0f69965 --- gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4c872e40f247adf210d9f984c2d429c0115f7bef..4310a8d7311c20b459fa108450d444aaaa459e95 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19385,6 +19385,44 @@ tasks and students. It includes single-command deployment for the Django Girls tutorial.") (license license:expat))) +(define-public python-pythonanywhere-core + (package + (name "python-pythonanywhere-core") + (version "0.2.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pythonanywhere/pythonanywhere-core") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1p9zlq3is0jvbni9ydiv6f0fw89lm44hkgbj6nari2a3gb3qw856")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs + (list python-poetry-core + python-pytest + python-pytest-mock + python-responses)) + (propagated-inputs + (list python-dateutil + python-requests + python-snakesay + python-typing-extensions)) + (home-page "https://github.com/pythonanywhere/pythonanywhere-core") + (synopsis "API wrapper for PythonAnywhere services") + (description + "This package provides an API wrapper for programmatic management of +@code{PythonAnywhere} services.") + (license license:expat))) + (define-public python-pythondialog (package (name "python-pythondialog")