GNU bug report logs - #75881
[PATCH] gnu: Add python-pypubsub.

Previous Next

Package: guix-patches;

Reported by: Evgeny Pisemsky <mail <at> pisemsky.site>

Date: Sun, 26 Jan 2025 23:10:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75881 in the body.
You can then email your comments to 75881 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#75881; Package guix-patches. (Sun, 26 Jan 2025 23:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Evgeny Pisemsky <mail <at> pisemsky.site>:
New bug report received and forwarded. Copy sent to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org. (Sun, 26 Jan 2025 23:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Evgeny Pisemsky <mail <at> pisemsky.site>
To: guix-patches <at> gnu.org
Cc: Evgeny Pisemsky <mail <at> pisemsky.site>
Subject: [PATCH] gnu: Add python-pypubsub.
Date: Mon, 27 Jan 2025 02:07:27 +0300
* gnu/packages/python-xyz.scm (python-pypubsub): New variable.

Change-Id: I543d8a6297c374e55809a755a902250ca4d270d9
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7fcf9c3ba8..ca1c39b697 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -116,7 +116,7 @@
 ;;; Copyright © 2021 Greg Hogan <code <at> greghogan.com>
 ;;; Copyright © 2022, 2023 John Kehayias <john.kehayias <at> protonmail.com>
 ;;; Copyright © 2022 Aleksandr Vityazev <avityazev <at> posteo.org>
-;;; Copyright © 2022 Evgeny Pisemsky <mail <at> pisemsky.site>
+;;; Copyright © 2022, 2024, 2025 Evgeny Pisemsky <mail <at> pisemsky.site>
 ;;; Copyright © 2022 drozdov <drozdov <at> portalenergy.tech>
 ;;; Copyright © 2022 Peter Polidoro <peter <at> polidoro.io>
 ;;; Copyright © 2022, 2023 Wamm K. D. <jaft.r <at> outlook.com>
@@ -157,7 +157,6 @@
 ;;; Copyright © 2024 Rick Huijzer <ikbenrickhuyzer <at> gmail.com>
 ;;; Copyright © 2024 Peter Kannewitz <petre-vps <at> posteo.net>
 ;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us <at> ieee.org>
-;;; Copyright © 2024, 2025 Evgeny Pisemsky <mail <at> pisemsky.site>
 ;;; Copyright © 2024 Markku Korkeala <markku.korkeala <at> iki.fi>
 ;;; Copyright © 2025 Jordan Moore <lockbox <at> struct.foo>
 ;;; Copyright © 2025 Dariqq <dariqq <at> posteo.net>
@@ -38277,6 +38276,39 @@ (define-public python-pyee
 and threaded programming in python, such as async/await.")
     (license license:expat)))
 
+(define-public python-pypubsub
+  (package
+    (name "python-pypubsub")
+    (version "4.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/schollii/pypubsub")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "02j74w28wzmdvxkk8i561ywjgizjifq3hgcl080yj0rvkd3wivlb"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (replace 'check
+                     (lambda* (#:key tests? #:allow-other-keys)
+                       (when tests?
+                         (with-directory-excursion "tests/suite"
+                           (invoke "py.test"))))))))
+    (native-inputs (list python-pytest python-setuptools python-wheel))
+    (home-page "https://github.com/schollii/pypubsub")
+    (synopsis "Python publish-subcribe library")
+    (description
+     "This library provides a publish-subscribe API to facilitate
+event-based or message-based architecture in a single-process
+application.  It is centered on the notion of a topic - senders
+publish messages of a given topic, and listeners subscribe to messages
+of a given topic, all inside the same process.")
+    (license license:bsd-2)))
+
 (define-public python-queuelib
   (package
     (name "python-queuelib")

base-commit: 2ef62487045e8c10870f9105b841d66838476c37
-- 
2.47.1





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Tue, 04 Feb 2025 13:00:02 GMT) Full text and rfc822 format available.

Notification sent to Evgeny Pisemsky <mail <at> pisemsky.site>:
bug acknowledged by developer. (Tue, 04 Feb 2025 13:00:02 GMT) Full text and rfc822 format available.

Message #10 received at 75881-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75881-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-pypubsub.
Date: Tue, 04 Feb 2025 12:58:58 +0000
[Message part 1 (text/plain, inline)]
Hi

Thank you for the patch.

I've applied some adjustments to indentation:
--8<---------------cut here---------------start------------->8---
modified   gnu/packages/python-xyz.scm
@@ -38375,21 +38375,25 @@ (define-public python-pypubsub
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:phases #~(modify-phases %standard-phases
-                   (replace 'check
-                     (lambda* (#:key tests? #:allow-other-keys)
-                       (when tests?
-                         (with-directory-excursion "tests/suite"
-                           (invoke "py.test"))))))))
-    (native-inputs (list python-pytest python-setuptools python-wheel))
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (with-directory-excursion "tests/suite"
+                  (invoke "py.test"))))))))
+    (native-inputs
+     (list python-pytest
+           python-setuptools
+           python-wheel))
     (home-page "https://github.com/schollii/pypubsub")
     (synopsis "Python publish-subcribe library")
     (description
-     "This library provides a publish-subscribe API to facilitate
-event-based or message-based architecture in a single-process
-application.  It is centered on the notion of a topic - senders
-publish messages of a given topic, and listeners subscribe to messages
-of a given topic, all inside the same process.")
+     "This library provides a publish-subscribe API to facilitate event-based
+or message-based architecture in a single-process application.  It is centered
+on the notion of a topic - senders publish messages of a given topic, and
+listeners subscribe to messages of a given topic, all inside the same
+process.")
     (license license:bsd-2)))
 
 (define-public python-queuelib
--8<---------------cut here---------------end--------------->8---

Pushed to master as

ac9fc0db767 * master gnu: Add python-pypubsub.

Closing as competed.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Mar 2025 12:24:18 GMT) Full text and rfc822 format available.

This bug report was last modified 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.