guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 022d2731c4fd44ff9ab102402caee735f045a285
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 d15780f67e..fb2f1957a5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2082,6 +2082,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")