summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorEvgeny Pisemsky <mail@pisemsky.site>2025-01-27 02:07:27 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-02-04 12:55:55 +0000
commitac9fc0db767f4ee49acfcc6a0c1b9d1bc6694fe6 (patch)
treee26a2f173d60ca66e076de9dabe39cb67a6ab138 /gnu/packages/python-xyz.scm
parent57b41af25cbd83a5c3c84ef2378e001be4a9da10 (diff)
gnu: Add python-pypubsub.
* gnu/packages/python-xyz.scm (python-pypubsub): New variable. Change-Id: I543d8a6297c374e55809a755a902250ca4d270d9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm40
1 files changed, 38 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f2139413a0d..26a1f3adc30 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -116,7 +116,7 @@
116;;; Copyright © 2021 Greg Hogan <code@greghogan.com> 116;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
117;;; Copyright © 2022, 2023 John Kehayias <john.kehayias@protonmail.com> 117;;; Copyright © 2022, 2023 John Kehayias <john.kehayias@protonmail.com>
118;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> 118;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
119;;; Copyright © 2022 Evgeny Pisemsky <mail@pisemsky.site> 119;;; Copyright © 2022, 2024, 2025 Evgeny Pisemsky <mail@pisemsky.site>
120;;; Copyright © 2022 drozdov <drozdov@portalenergy.tech> 120;;; Copyright © 2022 drozdov <drozdov@portalenergy.tech>
121;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io> 121;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
122;;; Copyright © 2022, 2023 Wamm K. D. <jaft.r@outlook.com> 122;;; Copyright © 2022, 2023 Wamm K. D. <jaft.r@outlook.com>
@@ -157,7 +157,6 @@
157;;; Copyright © 2024 Rick Huijzer <ikbenrickhuyzer@gmail.com> 157;;; Copyright © 2024 Rick Huijzer <ikbenrickhuyzer@gmail.com>
158;;; Copyright © 2024 Peter Kannewitz <petre-vps@posteo.net> 158;;; Copyright © 2024 Peter Kannewitz <petre-vps@posteo.net>
159;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org> 159;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
160;;; Copyright © 2024, 2025 Evgeny Pisemsky <mail@pisemsky.site>
161;;; Copyright © 2024 Markku Korkeala <markku.korkeala@iki.fi> 160;;; Copyright © 2024 Markku Korkeala <markku.korkeala@iki.fi>
162;;; Copyright © 2025 Jordan Moore <lockbox@struct.foo> 161;;; Copyright © 2025 Jordan Moore <lockbox@struct.foo>
163;;; Copyright © 2025 Dariqq <dariqq@posteo.net> 162;;; Copyright © 2025 Dariqq <dariqq@posteo.net>
@@ -38360,6 +38359,43 @@ Additionally, it includes a number of subclasses useful for implementing async
38360and threaded programming in python, such as async/await.") 38359and threaded programming in python, such as async/await.")
38361 (license license:expat))) 38360 (license license:expat)))
38362 38361
38362(define-public python-pypubsub
38363 (package
38364 (name "python-pypubsub")
38365 (version "4.0.3")
38366 (source
38367 (origin
38368 (method git-fetch)
38369 (uri (git-reference
38370 (url "https://github.com/schollii/pypubsub")
38371 (commit (string-append "v" version))))
38372 (file-name (git-file-name name version))
38373 (sha256
38374 (base32 "02j74w28wzmdvxkk8i561ywjgizjifq3hgcl080yj0rvkd3wivlb"))))
38375 (build-system pyproject-build-system)
38376 (arguments
38377 (list
38378 #:phases
38379 #~(modify-phases %standard-phases
38380 (replace 'check
38381 (lambda* (#:key tests? #:allow-other-keys)
38382 (when tests?
38383 (with-directory-excursion "tests/suite"
38384 (invoke "py.test"))))))))
38385 (native-inputs
38386 (list python-pytest
38387 python-setuptools
38388 python-wheel))
38389 (home-page "https://github.com/schollii/pypubsub")
38390 (synopsis "Python publish-subcribe library")
38391 (description
38392 "This library provides a publish-subscribe API to facilitate event-based
38393or message-based architecture in a single-process application. It is centered
38394on the notion of a topic - senders publish messages of a given topic, and
38395listeners subscribe to messages of a given topic, all inside the same
38396process.")
38397 (license license:bsd-2)))
38398
38363(define-public python-queuelib 38399(define-public python-queuelib
38364 (package 38400 (package
38365 (name "python-queuelib") 38401 (name "python-queuelib")