guix_mirror_bot pushed a commit to branch master
in repository guix.

commit de0c4910c80a5216efde692a36c8ce1039cd8faa
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Oct 18 11:32:40 2025 +0100

    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 4c872e40f2..4310a8d731 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")

Reply via email to