guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 3d505085b0d95cd62b76083bf25cf70421808b71
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Wed Mar 4 20:51:09 2026 +0100

    gnu: Add python-pyasyncore.
    
    * gnu/packages/python-xyz.scm (python-pyasyncore): New variable.
    
    Change-Id: I4fcfe9c22062223ba4a4d6341211529d955c4a0f
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c72948aae..a4d17ce5ce 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2083,6 +2083,31 @@ cache directory, to avoid modifying the host's 
environment, and further
 activated using a set of environment variables.")
     (license (list license:expat license:asl2.0))))
 
+(define-public python-pyasyncore
+  (package
+    (name "python-pyasyncore")
+    (version "1.0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/simonrob/pyasyncore";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11fk83w9dwnwhg5z1524w6h021yvn0aqn2hsf929yzyk0rmsr6c2"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest python-setuptools))
+    (home-page "https://github.com/simonrob/pyasyncore";)
+    (synopsis "Make asyncore available for Python 3.12 onwards")
+    (description
+     "This package contains the
+@url{https://docs.python.org/3.11/library/asyncore.html, asyncore} module as
+found in Python versions prior to 3.12. It is provided so that existing code
+relying on @code{import asyncore} is able to continue being used without
+significant refactoring.")
+    (license license:psfl)))
+
 (define-public python-pygls
   (package
     (name "python-pygls")

Reply via email to